summaryrefslogtreecommitdiffstats
path: root/SidebarAdd.h
diff options
context:
space:
mode:
Diffstat (limited to 'SidebarAdd.h')
-rw-r--r--SidebarAdd.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/SidebarAdd.h b/SidebarAdd.h
new file mode 100644
index 0000000..e5571f8
--- /dev/null
+++ b/SidebarAdd.h
@@ -0,0 +1,30 @@
+#ifndef SIDEBARADD_H_
+#define SIDEBARADD_H_
+
+#include "Sidebar.h"
+#include "EditManager.h"
+
+
+class SidebarAdd : public Sidebar {
+ private:
+ GtkWidget *sidebar;
+ GtkWidget *buttonAdd;
+
+ EditManager *editor;
+
+ // prevent shallow copy
+ SidebarAdd(const SidebarAdd &w);
+ const SidebarAdd& operator=(const SidebarAdd &w);
+
+ static void buttonClicked(GtkButton *button, SidebarAdd *sidebar);
+
+ public:
+ SidebarAdd(EditManager *editor);
+ virtual ~SidebarAdd();
+
+ GtkWidget* getWidget();
+
+ void update();
+};
+
+#endif /*SIDEBARADD_H_*/