附录 A - GUIX 颜色定义

预定义的颜色值

颜色 “值”
GX_COLOR_BLACK 0xff000000
GX_COLOR_RED 0xffb80000
GX_COLOR_GREEN 0xff00bc00
GX_COLOR_BROWN 0xffb8bc00
GX_COLOR_BLUE 0xff0000b8
GX_COLOR_MAGENTA 0xffb800b8
GX_COLOR_CYAN 0xff00bcb8
GX_COLOR_LIGHTGRAY 0xffc0c0c0
GX_COLOR_DARKGRAY 0xff808080
GX_COLOR_LIGHTRED 0xffff0000
GX_COLOR_LIGHTGREEN 0xff00ff00
GX_COLOR_YELLOW 0xffffff00
GX_COLOR_LIGHTBLUE 0xff0000ff
GX_COLOR_LIGHTMAGENTA 0xffff00ff
GX_COLOR_LIGHTCYAN 0xff00ffff
GX_COLOR_WHITE 0xffffffff

预定义的颜色 ID

颜色 “值”
GX_COLOR_ID_CANVAS 0
GX_COLOR_ID_WIDGET_FILL 1
GX_COLOR_ID_WINDOW_FILL 2
GX_COLOR_ID_DEFAULT_BORDER 3
GX_COLOR_ID_WINDOW_BORDER 4
GX_COLOR_ID_TEXT 5
GX_COLOR_ID_SELECTED_TEXT 6
GX_COLOR_ID_SELECTED_FILL 7
GX_COLOR_ID_SHADOW 8
GX_COLOR_ID_SHINE 9
GX_COLOR_ID_BUTTON_BORDER 10
GX_COLOR_ID_BUTTON_UPPER 11
GX_COLOR_ID_BUTTON_LOWER 12
GX_COLOR_ID_BUTTON_TEXT 13
GX_COLOR_ID_SCROLL_FILL 14
GX_COLOR_ID_SCROLL_BUTTON 15
GX_COLOR_ID_TEXT_INPUT_TEXT 16
GX_COLOR_ID_TEXT_INPUT_FILL 17
GX_COLOR_ID_SLIDER_TICK 18
GX_COLOR_ID_SLIDER_GROOVE_TOP 19
GX_COLOR_ID_SLIDER_GROOVE_BOTTOM 20
GX_COLOR_ID_SLIDER_NEEDLE_OUTLINE 21
GX_COLOR_ID_SLIDER_NEEDLE_FILL 22
GX_COLOR_ID_SLIDER_NEEDLE_LINE1 23
GX_COLOR_ID_SLIDER_NEEDLE_LINE2 24
GX_COLOR_ID_DISABLED_TEXT 25
GX_COLOR_ID_DISABLED_FILL 26
GX_COLOR_ID_READONLY_TEXT 27
GX_COLOR_ID_READONLY_FILL 28