Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
arana
Newbie


Joined: 06 Feb 2009
Posts: 2

PostPosted: Sun Aug 29, 2010 8:22 am   

gauge font color
 
how can i change the color of text of a gauge button?
i see some propeerties are editable only using the GUI and not by code, but i dont see any way of changing the font color
sometimes it is hard to read depending on the gauge bar color
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4690
Location: Pensacola, FL, USA

PostPosted: Sun Aug 29, 2010 9:46 am   
 
have you dried using %ansi(red) or <color red>MXP</color>?
_________________
Discord: Shalimarwildcat
Reply with quote
hogarius
Adept


Joined: 29 Jan 2003
Posts: 221
Location: islands.genesismuds.org

PostPosted: Sun Aug 29, 2010 12:13 pm   
 
Using the GUI, bring up the gauge in the Package Editor, and click on the "Options" tab at the bottom of the screen. You should see a section on the right side that says Button Options. The middle button, with the letter "A", sets the color for the button text.

You can also bring up the gauge in the Package Editor, click on the "XML" tab at the bottom of the screen, and edit the "textcolor=" option.

I'm not sure how to edit the color in a script, however. Confused
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Aug 29, 2010 4:36 pm   
 
Wrong forum, Hogarius. ;)

You could perhaps tinker with %btncol(), but I don't recall if that function has a foreground/background color distinction like in CMud.
_________________
EDIT: I didn't like my old signature
Reply with quote
hogarius
Adept


Joined: 29 Jan 2003
Posts: 221
Location: islands.genesismuds.org

PostPosted: Sun Aug 29, 2010 5:11 pm   
 
Ack! Embarassed
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net