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

View File

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