From 5e3ff44338005f0b9783993e67c6395dcf5c9768 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 15 Oct 2012 00:17:13 +0200 Subject: Rendering and redraw pipeline --- src/presentation.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/presentation.h') 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)) -- cgit v1.2.3