gntcolors.h
Go to the documentation of this file.00001
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef GNT_COLORS_H
00028 #define GNT_COLORS_H
00029
00030 #include <glib.h>
00031
00035 typedef enum
00036 {
00037 GNT_COLOR_NORMAL = 1,
00038 GNT_COLOR_HIGHLIGHT,
00039 GNT_COLOR_DISABLED,
00040 GNT_COLOR_HIGHLIGHT_D,
00041 GNT_COLOR_TEXT_NORMAL,
00042 GNT_COLOR_TEXT_INACTIVE,
00043 GNT_COLOR_MNEMONIC,
00044 GNT_COLOR_MNEMONIC_D,
00045 GNT_COLOR_SHADOW,
00046 GNT_COLOR_TITLE,
00047 GNT_COLOR_TITLE_D,
00048 GNT_COLOR_URGENT,
00049 GNT_COLORS
00050 } GntColorType;
00051
00052 enum
00053 {
00054 GNT_COLOR_BLACK = 0,
00055 GNT_COLOR_RED,
00056 GNT_COLOR_GREEN,
00057 GNT_COLOR_BLUE,
00058 GNT_COLOR_WHITE,
00059 GNT_COLOR_GRAY,
00060 GNT_COLOR_DARK_GRAY,
00061 GNT_TOTAL_COLORS
00062 };
00063
00067 void gnt_init_colors(void);
00068
00072 void gnt_uninit_colors(void);
00073
00074 #if GLIB_CHECK_VERSION(2,6,0)
00075
00080 void gnt_colors_parse(GKeyFile *kfile);
00081
00087 void gnt_color_pairs_parse(GKeyFile *kfile);
00088
00098 int gnt_colors_get_color(char *key);
00099 #endif
00100
00112 int gnt_color_pair(int color);
00113
00124 int gnt_color_add_pair(int fg, int bg);
00125 #endif