aboutsummaryrefslogtreecommitdiff
path: root/src/sc_editor.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2018-10-17 14:50:28 +0200
committerThomas White <taw@bitwiz.me.uk>2018-10-17 14:50:28 +0200
commit2b2a139a94c932d50a5ad5a5ab91f997493e5b5a (patch)
treea80c35594d21c4259284a0db5818e077fc1ec70a /src/sc_editor.h
parent8f7480255e76fc27bcab5ab10ef6c15368c5c495 (diff)
Switch to new Stylesheet type
Diffstat (limited to 'src/sc_editor.h')
-rw-r--r--src/sc_editor.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/sc_editor.h b/src/sc_editor.h
index adbbaf2..35557d4 100644
--- a/src/sc_editor.h
+++ b/src/sc_editor.h
@@ -32,6 +32,7 @@
#include "frame.h"
#include "sc_interp.h"
+#include "stylesheet.h"
struct presentation;
@@ -94,7 +95,7 @@ struct _sceditor
double log_w; /* Size of surface in "SC units" */
double log_h;
SCBlock *scblocks;
- SCBlock *stylesheet;
+ Stylesheet *stylesheet;
ImageStore *is;
SCCallbackList *cbl;
struct frame *top;
@@ -168,10 +169,10 @@ typedef struct _sceditor SCEditor;
typedef struct _sceditorclass SCEditorClass;
extern void sc_editor_set_scblock(SCEditor *e, SCBlock *scblocks);
-extern void sc_editor_set_stylesheet(SCEditor *e, SCBlock *stylesheet);
+extern void sc_editor_set_stylesheet(SCEditor *e, Stylesheet *stylesheet);
extern SCBlock *sc_editor_get_scblock(SCEditor *e);
extern GtkWidget *sc_editor_get_widget(SCEditor *e);
-extern SCEditor *sc_editor_new(SCBlock *scblocks, SCBlock *stylesheet,
+extern SCEditor *sc_editor_new(SCBlock *scblocks, Stylesheet *stylesheet,
PangoLanguage *lang, const char *storename);
extern void sc_editor_set_size(SCEditor *e, int w, int h);
extern void sc_editor_set_logical_size(SCEditor *e, double w, double h);