X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fchimara-glk-private.h;h=ba638a0e6e8496833c41f457ca1851ef73171023;hb=5a06246277a255fe6e0e465ce0f190541b7b0e16;hp=c6fc556495ebe1879f0c7a9799b7c22a58cd7b12;hpb=46974bb948c0a7ca82b476a578b6199e438bab41;p=rodin%2Fchimara.git diff --git a/src/chimara-glk-private.h b/src/chimara-glk-private.h index c6fc556..ba638a0 100644 --- a/src/chimara-glk-private.h +++ b/src/chimara-glk-private.h @@ -2,7 +2,10 @@ #define __CHIMARA_GLK_PRIVATE_H__ #include +#include +#include #include "glk.h" +#include "gi_blorb.h" #include "chimara-glk.h" G_BEGIN_DECLS @@ -16,6 +19,14 @@ 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 */ GThread *thread; /* Event queue and threading stuff */ @@ -36,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) \ @@ -43,4 +60,4 @@ struct _ChimaraGlkPrivate { G_END_DECLS -#endif /* __CHIMARA_GLK_PRIVATE_H__ */ \ No newline at end of file +#endif /* __CHIMARA_GLK_PRIVATE_H__ */