aboutsummaryrefslogtreecommitdiff
path: root/src/stylesheet.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-12-18 01:05:09 +0100
committerThomas White <taw@bitwiz.org.uk>2011-12-18 01:05:09 +0100
commit0f0b800481ee358cbe2bd5eb068b4ab58b327ab7 (patch)
tree46931121410acdfd1ac0ea333524e83300c3ca96 /src/stylesheet.h
parentb2811318f359d51cb892f53964dcb7ecbd71f0f5 (diff)
Auto-furniture: part 1
Diffstat (limited to 'src/stylesheet.h')
-rw-r--r--src/stylesheet.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/stylesheet.h b/src/stylesheet.h
index e9134d1..b6663e4 100644
--- a/src/stylesheet.h
+++ b/src/stylesheet.h
@@ -27,10 +27,23 @@
#include <config.h>
#endif
-
#include "loadsave.h"
+enum object_role
+{
+ S_ROLE_NONE = 0,
+ S_ROLE_SLIDENUMBER = 1,
+ S_ROLE_PTITLE = 2, /* Presentation title on slide */
+ S_ROLE_PTITLE_REF = 3, /* Reference to actual title */
+ S_ROLE_PAUTHOR = 4,
+ S_ROLE_PAUTHOR_REF = 5,
+ S_ROLE_PDATE = 6,
+ S_ROLE_PDATE_REF = 7,
+ NUM_S_ROLES
+};
+
+
enum justify
{
J_LEFT = 0,
@@ -50,6 +63,7 @@ enum vert_pos
struct style
{
char *name;
+ enum object_role role;
double margin_left;
double margin_right;