Support for templates in theme files.

module-formats.c files needs to be updated, meanwhile here's default.theme
you can use.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@791 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-10-27 23:06:26 +00:00 committed by cras
commit 000ba23aa7
4 changed files with 663 additions and 48 deletions

View file

@ -8,6 +8,8 @@ typedef struct {
int count;
char **formats; /* in same order as in module's default formats */
char **expanded_formats; /* this contains the formats after
expanding {templates} */
} MODULE_THEME_REC;
typedef struct {
@ -17,6 +19,10 @@ typedef struct {
int default_color;
GHashTable *modules;
GSList *replace_keys;
GSList *replace_values;
GHashTable *abstracts;
void *gui_data;
} THEME_REC;