Eile Mit Weile
Loading...
Searching...
No Matches
GameWindow.hpp
1#ifndef EILE_MIT_WEILE_GAMEWINDOW_HPP
2#define EILE_MIT_WEILE_GAMEWINDOW_HPP
3#include "panels/ConnectionPanel.hpp"
4
5
14class GameWindow: public wxFrame{
15public:
19 GameWindow(const wxString& title, const wxPoint& pos, const wxSize& size);
20
25 void ShowPanel(wxPanel* panel);
26
31 void SetStatus(const std::string& message);
32
33private:
34 wxBoxSizer* _main_layout;
35 wxStatusBar* _status_bar;
37 wxPanel* _current_panel;
38};
39
40
41#endif //EILE_MIT_WEILE_GAMEWINDOW_HPP
Main window of the game client.
Definition GameWindow.hpp:14
wxBoxSizer * _main_layout
Definition GameWindow.hpp:34
wxStatusBar * _status_bar
Definition GameWindow.hpp:35
GameWindow(const wxString &title, const wxPoint &pos, const wxSize &size)
Definition GameWindow.cpp:4
wxPanel * _current_panel
Definition GameWindow.hpp:37
void SetStatus(const std::string &message)
Definition GameWindow.cpp:56
void ShowPanel(wxPanel *panel)
Definition GameWindow.cpp:29