|
Leitia Adept
Joined: 04 May 2007 Posts: 292 Location: Boston
|
Posted: Tue Mar 17, 2009 3:22 pm
%pref() def color values |
I am considering other people's changes to non ansi/colorname values for the main window. I found a lighter dark color to be easier to read, but one darker then the options and off towards olives or slategray.
My question, in looking through prefs I found these:
DefColor
MessageColor
CommandColor
HighlightColor
But don't know what the key for the main window is after changes to hex?
Does anyone know?
Thanks |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Mar 17, 2009 5:00 pm |
Those colors are not actually RGB values, but are internal attribute codes. In general, messing with %prefs isn't a good idea, which is why it isn't documented well. The internal structure of prefs and their values can change in any future version of CMUD. So it should only be used as a last resort vs using the GUI interface to the preferences. And XML based import/export of preferences is planned for the future.
|
|
|
|
Leitia Adept
Joined: 04 May 2007 Posts: 292 Location: Boston
|
Posted: Tue Mar 17, 2009 7:04 pm |
Cool, that answered more then I had asked for, but had thought a lot about.
I was able to get the RGB values from the colorpicker and was using MXP.
I really only wanted to call that displayed value, to use so informational messages from my scripts were not glaring contrast inside bars. My solution was just to create my own color keys in a pref db and used if statements, (god you must be busy, this rambled 100 more words), the db is more then adequate.
Thanks again. |
|
|
|
|
|
|
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
|
|