diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-03-05 19:55:39 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-03-05 19:55:39 (GMT) |
| commit | 7e3d45bbfb701a5eca3e93b589680d8651ada016 (patch) | |
| tree | bfdd7260e46979922e1343bb579d2768fa53feed /src/game/GameController.cpp | |
| parent | 81f3114cb22592a8c09fa564db49fbea079f1328 (diff) | |
| download | powder-7e3d45bbfb701a5eca3e93b589680d8651ada016.zip powder-7e3d45bbfb701a5eca3e93b589680d8651ada016.tar.gz | |
Tag UI - actually more of a box at the moment
Diffstat (limited to 'src/game/GameController.cpp')
| -rw-r--r-- | src/game/GameController.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/game/GameController.cpp b/src/game/GameController.cpp index 1164de5..25f02e9 100644 --- a/src/game/GameController.cpp +++ b/src/game/GameController.cpp @@ -71,7 +71,8 @@ GameController::GameController(): renderOptions(NULL), loginWindow(NULL), ssave(NULL), - console(NULL) + console(NULL), + tagsWindow(NULL) { gameView = new GameView(); gameModel = new GameModel(); @@ -99,6 +100,10 @@ GameController::~GameController() { delete loginWindow; } + if(tagsWindow) + { + delete tagsWindow; + } if(console) { delete console; @@ -333,7 +338,8 @@ void GameController::OpenLogin() void GameController::OpenTags() { - //TODO: Implement + tagsWindow = new TagsController(NULL); + ui::Engine::Ref().ShowWindow(tagsWindow->GetView()); } void GameController::OpenDisplayOptions() |
