Added properties to the ChimaraGlk widget: "default-font-description" and
[rodin/chimara.git] / src / chimara-glk-private.h
index c6fc556495ebe1879f0c7a9799b7c22a58cd7b12..8bef3f29b22aa71c088896467d9cb4416dcf11c3 100644 (file)
@@ -2,6 +2,8 @@
 #define __CHIMARA_GLK_PRIVATE_H__
 
 #include <glib.h>
+#include <gmodule.h>
+#include <pango/pango.h>
 #include "glk.h"
 #include "chimara-glk.h"
 
@@ -16,6 +18,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;
+    /* Glk program loaded in widget */
+    GModule *program;
     /* Thread in which Glk program is run */
     GThread *thread;
     /* Event queue and threading stuff */
@@ -43,4 +51,4 @@ struct _ChimaraGlkPrivate {
        
 G_END_DECLS
 
-#endif /* __CHIMARA_GLK_PRIVATE_H__ */
\ No newline at end of file
+#endif /* __CHIMARA_GLK_PRIVATE_H__ */