aboutsummaryrefslogtreecommitdiff
path: root/src/stylesheet_editor.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2018-04-22 12:18:28 +0200
committerThomas White <taw@bitwiz.me.uk>2018-04-22 23:22:39 +0200
commitef49ac2a7919d9284e2db4c34b5fccf3d636f72e (patch)
tree77761a6c0035c083eadaa9b7da96a0df0bddc253 /src/stylesheet_editor.h
parent3f0ef3ba6d8389a6aaeef7183c2a41b57ba36a8d (diff)
Add preliminary stylesheet editor
Diffstat (limited to 'src/stylesheet_editor.h')
-rw-r--r--src/stylesheet_editor.h73
1 files changed, 73 insertions, 0 deletions
diff --git a/src/stylesheet_editor.h b/src/stylesheet_editor.h
new file mode 100644
index 0000000..ab2d65c
--- /dev/null
+++ b/src/stylesheet_editor.h
@@ -0,0 +1,73 @@
+/*
+ * stylesheet_editor.h
+ *
+ * Copyright © 2013-2018 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 STYLESHEET_EDITOR_H
+#define STYLESHEET_EDITOR_H
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <gtk/gtk.h>
+
+#include "presentation.h"
+
+#define COLLOQUIUM_TYPE_STYLESHEET_EDITOR (stylesheet_editor_get_type())
+
+#define COLLOQUIUM_STYLESHEET_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
+ COLLOQUIUM_TYPE_STYLESHEET_EDITOR, \
+ StylesheetEditor))
+
+#define COLLOQUIUM_IS_STYLESHEET_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
+ COLLOQUIUM_TYPE_STYLESHEET_EDITOR))
+
+#define COLLOQUIUM_STYLESHEET_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((obj), \
+ COLLOQUIUM_TYPE_STYLESHEET_EDITOR, \
+ StylesheetEditorClass))
+
+#define COLLOQUIUM_IS_STYLESHEET_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((obj), \
+ COLLOQUIUM_TYPE_STYLESHEET_EDITOR))
+
+#define COLLOQUIUM_STYLESHEET_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), \
+ COLLOQUIUM_TYPE_STYLESHEET_EDITOR, \
+ StylesheetEditorClass))
+
+struct stylesheet_editor_private;
+
+struct _stylesheeteditor
+{
+ GtkDialog parent_instance;
+ struct stylesheet_editor_private *priv;
+};
+
+
+struct _stylesheeteditorclass
+{
+ GtkDialogClass parent_class;
+};
+
+typedef struct _stylesheeteditor StylesheetEditor;
+typedef struct _stylesheeteditorclass StylesheetEditorClass;
+
+extern StylesheetEditor *stylesheet_editor_new(struct presentation *p);
+
+#endif /* STYLESHEET_EDITOR_H */