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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Gael
Beginner


Joined: 18 Sep 2006
Posts: 29

PostPosted: Fri Oct 02, 2009 7:05 pm   

How can I change the font, color, background of #WINDOWs?
 
The options dialog lets me set the font, foreground color, background color, etc of the input, status, and session windows. But how do I change those for a window created with the #WINDOW command? I'm probably missing something obvious here....

thanks!
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Fri Oct 02, 2009 8:10 pm   
 
It depends on exactly what you're trying to accomplish. Do bear in mind though that the several of the options available with the windows we implemented or updated after the #WINDOW command itself.

That said If you are just trying to change the output of an occasional line or two using #MXP and #COLOR could be the way to go. Or even using #SHOW with HTML tags.

Alternatively you can do this programmatically using Lua Scripting or %pref (recommended only for advanced users). The latest Beta has the #STYLE command that allows you to define and set a particular style to be used for a window.
_________________
Asati di tempari!
Reply with quote
Gael
Beginner


Joined: 18 Sep 2006
Posts: 29

PostPosted: Sat Oct 03, 2009 2:47 am   
 
Thanks for the response.

I can easily modify the color of text, etc on a case-by-case basis. What I'm after in this case is making the default window font, font color, and back color match the main session window.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Oct 05, 2009 3:39 pm   
 
You can also click on the Window you wish to change, then click the Prefs button in the toolbar to open the Preferences. Then go to the Styles page and change the default window font shown there. Just make sure the title of the Preferences window says "Preferences for WindowName" where WindowName is the name of the window that you clicked on.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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