aboutsummaryrefslogtreecommitdiff
path: root/src/presentation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/presentation.h')
-rw-r--r--src/presentation.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/presentation.h b/src/presentation.h
index 8707151..50d3831 100644
--- a/src/presentation.h
+++ b/src/presentation.h
@@ -30,6 +30,9 @@
#include <cairo.h>
#include <pango/pango.h>
+struct frame;
+#include "layout.h"
+
struct slide
{
struct presentation *parent;
@@ -50,7 +53,7 @@ struct slide
struct frame
{
- struct frame_class *cl;
+ //struct frame_class *cl;
PangoContext *pc;
struct frame **rendering_order;
@@ -58,6 +61,14 @@ struct frame
char *sc; /* Storycode */
+ struct layout_parameters lop;
+
+ /* Location relative to parent, calculated from alignment parameters */
+ double x;
+ double y;
+ double w;
+ double h;
+
int empty;
};