Can someone tell me where are localized the theme ( foreground,
background, etc... )
in gcmd + sample code to get those infos
Here it is:
GnomeCmdColorTheme *gnome_cmd_data_get_current_color_theme ();
returns pointer to the current GnomeCmdColorTheme struct.
GnomeCmdColorTheme is defined in src/gnome-cmd-types.h as:
struct GnomeCmdColorTheme
{
gboolean respect_theme;
GdkColor *sel_fg, *sel_bg;
GdkColor *norm_fg, *norm_bg;
GdkColor *curs_fg, *curs_bg;
GdkColor *alt_fg, *alt_bg;
};
Hope it'll help,
Piotr
_______________________________________________
gcmd-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/gcmd-devel