Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Global Font settings

From: ammon:addept:ws at: 21-Feb-2004 0:25

I think that the best way to do something like this may be to set it in the user prefs file that would enable you to define the basic settings that the styleset is built on. Another option would be to be able to regenerate the styleset on the fly which would mean having the styleset in its native, un-STYLIZEd form. If you just want to apply global settings to ALL styles then the code I already gave you is really simple to understand and easy to use... The colors (on some styles) are controlled by statements within the INIT Block which grabs the colors from rebol/view/vid/vid-colors. Perhaps font should have a similar feature? In fact, I am sure that it should and really this is something that anyone could create. I think I will mention it on the View world... Enjoy!! ~~Ammon ;~>