From b660b965bcb679e53cc89e7b8903190d2d162ff6 Mon Sep 17 00:00:00 2001 From: neoraider Date: Thu, 4 Oct 2007 23:38:05 +0000 Subject: zoomedit: Gro?e Teile der GUI in Klassen gekapselt. --- SidebarAdd.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 SidebarAdd.h (limited to 'SidebarAdd.h') 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_*/ -- cgit v1.2.3