view console/libgnt/gntstyle.h @ 14298:6e2e9e84b99d

[gaim-migrate @ 16988] This should fix Luke's crash, and this causes the default colors to be used. You can enable custom colors from ~/.gntrc by setting "customcolor=1" under "[general]". committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 23 Aug 2006 01:09:33 +0000
parents a0b1ab181316
children ea5193c23171
line wrap: on
line source

#include "gnt.h"

typedef enum
{
	GNT_STYLE_SHADOW = 0,
	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();