mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
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:
parent
35fd48a0b4
commit
000ba23aa7
4 changed files with 663 additions and 48 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue