|
Operating System
|
macro for graphic More...
Go to the source code of this file.
Macros | |
| #define | __G_R (1 << 2) |
| red More... | |
| #define | __G_G (1 << 1) |
| green More... | |
| #define | __G_B (1) |
| blue More... | |
| #define | G_BLACK (0) |
| #define | G_BLUE (__G_B) |
| #define | G_GREEN (__G_G) |
| #define | G_CYAN (__G_B | __G_G) |
| #define | G_RED (__G_R) |
| #define | G_PINKISH (__G_R | __G_B) |
| #define | G_BROWN (__G_G | __G_R) |
| #define | G_WHITE (__G_G | __G_B | __G_R) |
| #define | TO_FN(X) (X) |
| make defined color into describing font More... | |
| #define | TO_BG(X) (X << 4) |
| make defined color into describing background More... | |
| #define | G_FLASH (1 << 7) |
| whether font is Flash More... | |
| #define | G_DARK (1 << 3) |
| whether font is light More... | |
| #define | G_BG_BLACK (TO_BG(G_BLACK)) |
| Graphic library BackGround Black. More... | |
| #define | G_BG_WHITE (TO_BG(G_WHITE)) |
| Graphic library BackGround White. More... | |
| #define | G_FN_BLACK (TO_FN(G_BLACK)) |
| Graphic library FoNt black. More... | |
| #define | G_FN_WHITE (TO_FN(G_WHITE)) |
| Graphic library FoNt white. More... | |
| #define | G_DEFAULT (TO_FN(G_WHITE) | TO_BG(G_BLACK)) |
| #define | G_DEFAULT_DARK (G_DEFAULT | G_DARK) |
macro for graphic
define adequate macro for full control of color that used in text mod in terminal.
Definition in file graphic.h.
| #define TO_BG | ( | X | ) | (X << 4) |
1.8.15