aboutsummaryrefslogtreecommitdiff
path: root/src/presentation.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-07-16 10:05:09 +0200
committerThomas White <taw@bitwiz.org.uk>2011-07-16 10:05:09 +0200
commit33a08e17fada81e6998576c21c166fb20365c214 (patch)
treee12da317bd75aceedd4732d3a86b964f2e5ddb09 /src/presentation.h
parente39907fc0e1e908c9daef17c4f7fb83040953bb7 (diff)
Menu layout and initial stylesheet window stuff
Diffstat (limited to 'src/presentation.h')
-rw-r--r--src/presentation.h53
1 files changed, 29 insertions, 24 deletions
diff --git a/src/presentation.h b/src/presentation.h
index a61d87b..791010f 100644
--- a/src/presentation.h
+++ b/src/presentation.h
@@ -30,6 +30,8 @@
#include <gtk/gtk.h>
+#include "stylesheet.h"
+
struct slide
{
@@ -54,39 +56,42 @@ enum tool
struct presentation
{
- char *titlebar;
- char *filename;
+ char *titlebar;
+ char *filename;
+
+ GtkWidget *window;
+ GtkWidget *drawingarea;
+ GtkUIManager *ui;
+ GtkActionGroup *action_group;
+ GtkIMContext *im_context;
- GtkWidget *window;
- GtkWidget *drawingarea;
- GtkUIManager *ui;
- GtkActionGroup *action_group;
- GtkIMContext *im_context;
+ /* Dialogue boxes */
+ StylesheetWindow *stylesheetwindow;
/* Slideshow stuff */
- GtkWidget *slideshow;
- GtkWidget *ss_drawingarea;
- GdkCursor *blank_cursor;
- int ss_blank;
- char ss_geom[256];
+ GtkWidget *slideshow;
+ GtkWidget *ss_drawingarea;
+ GdkCursor *blank_cursor;
+ int ss_blank;
+ char ss_geom[256];
- double slide_width;
- double slide_height;
- double border_offs_x;
- double border_offs_y;
+ double slide_width;
+ double slide_height;
+ double border_offs_x;
+ double border_offs_y;
/* The slide currently being displayed */
- unsigned int view_slide_number;
- struct slide *view_slide;
- struct object *editing_object;
+ unsigned int view_slide_number;
+ struct slide *view_slide;
+ struct object *editing_object;
/* Tool status */
- enum tool tool;
- double drag_offs_x;
- double drag_offs_y;
+ enum tool tool;
+ double drag_offs_x;
+ double drag_offs_y;
- unsigned int num_slides;
- struct slide **slides;
+ unsigned int num_slides;
+ struct slide **slides;
};