console/libgnt/gntstyle.h

Thu, 24 Aug 2006 02:35:15 +0000

author
Sadrul Habib Chowdhury <sadrul@pidgin.im>
date
Thu, 24 Aug 2006 02:35:15 +0000
changeset 14379
d1bd558266b7
parent 14372
61f53bc11687
child 14397
e53755c4dcab
permissions
-rw-r--r--

[gaim-migrate @ 17010]
This should allow mouse-events to work for everyone. Also, you can click
on any window to bring it to focus.

#include "gnt.h"

typedef enum
{
	GNT_STYLE_SHADOW = 0,
	GNT_STYLE_COLOR = 1,
	GNT_STYLE_MOUSE = 2,
	GNT_STYLES
} GntStyle;

void gnt_style_read_configure_file(const char *filename);

/* Returned strings are all lowercase */
const char *gnt_style_get(GntStyle style);

gboolean gnt_style_get_bool(GntStyle style, gboolean def);

/* This should be called only once for the each type */
void gnt_styles_get_keyremaps(GType type, GHashTable *hash);

void gnt_init_styles();

void gnt_uninit_styles();

mercurial