std/graphcst.e colors in OSX

new topic     » topic index » view thread      » older message » newer message
- COLOR values -- for characters and pixels 
public constant 
        --** in graphics modes this is "transparent" 
        BLACK = 0, 
        GREEN = 2, 
        MAGENTA = 5, 
        WHITE = 7, 
        GRAY  = 8, 
        BRIGHT_GREEN = 10, 
        BRIGHT_MAGENTA = 13, 
        BRIGHT_WHITE = 15 
 
public integer BLUE, CYAN, RED, BROWN, BRIGHT_BLUE, BRIGHT_CYAN, 
        BRIGHT_RED, YELLOW 
 
ifdef UNIX then 
        BLUE        =  4 
        CYAN        =  6 
        RED         =  1 
        BROWN       =  3 
        BRIGHT_BLUE = 12 
        BRIGHT_CYAN = 14 
        BRIGHT_RED  =  9 
        YELLOW      = 11 
elsedef 
        BLUE        =  1 
        CYAN        =  3 
        RED         =  4 
        BROWN       =  6 
        BRIGHT_BLUE =  9 
        BRIGHT_CYAN = 11 
        BRIGHT_RED  = 12 
        YELLOW      = 14 
end ifdef 

Some of these constants are broken on OSX (xterm or native Terminal).

CYAN and YELLOW RED and BLUE B.RED and B.BLUE

need to be switched. They don't work as advertised. ;) The maintainer of this library should add another "ifdef" to cover OSX. I can help. Has anybody resolved this issue yet? Where's the best place for me to amend these constants? In /std/graphcst.e or in my own application code? TIA... duke

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu