summaryrefslogtreecommitdiffstats
path: root/src/ui/toolbar/livecode-toolbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/toolbar/livecode-toolbar.h')
-rw-r--r--src/ui/toolbar/livecode-toolbar.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/ui/toolbar/livecode-toolbar.h b/src/ui/toolbar/livecode-toolbar.h
new file mode 100644
index 000000000..abfd4f46f
--- /dev/null
+++ b/src/ui/toolbar/livecode-toolbar.h
@@ -0,0 +1,47 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+#ifndef SEEN_LIVECODE_TOOLBAR_H
+#define SEEN_LIVECODE_TOOLBAR_H
+
+/**
+ * @file
+ * Livecode aux toolbar
+ */
+/* Authors:
+ * Sol Bekic <s+inkscape@s-ol.nu>
+ * Copyright (C) 2019 Authors
+ *
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
+ */
+
+#include "toolbar.h"
+
+class SPDesktop;
+
+namespace Inkscape {
+namespace UI {
+namespace Widget {
+class ComboBoxEntryToolItem;
+}
+
+namespace Toolbar {
+class LivecodeToolbar : public Toolbar {
+private:
+ UI::Widget::ComboBoxEntryToolItem *_active_script;
+ Gtk::ToolButton *_select_library;
+
+ bool _freeze;
+ void active_script_value_changed();
+ void select_library_pressed();
+
+protected:
+ LivecodeToolbar(SPDesktop *desktop);
+
+public:
+ static GtkWidget *create(SPDesktop *desktop);
+};
+
+}
+}
+}
+
+#endif /* !SEEN_LIVECODE_TOOLBAR_H */