EasyGUI  v0.1
Platform independent GUI Library

List of default GUI colors for fast development. More...

Macros

#define GUI_COLOR_BLUE   0xFF0000FF
 
#define GUI_COLOR_GREEN   0xFF00FF00
 
#define GUI_COLOR_RED   0xFFFF0000
 
#define GUI_COLOR_CYAN   0xFF00FFFF
 
#define GUI_COLOR_MAGENTA   0xFFFF00FF
 
#define GUI_COLOR_YELLOW   0xFFFFFF00
 
#define GUI_COLOR_LIGHTBLUE   0xFF8080FF
 
#define GUI_COLOR_LIGHTGREEN   0xFF80FF80
 
#define GUI_COLOR_LIGHTRED   0xFFFF8080
 
#define GUI_COLOR_LIGHTCYAN   0xFF80FFFF
 
#define GUI_COLOR_LIGHTMAGENTA   0xFFFF80FF
 
#define GUI_COLOR_LIGHTYELLOW   0xFFFFFF80
 
#define GUI_COLOR_DARKBLUE   0xFF000080
 
#define GUI_COLOR_DARKGREEN   0xFF008000
 
#define GUI_COLOR_DARKRED   0xFF800000
 
#define GUI_COLOR_DARKCYAN   0xFF008080
 
#define GUI_COLOR_DARKMAGENTA   0xFF800080
 
#define GUI_COLOR_DARKYELLOW   0xFF808000
 
#define GUI_COLOR_WHITE   0xFFFFFFFF
 
#define GUI_COLOR_LIGHTGRAY   0xFFD3D3D3
 
#define GUI_COLOR_GRAY   0xFF808080
 
#define GUI_COLOR_DARKGRAY   0xFF404040
 
#define GUI_COLOR_BLACK   0xFF000000
 
#define GUI_COLOR_BROWN   0xFFA52A2A
 
#define GUI_COLOR_ORANGE   0xFFFFA500
 
#define GUI_COLOR_TRANS   0x00000000
 
#define GUI_COLOR_ALPHA_0   0x00000000
 
#define GUI_COLOR_ALPHA_5   0x0C000000
 
#define GUI_COLOR_ALPHA_10   0x19000000
 
#define GUI_COLOR_ALPHA_15   0x26000000
 
#define GUI_COLOR_ALPHA_20   0x33000000
 
#define GUI_COLOR_ALPHA_25   0x3F000000
 
#define GUI_COLOR_ALPHA_30   0x4C000000
 
#define GUI_COLOR_ALPHA_35   0x59000000
 
#define GUI_COLOR_ALPHA_40   0x66000000
 
#define GUI_COLOR_ALPHA_45   0x72000000
 
#define GUI_COLOR_ALPHA_50   0x7F000000
 
#define GUI_COLOR_ALPHA_55   0x7C000000
 
#define GUI_COLOR_ALPHA_60   0x99000000
 
#define GUI_COLOR_ALPHA_65   0xA5000000
 
#define GUI_COLOR_ALPHA_70   0xB2000000
 
#define GUI_COLOR_ALPHA_75   0xBF000000
 
#define GUI_COLOR_ALPHA_80   0xCC000000
 
#define GUI_COLOR_ALPHA_85   0xD8000000
 
#define GUI_COLOR_ALPHA_90   0xE5000000
 
#define GUI_COLOR_ALPHA_95   0xF2000000
 
#define GUI_COLOR_ALPHA_100   0xFF000000
 
#define GUI_COLOR_WIN_DARKGRAY   0xFF555555
 
#define GUI_COLOR_WIN_MIDDLEGRAY   0xFF848484
 
#define GUI_COLOR_WIN_LIGHTGRAY   0xFFC6C6C6
 
#define GUI_COLOR_WIN_BLUE   0xFF5590B7
 
#define GUI_COLOR_WIN_RED   0xFFD14752
 
#define GUI_COLOR_WIN_BG   GUI_COLOR_WHITE
 
#define GUI_COLOR_WIN_TEXT   GUI_COLOR_BLACK
 
#define GUI_COLOR_WIN_TEXT_TITLE   GUI_COLOR_BLACK
 
#define GUI_COLOR_WIN_SEL_FOC   GUI_COLOR_WHITE
 
#define GUI_COLOR_WIN_SEL_NOFOC   GUI_COLOR_WHITE
 
#define GUI_COLOR_WIN_SEL_FOC_BG   GUI_COLOR_BLUE
 
#define GUI_COLOR_WIN_SEL_NOFOC_BG   GUI_COLOR_WIN_MIDDLEGRAY
 
#define GUI_COLOR_ALPHA(c, a)
 Macro for combining default color with transparent value. More...
 

Detailed Description

List of default GUI colors for fast development.

There are only predefined GUI colors which are most used. For other colors, user can simply use any other RGB combination for any colors of 16M possible values

Macro Definition Documentation

#define GUI_COLOR_ALPHA (   c,
 
)

Macro for combining default color with transparent value.

Parameters
[in]cColors in ARGB 8888 format
[in]aAlpha between 0 and 255. Use prefedined alpha macros
Return values
ARGB8888color with mixed alpha channel
#define GUI_COLOR_ALPHA_0   0x00000000

0% alpha. Color is transparent

#define GUI_COLOR_ALPHA_10   0x19000000

10% alpha of selected color

#define GUI_COLOR_ALPHA_100   0xFF000000

100% alpha of selected color

#define GUI_COLOR_ALPHA_15   0x26000000

15% alpha of selected color

#define GUI_COLOR_ALPHA_20   0x33000000

20% alpha of selected color

#define GUI_COLOR_ALPHA_25   0x3F000000

25% alpha of selected color

#define GUI_COLOR_ALPHA_30   0x4C000000

30% alpha of selected color

#define GUI_COLOR_ALPHA_35   0x59000000

35% alpha of selected color

#define GUI_COLOR_ALPHA_40   0x66000000

40% alpha of selected color

#define GUI_COLOR_ALPHA_45   0x72000000

45% alpha of selected color

#define GUI_COLOR_ALPHA_5   0x0C000000

5% alpha of selected color

#define GUI_COLOR_ALPHA_50   0x7F000000

50% alpha of selected color

#define GUI_COLOR_ALPHA_55   0x7C000000

55% alpha of selected color

#define GUI_COLOR_ALPHA_60   0x99000000

60% alpha of selected color

#define GUI_COLOR_ALPHA_65   0xA5000000

65% alpha of selected color

#define GUI_COLOR_ALPHA_70   0xB2000000

70% alpha of selected color

#define GUI_COLOR_ALPHA_75   0xBF000000

75% alpha of selected color

#define GUI_COLOR_ALPHA_80   0xCC000000

80% alpha of selected color

#define GUI_COLOR_ALPHA_85   0xD8000000

85% alpha of selected color

#define GUI_COLOR_ALPHA_90   0xE5000000

90% alpha of selected color

#define GUI_COLOR_ALPHA_95   0xF2000000

95% alpha of selected color

#define GUI_COLOR_BLACK   0xFF000000

ARGB8888 black color with 100% alpha channel

#define GUI_COLOR_BLUE   0xFF0000FF

ARGB8888 red color with 100% alpha channel

#define GUI_COLOR_BROWN   0xFFA52A2A

ARGB8888 brown color with 100% alpha channel

#define GUI_COLOR_CYAN   0xFF00FFFF

ARGB8888 cyan color with 100% alpha channel

#define GUI_COLOR_DARKBLUE   0xFF000080

ARGB8888 dark blue color with 100% alpha channel

#define GUI_COLOR_DARKCYAN   0xFF008080

ARGB8888 dark cyan color with 100% alpha channel

#define GUI_COLOR_DARKGRAY   0xFF404040

ARGB8888 dark gray color with 100% alpha channel

#define GUI_COLOR_DARKGREEN   0xFF008000

ARGB8888 dark green color with 100% alpha channel

#define GUI_COLOR_DARKMAGENTA   0xFF800080

ARGB8888 dark magenta color with 100% alpha channel

#define GUI_COLOR_DARKRED   0xFF800000

ARGB8888 dark red color with 100% alpha channel

#define GUI_COLOR_DARKYELLOW   0xFF808000

ARGB8888 dark yellow color with 100% alpha channel

#define GUI_COLOR_GRAY   0xFF808080

ARGB8888 gray color with 100% alpha channel

#define GUI_COLOR_GREEN   0xFF00FF00

ARGB8888 green color with 100% alpha channel

#define GUI_COLOR_LIGHTBLUE   0xFF8080FF

ARGB8888 light blue color with 100% alpha channel

#define GUI_COLOR_LIGHTCYAN   0xFF80FFFF

ARGB8888 light cyan color with 100% alpha channel

#define GUI_COLOR_LIGHTGRAY   0xFFD3D3D3

ARGB8888 light gray color with 100% alpha channel

#define GUI_COLOR_LIGHTGREEN   0xFF80FF80

ARGB8888 light green color with 100% alpha channel

#define GUI_COLOR_LIGHTMAGENTA   0xFFFF80FF

ARGB8888 light magenta color with 100% alpha channel

#define GUI_COLOR_LIGHTRED   0xFFFF8080

ARGB8888 light red color with 100% alpha channel

#define GUI_COLOR_LIGHTYELLOW   0xFFFFFF80

ARGB8888 light yellow color with 100% alpha channel

#define GUI_COLOR_MAGENTA   0xFFFF00FF

ARGB8888 magenta color with 100% alpha channel

#define GUI_COLOR_ORANGE   0xFFFFA500

ARGB8888 orange color with 100% alpha channel

#define GUI_COLOR_RED   0xFFFF0000

ARGB8888 red color with 100% alpha channel

#define GUI_COLOR_TRANS   0x00000000

Transparent color

#define GUI_COLOR_WHITE   0xFFFFFFFF

ARGB8888 white color with 100% alpha channel

#define GUI_COLOR_WIN_BG   GUI_COLOR_WHITE

Default widget background color

#define GUI_COLOR_WIN_BLUE   0xFF5590B7

Windows blue color

#define GUI_COLOR_WIN_DARKGRAY   0xFF555555

Windows dark gray color

#define GUI_COLOR_WIN_LIGHTGRAY   0xFFC6C6C6

Windows light gray color

#define GUI_COLOR_WIN_MIDDLEGRAY   0xFF848484

Windows middle gray color

#define GUI_COLOR_WIN_RED   0xFFD14752

Windows red color

#define GUI_COLOR_WIN_SEL_FOC   GUI_COLOR_WHITE

Text color of selected item when widget in focus

#define GUI_COLOR_WIN_SEL_FOC_BG   GUI_COLOR_BLUE

Background color of selected item when widget in focus

#define GUI_COLOR_WIN_SEL_NOFOC   GUI_COLOR_WHITE

Text color of selected item when widget not in focus

#define GUI_COLOR_WIN_SEL_NOFOC_BG   GUI_COLOR_WIN_MIDDLEGRAY

Background color of selected item when widget not in focus

#define GUI_COLOR_WIN_TEXT   GUI_COLOR_BLACK

Default text color

#define GUI_COLOR_WIN_TEXT_TITLE   GUI_COLOR_BLACK

Default text color for titles/labels

#define GUI_COLOR_YELLOW   0xFFFFFF00

ARGB8888 yellow color with 100% alpha channel