[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gcmd-dev] gcmd themes
From: |
Piotr Eljasiak |
Subject: |
Re: [gcmd-dev] gcmd themes |
Date: |
Mon, 02 Aug 2010 21:00:22 +0200 |
> 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