X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fchimara-glk-private.h;h=9520f1b909fcf0e08e8ec21e06b9a67fd0ab449c;hb=a1689380dcfe59c99e70da8c311ace071d113ce5;hp=9395b40a46f38fc903cd914f73834aef43098a03;hpb=062bbb9e7322c8e3f5162f86fc2f93bfc587b830;p=rodin%2Fchimara.git diff --git a/src/chimara-glk-private.h b/src/chimara-glk-private.h index 9395b40..9520f1b 100644 --- a/src/chimara-glk-private.h +++ b/src/chimara-glk-private.h @@ -3,7 +3,9 @@ #include #include +#include #include "glk.h" +#include "gi_blorb.h" #include "chimara-glk.h" G_BEGIN_DECLS @@ -17,6 +19,12 @@ struct _ChimaraGlkPrivate { gboolean interactive; /* Whether file operations are allowed */ gboolean protect; + /* Font description of proportional font */ + PangoFontDescription *default_font_desc; + /* Font description of monospace font */ + PangoFontDescription *monospace_font_desc; + /* Spacing between Glk windows */ + guint spacing; /* Glk program loaded in widget */ GModule *program; /* Thread in which Glk program is run */ @@ -39,6 +47,12 @@ struct _ChimaraGlkPrivate { strid_t current_stream; /* List of streams currently in existence */ GList *stream_list; + /* Current timer */ + guint timer_id; + /* Current resource blorb map */ + giblorb_map_t *resource_map; + /* File stream pointing to the blorb used as current resource map */ + strid_t *resource_file; }; #define CHIMARA_GLK_PRIVATE(obj) \