Changes between Initial Version and Version 3 of Ticket #26


Ignore:
Timestamp:
01/13/08 04:21:12 (17 years ago)
Author:
Gary
Comment:

Replying to Saunders:

Where do you draw the line though? Blue, sure. Dark Blue, Light Blue? Fuschia? Lawn Green? Lavendar Blush? Medium Aqua Marine? Light Golden Rod Yellow? There are a lot of colours out there, even if you go by the W3C's HTML colour names list. So which ones should get added? I prefer the idea of an include personally, with colours defined like $COLOR_BLUE, etc.

Hope I was allowed to comment here...

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26 – Description

    initial v3  
    1010
    1111Thanks!
     12
     13Look in Constants.au3 you'll find some of the colors already defined:
     14
     15; Colour Constants RGB Hex
     16Global Const $COLOR_AQUA = 0x00FFFF
     17Global Const $COLOR_BLACK = 0x000000
     18Global Const $COLOR_BLUE = 0x0000FF
     19Global Const $COLOR_CREAM = 0xFFFBF0
     20Global Const $COLOR_FUCHSIA = 0xFF00FF
     21Global Const $COLOR_GRAY = 0x808080
     22Global Const $COLOR_GREEN = 0x008000
     23Global Const $COLOR_LIME = 0x00FF00
     24;~ Global Const $COLOR_MAROON                       = 0x800000
     25Global Const $COLOR_MAROON = 0x8B1C62
     26Global Const $COLOR_MEDBLUE = 0x0002C4
     27Global Const $COLOR_MEDGRAY = 0xA0A0A4
     28Global Const $COLOR_MONEYGREEN = 0xC0DCC0
     29Global Const $COLOR_NAVY = 0x000080
     30Global Const $COLOR_OLIVE = 0x808000
     31Global Const $COLOR_PURPLE = 0x800080
     32Global Const $COLOR_RED = 0xFF0000
     33Global Const $COLOR_SILVER = 0xC0C0C0
     34Global Const $COLOR_SKYBLUE = 0xA6CAF0
     35Global Const $COLOR_TEAL = 0x008080
     36Global Const $COLOR_WHITE = 0xFFFFFF
     37Global Const $COLOR_YELLOW = 0xFFFF00
     38
     39Global Const $CLR_NONE = 0xFFFFFFFF
     40
     41; Color Constants BGR Hex
     42Global Const $CLR_AQUA = 0xFFFF00
     43Global Const $CLR_BLACK = 0x000000
     44Global Const $CLR_BLUE = 0xFF0000
     45Global Const $CLR_CREAM = 0xF0FBFF
     46Global Const $CLR_DEFAULT = 0xFF000000
     47Global Const $CLR_FUCHSIA = 0xFF00FF
     48Global Const $CLR_GRAY = 0x808080
     49Global Const $CLR_GREEN = 0x008000
     50Global Const $CLR_LIME = 0x00FF00
     51;~ Global Const $CLR_MAROON                         = 0x000080
     52Global Const $CLR_MAROON = 0x621C8B
     53Global Const $CLR_MEDBLUE = 0xC40200
     54Global Const $CLR_MEDGRAY = 0xA4A0A0
     55Global Const $CLR_MONEYGREEN = 0xC0DCC0
     56Global Const $CLR_NAVY = 0x800000
     57Global Const $CLR_OLIVE = 0x008080
     58Global Const $CLR_PURPLE = 0x800080
     59Global Const $CLR_RED = 0x0000FF
     60Global Const $CLR_SILVER = 0xC0C0C0
     61Global Const $CLR_SKYBLUE = 0xF0CAA6
     62Global Const $CLR_TEAL = 0x808000
     63Global Const $CLR_WHITE = 0xFFFFFF
     64Global Const $CLR_YELLOW = 0x00FFFF
     65
     66; Color Dialog constants
     67Global Const $CC_ANYCOLOR = 0x100
     68Global Const $CC_FULLOPEN = 0x2
     69Global Const $CC_RGBINIT = 0x1