| View previous topic :: View next topic |
| Author |
Message |
juanamores Master
Joined: 15 Mar 2015 Posts: 317
|
Posted: Mon Aug 31, 2015 4:51 pm Post subject: BogusTrivia: Colors of Random Lines |
|
|
# random ad lines. one ad per line. as many as you want (no limit) #
## Random Lines Below ##
How do I change the color is white with black background for white with red background ?
Only random lines, otherwise I like it like this .
Thanks _________________ If you do not understand my ideas is because I can not think in English, I help me with Google Translate. I only speak Spanish. Bear with me. Thanks  |
|
| Back to top |
|
 |
SpiKe^^ Owner

Joined: 12 May 2006 Posts: 792 Location: Tennessee, USA
|
Posted: Mon Aug 31, 2015 11:48 pm Post subject: |
|
|
I will help you hand edit the script to slightly change the colors for a preset color theme.
What color theme number are you currently using? _________________ SpiKe^^
Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
. |
|
| Back to top |
|
 |
juanamores Master
Joined: 15 Mar 2015 Posts: 317
|
Posted: Wed Sep 02, 2015 9:43 pm Post subject: |
|
|
| SpiKe^^ wrote: | I will help you hand edit the script to slightly change the colors for a preset color theme.
What color theme number are you currently using? |
default theme colors, white on black background
I desire white on red background, only for random lines. _________________ If you do not understand my ideas is because I can not think in English, I help me with Google Translate. I only speak Spanish. Bear with me. Thanks  |
|
| Back to top |
|
 |
SpiKe^^ Owner

Joined: 12 May 2006 Posts: 792 Location: Tennessee, USA
|
Posted: Thu Sep 03, 2015 6:39 pm Post subject: |
|
|
You can edit any and all of the preset color themes in the proc TDoClr
The default theme is the last one in the if/elseif/else conditional statement,
under the else-clause
Search for this line in the t-2.tcl file... | Code: | | -tu1 \003 -tu2 \00310 -randad \00300,01 | ... and change the colors code for randad to be white on red background (\00300,04), like this... | Code: | | -tu1 \003 -tu2 \00310 -randad \00300,04 |
Save & rehash, and there ya go. _________________ SpiKe^^
Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
. |
|
| Back to top |
|
 |
juanamores Master
Joined: 15 Mar 2015 Posts: 317
|
Posted: Thu Sep 03, 2015 9:12 pm Post subject: |
|
|
SpiKe^^ excellent , worked well , thanks  _________________ If you do not understand my ideas is because I can not think in English, I help me with Google Translate. I only speak Spanish. Bear with me. Thanks  |
|
| Back to top |
|
 |
|