aboutsummaryrefslogtreecommitdiff
path: root/src/presentation.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-10-15 00:17:13 +0200
committerThomas White <taw@bitwiz.org.uk>2012-10-15 00:17:13 +0200
commit5e3ff44338005f0b9783993e67c6395dcf5c9768 (patch)
tree85ec06404170adf3c3d9f8fe769a7d0316c46d88 /src/presentation.h
parent350c51a006edba2a46e7f17bf05098b398a4cb80 (diff)
Rendering and redraw pipeline
Diffstat (limited to 'src/presentation.h')
-rw-r--r--src/presentation.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/presentation.h b/src/presentation.h
index c237aac..415147f 100644
--- a/src/presentation.h
+++ b/src/presentation.h
@@ -66,6 +66,7 @@ struct presentation
GtkIMContext *im_context;
GtkWidget **menu_rebuild_list;
int n_menu_rebuild;
+ PangoContext *pc;
/* Pointers to the current "editing" and "projection" slides */
struct slide *cur_edit_slide;
@@ -73,6 +74,11 @@ struct presentation
struct slide *cur_notes_slide;
int slideshow_linked;
+ /* Pointers to the frame currently being edited */
+ struct frame **selection;
+ int n_selection;
+ int max_selection;
+
/* This is the "native" size of the slide. It only exists to give
* font size some meaning in the context of a somewhat arbitrary DPI */
double slide_width;
@@ -116,6 +122,9 @@ extern int slide_number(struct presentation *p, struct slide *s);
extern int load_presentation(struct presentation *p, const char *filename);
extern int save_presentation(struct presentation *p, const char *filename);
+extern void set_edit(struct presentation *p, struct slide *s);
+extern void set_selection(struct presentation *p, struct frame *fr);
+extern void add_selection(struct presentation *p, struct frame *fr);
#define UNUSED __attribute__((unused))