aboutsummaryrefslogtreecommitdiff
path: root/src/presentation.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-08-12 14:54:45 +0200
committerThomas White <taw@bitwiz.org.uk>2012-08-12 14:54:45 +0200
commit3795b390e6923670d5510acc37315dc9e3668b09 (patch)
tree6cb236860acd89907516f645965435887bd006cd /src/presentation.h
parentf8d5a4d3c2eed0fde67371159a0ffc3c7d3849c3 (diff)
Basic structure for frames
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;
};