summaryrefslogtreecommitdiffstats
path: root/SidebarAdd.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2007-10-05 01:38:05 +0200
committerneoraider <devnull@localhost>2007-10-05 01:38:05 +0200
commitb660b965bcb679e53cc89e7b8903190d2d162ff6 (patch)
tree31d2e3309e0906e03a8e415f430a99f8716b23b6 /SidebarAdd.h
parentea3fc9f27f6feb14ea3b7cfc8b1e921195dd3c3f (diff)
downloadzoomedit-b660b965bcb679e53cc89e7b8903190d2d162ff6.tar
zoomedit-b660b965bcb679e53cc89e7b8903190d2d162ff6.zip
zoomedit: Gro?e Teile der GUI in Klassen gekapselt.
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_*/