diff --git a/source/client/GameController.cpp b/source/client/GameController.cpp index 55c06777d730e7d3db326c8ae0667d153b615bab..cd6f0cf647a36153c10d24aa78c536f380844c2d 100644 --- a/source/client/GameController.cpp +++ b/source/client/GameController.cpp @@ -24,7 +24,7 @@ void GameController::init(GameWindow* gameWindow) { GameController::_gameWindow = gameWindow; // resizing after start makes panels appear without manual resizing - GameController::_gameWindow->SetSize(wxSize(1250, 900)); + GameController::_gameWindow->SetSize(wxSize(1010, 730)); // Set up main panels GameController::_connectionPanel = new ConnectionPanel(gameWindow); diff --git a/source/client/panels/BetPanel.cpp b/source/client/panels/BetPanel.cpp index a7f1836db449328500de5d7637cf27f070126a1f..925a6483d0ef197dfc295460d97ff54b569e9408 100644 --- a/source/client/panels/BetPanel.cpp +++ b/source/client/panels/BetPanel.cpp @@ -16,8 +16,8 @@ BetPanel::BetPanel(wxWindow* parent, game_state* gameState, player* me) : wxPane } // color of background - wxColor green = wxColor(50, 168, 54); - this->SetBackgroundColour(green); + wxColor lightGreen = wxColor(50, 205, 50); + this->SetBackgroundColour(lightGreen); wxBoxSizer* verticalLayout = new wxBoxSizer(wxVERTICAL); diff --git a/source/client/windows/GameWindow.cpp b/source/client/windows/GameWindow.cpp index 2292470d2d4c0a8b1512ee4c6a3399547afd6024..750f60ae8becadc9a827efe3b5be7260fe1eb22a 100644 --- a/source/client/windows/GameWindow.cpp +++ b/source/client/windows/GameWindow.cpp @@ -15,11 +15,11 @@ GameWindow::GameWindow(const wxString& title, const wxPoint& pos, const wxSize& this->_statusBar = this->CreateStatusBar(1); // Set background - wxColor lightGreen = wxColor(50, 205, 50); - this->SetBackgroundColour(lightGreen); + wxColor green = wxColor(50, 168, 54); + this->SetBackgroundColour(green); // Set the minimum size of the window. The user won't be able to resize the window to a size smaller than this - this->SetMinSize(wxSize(1200, 850)); + this->SetMinSize(wxSize(1000, 720)); }