diff options
Diffstat (limited to 'src/presentation.h')
-rw-r--r-- | src/presentation.h | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/src/presentation.h b/src/presentation.h index daa016b..c237aac 100644 --- a/src/presentation.h +++ b/src/presentation.h @@ -28,7 +28,6 @@ #endif #include <cairo.h> -#include <pango/pango.h> #include <gtk/gtk.h> struct frame; @@ -47,36 +46,12 @@ struct slide /* This should always be present (and up to date). */ cairo_surface_t *rendered_thumb; - struct frame *top; + struct frame *top; char *notes; }; -struct frame -{ - struct frame **rendering_order; - int num_ro; - int max_ro; - - char *sc; /* Storycode */ - - struct layout_parameters lop; - struct style *style; /* Non-NULL if 'lop' came from SS */ - - /* Location relative to parent, calculated from layout parameters */ - double offs_x; - double offs_y; - double w; - double h; - - PangoLayout *pl; - - /* True if this frame should be deleted on the next mouse click */ - int empty; -}; - - struct presentation { char *titlebar; @@ -141,6 +116,7 @@ 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); + #define UNUSED __attribute__((unused)) |