* Implemented the library-dependant functionality of BLORBs
[rodin/chimara.git] / src / chimara-glk-private.h
index dea8999a211fb1029ff66a8e5e5f0290299a0d3d..9520f1b909fcf0e08e8ec21e06b9a67fd0ab449c 100644 (file)
@@ -3,7 +3,9 @@
 
 #include <glib.h>
 #include <gmodule.h>
+#include <pango/pango.h>
 #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) \
@@ -46,4 +60,4 @@ struct _ChimaraGlkPrivate {
        
 G_END_DECLS
 
-#endif /* __CHIMARA_GLK_PRIVATE_H__ */
\ No newline at end of file
+#endif /* __CHIMARA_GLK_PRIVATE_H__ */