gcmd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gcmd-dev] gcmd themes


From: earlgrey
Subject: Re: [gcmd-dev] gcmd themes
Date: Tue, 03 Aug 2010 07:45:15 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.2pre) Gecko/20100330 Lanikai/3.1b1

 Yes, yes

-> gnome-cmd-style.cc

There are too much files in this program :)

On 08/02/2010 09:00 PM, Piotr Eljasiak wrote:
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]