- /* Hashtable containing the default and current style */
- struct StyleSet *default_styles;
- struct StyleSet *current_styles;
- gboolean style_initialized; /* Have styles been initialized */
+ /* Hashtable containing the current styles set by CSS and GLK */
+ struct StyleSet *styles;
+ struct StyleSet *glk_styles;
/* Glk program loaded in widget */
GModule *program;
/* Thread in which Glk program is run */
GThread *thread;
/* Event queue and threading stuff */
GQueue *event_queue;
/* Glk program loaded in widget */
GModule *program;
/* Thread in which Glk program is run */
GThread *thread;
/* Event queue and threading stuff */
GQueue *event_queue;
gboolean needs_rearrange;
gboolean ignore_next_arrange_event;
/* Input queues */
GAsyncQueue *char_input_queue;
GAsyncQueue *line_input_queue;
gboolean needs_rearrange;
gboolean ignore_next_arrange_event;
/* Input queues */
GAsyncQueue *char_input_queue;
GAsyncQueue *line_input_queue;
/* User-defined interrupt handler */
void (*interrupt_handler)(void);
/* Global tree of all windows */
/* User-defined interrupt handler */
void (*interrupt_handler)(void);
/* Global tree of all windows */
/* 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;
/* 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;
/* Callbacks for registering and unregistering dispatch objects */
gidispatch_rock_t (*register_obj)(void *, glui32);
void (*unregister_obj)(void *, glui32, gidispatch_rock_t);
/* Callbacks for registering and unregistering dispatch objects */
gidispatch_rock_t (*register_obj)(void *, glui32);
void (*unregister_obj)(void *, glui32, gidispatch_rock_t);