From 85e58bd658d3b572ed598e0460965d7827f4e901 Mon Sep 17 00:00:00 2001 From: neoraider Date: Tue, 15 Apr 2008 01:04:02 +0000 Subject: zoomedit: * Connected TopView to RenderArea --- src/View/TopView.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/View/TopView.h') diff --git a/src/View/TopView.h b/src/View/TopView.h index c5af1de..5141e51 100644 --- a/src/View/TopView.h +++ b/src/View/TopView.h @@ -25,6 +25,7 @@ namespace ZoomEdit { namespace Data { +class Level; class Room; } @@ -32,12 +33,17 @@ namespace View { class TopView : public View { private: + Data::Level *level; + void renderRoom(Data::Room *room); public: - TopView(Data::Level *level0 = 0) : View(level0) {} + TopView(Data::Level *level0 = 0) : level(level0) {} + + Data::Level* getLevel() {return level;} + void setLevel(Data::Level *level0) {level = level0;} - void render(); + virtual void render(); }; } -- cgit v1.2.3