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. --- EditManager.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 EditManager.h (limited to 'EditManager.h') diff --git a/EditManager.h b/EditManager.h new file mode 100644 index 0000000..a1561eb --- /dev/null +++ b/EditManager.h @@ -0,0 +1,36 @@ +#ifndef EDITMANAGER_H_ +#define EDITMANAGER_H_ + +#include "Room.h" + + +class Window; + + +class EditManager { + public: + enum Mode { + VIEW, ADD + }; + + private: + Mode mode; + + Window *window; + + //Room newRoom; + + public: + EditManager(Window *window); + + void addRoom(); + void finishRoom(); + + void addVertex(const Vertex &v); + + Mode getMode() { + return mode; + } +}; + +#endif /*EDITMANAGER_H_*/ -- cgit v1.2.3