aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/scparse_priv.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-02-17 23:04:20 +0100
committerThomas White <taw@bitwiz.me.uk>2019-02-17 23:04:20 +0100
commit135cc1ef50930b86189be2303f68ab387ebf7f27 (patch)
tree862b828c73c44e0f5ed77ce035db855da15083f8 /libstorycode/scparse_priv.h
parent6a31d8c2ba70c1a5342bc827091a2076e65fb2e0 (diff)
WIP on parser
Diffstat (limited to 'libstorycode/scparse_priv.h')
-rw-r--r--libstorycode/scparse_priv.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/libstorycode/scparse_priv.h b/libstorycode/scparse_priv.h
new file mode 100644
index 0000000..4a1e5db
--- /dev/null
+++ b/libstorycode/scparse_priv.h
@@ -0,0 +1,50 @@
+/*
+ * scparse_priv.h
+ *
+ * Copyright © 2019 Thomas White <taw@bitwiz.org.uk>
+ *
+ * This file is part of Colloquium.
+ *
+ * Colloquium is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+#ifndef SCPARSE_PRIV_H
+#define SCPARSE_PRIV_H
+
+#include "presentation.h"
+#include "narrative.h"
+
+struct frame_geom
+{
+ double x;
+ double y;
+ double w;
+ double h;
+ /* FIXME: units */
+};
+
+
+struct scpctx
+{
+ Presentation *p;
+ Narrative *n;
+ Stylesheet *ss;
+ Slide *s;
+
+ /* Frame options */
+ struct frame_geom geom;
+};
+
+#endif /* SCPARSE_PRIV_H */