Add and create network user view

This commit is contained in:
simon.kagstrom 2010-02-11 18:57:08 +00:00
parent 1f33a6511f
commit fcae69e09e
2 changed files with 5 additions and 0 deletions

View File

@ -111,6 +111,7 @@ Gui::Gui()
this->tv = NULL; this->tv = NULL;
this->giv = NULL; this->giv = NULL;
this->bkv = NULL; this->bkv = NULL;
this->nuv = NULL;
} }
Gui::~Gui() Gui::~Gui()
@ -123,6 +124,7 @@ Gui::~Gui()
delete this->tv; delete this->tv;
delete this->giv; delete this->giv;
delete this->bkv; delete this->bkv;
delete this->nuv;
delete this->cur_gameInfo; delete this->cur_gameInfo;
delete this->timerController; delete this->timerController;
@ -232,6 +234,7 @@ bool Gui::setTheme(const char *path)
this->tv = new ThemeView(); this->tv = new ThemeView();
this->bkv = new BindKeysView(); this->bkv = new BindKeysView();
this->giv = new GameInfoView(); this->giv = new GameInfoView();
this->nuv = new NetworkUserView();
} }
VirtualKeyboard::kbd->updateTheme(); VirtualKeyboard::kbd->updateTheme();

View File

@ -25,6 +25,7 @@ class OptionsView;
class NetworkView; class NetworkView;
class ThemeView; class ThemeView;
class GameInfoView; class GameInfoView;
class NetworkUserView;
class VirtualKeyboard; class VirtualKeyboard;
@ -109,6 +110,7 @@ public:
GameInfoView *giv; GameInfoView *giv;
ThemeView *tv; ThemeView *tv;
BindKeysView *bkv; BindKeysView *bkv;
NetworkUserView *nuv;
GuiView **views; GuiView **views;
int n_views; int n_views;