X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fchimara-glk-private.h;h=35fac923f73086a5d83923676b75480a1950c00c;hb=179cdda7e4d5713b3f90d0f01030c58e14557328;hp=c6fc556495ebe1879f0c7a9799b7c22a58cd7b12;hpb=c6cb6dcf2f5e1c581a847e8619ee49f75b2ec979;p=projects%2Fchimara%2Fchimara.git diff --git a/src/chimara-glk-private.h b/src/chimara-glk-private.h index c6fc556..35fac92 100644 --- a/src/chimara-glk-private.h +++ b/src/chimara-glk-private.h @@ -2,6 +2,8 @@ #define __CHIMARA_GLK_PRIVATE_H__ #include +#include +#include #include "glk.h" #include "chimara-glk.h" @@ -16,6 +18,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 +46,8 @@ struct _ChimaraGlkPrivate { strid_t current_stream; /* List of streams currently in existence */ GList *stream_list; + /* Current timer */ + guint timer_id; }; #define CHIMARA_GLK_PRIVATE(obj) \ @@ -43,4 +55,4 @@ struct _ChimaraGlkPrivate { G_END_DECLS -#endif /* __CHIMARA_GLK_PRIVATE_H__ */ \ No newline at end of file +#endif /* __CHIMARA_GLK_PRIVATE_H__ */