diff options
author | neoraider <devnull@localhost> | 2007-10-05 01:38:05 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2007-10-05 01:38:05 +0200 |
commit | b660b965bcb679e53cc89e7b8903190d2d162ff6 (patch) | |
tree | 31d2e3309e0906e03a8e415f430a99f8716b23b6 /EditManager.h | |
parent | ea3fc9f27f6feb14ea3b7cfc8b1e921195dd3c3f (diff) | |
download | zoomedit-b660b965bcb679e53cc89e7b8903190d2d162ff6.tar zoomedit-b660b965bcb679e53cc89e7b8903190d2d162ff6.zip |
zoomedit: Gro?e Teile der GUI in Klassen gekapselt.
Diffstat (limited to 'EditManager.h')
-rw-r--r-- | EditManager.h | 36 |
1 files changed, 36 insertions, 0 deletions
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_*/ |