diff options
author | Timo Sirainen <cras@irssi.org> | 2000-04-26 08:03:38 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-04-26 08:03:38 +0000 |
commit | c95034c6de1bf72536595e1e3431d8ec64b9880e (patch) | |
tree | e51aa4528257ed8aa9d53640649519f299aaf0c7 /src/fe-common/core/themes.h | |
parent | d01b094151705d433bc43cae9eeb304e6f110a17 (diff) | |
download | irssi-c95034c6de1bf72536595e1e3431d8ec64b9880e.zip |
..adding new files..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/core/themes.h')
-rw-r--r-- | src/fe-common/core/themes.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/fe-common/core/themes.h b/src/fe-common/core/themes.h new file mode 100644 index 00000000..7bd4a8f8 --- /dev/null +++ b/src/fe-common/core/themes.h @@ -0,0 +1,40 @@ +#ifndef __THEMES_H +#define __THEMES_H + +#define THEME_FLAG_BG_SCROLLABLE 0x0001 +#define THEME_FLAG_BG_SCALED 0x0002 +#define THEME_FLAG_BG_SHADED 0x0004 + +typedef struct +{ + char *name; + + char **formatlist; + char **format; +} +MODULE_THEME_REC; + +typedef struct { + char *path; + char *name; + + int default_color; + char *bg_pixmap; + char *font; + int flags; + + GHashTable *modules; + + gpointer gui_data; +} THEME_REC; + +extern GSList *themes; +extern THEME_REC *current_theme; + +THEME_REC *theme_create(const char *path, const char *name); +void theme_destroy(THEME_REC *rec); + +void themes_init(void); +void themes_deinit(void); + +#endif |