diff options
Diffstat (limited to 'src/View/TopView.h')
-rw-r--r-- | src/View/TopView.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/View/TopView.h b/src/View/TopView.h index 844faa5..bbb9394 100644 --- a/src/View/TopView.h +++ b/src/View/TopView.h @@ -27,14 +27,26 @@ namespace ZoomEdit { namespace Data { class Level; class Room; +class Vertex; } namespace View { class TopView : public View { private: + class Edge { + public: + const Data::Vertex *v1, *v2; + + Edge(const Data::Vertex *v10, const Data::Vertex *v20) + : v1(v10), v2(v20) {}; + bool operator<(const Edge &e) const; + }; + Data::Level *level; + bool edgeLess(const Edge &e1, const Edge &e2); + void drawGrid(Gui::RenderArea *renderArea); void renderRoom(Data::Room *room); |