aboutsummaryrefslogtreecommitdiff
path: root/src/presentation.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2013-09-08 12:00:23 +0200
committerThomas White <taw@bitwiz.org.uk>2013-09-08 12:00:23 +0200
commitef54e09be04a5717ba269e0feea774777820d0ac (patch)
treea42d0a9a38966828e721c61d0ba4bf4923a897ea /src/presentation.h
parentd132ff94753dcfe37a740f7ff1e822261fdef7ee (diff)
Add \slidenumber
Diffstat (limited to 'src/presentation.h')
-rw-r--r--src/presentation.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/presentation.h b/src/presentation.h
index 49d39d8..b15f732 100644
--- a/src/presentation.h
+++ b/src/presentation.h
@@ -33,11 +33,28 @@
#include "stylesheet.h"
#include "imagestore.h"
+
+struct slide_constants
+{
+ int slide_number;
+};
+
+
+struct presentation_constants
+{
+ char *title;
+ char *author;
+ char *date;
+};
+
+
struct slide
{
struct presentation *parent;
struct slide_template *st;
+ struct slide_constants *constants;
+
/* Any of these may be NULL */
cairo_surface_t *rendered_proj;
cairo_surface_t *rendered_edit;
@@ -95,6 +112,8 @@ struct presentation
int completely_empty;
int *num_presentations;
+ struct presentation_constants *constants;
+
GtkWidget *window;
GtkWidget *drawingarea;
GtkUIManager *ui;