diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-05-04 14:05:06 +0200 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-05-04 14:05:06 +0200 |
| commit | a1c9b58c29746793f00520d46e1397abe2b0e711 (patch) | |
| tree | ec95173b8bfd97c010a63dcbd4033783b81e8fae | |
| parent | 164d94eec1b88f0e9a466585b512fc8dca4c80ed (diff) | |
Resize window, center number
| -rw-r--r-- | src/Controllers/SFMLController/SFMLController.cpp | 2 | ||||
| -rw-r--r-- | src/View/MainWindow.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Controllers/SFMLController/SFMLController.cpp b/src/Controllers/SFMLController/SFMLController.cpp index bf4a069..1c21753 100644 --- a/src/Controllers/SFMLController/SFMLController.cpp +++ b/src/Controllers/SFMLController/SFMLController.cpp @@ -5,7 +5,7 @@ -SFMLController::SFMLController() : m_game(), m_MainWindow(800,800, "2P11"){ +SFMLController::SFMLController() : m_game(), m_MainWindow(600,800, "2P11"){ } diff --git a/src/View/MainWindow.cpp b/src/View/MainWindow.cpp index 23b8677..ea4346d 100644 --- a/src/View/MainWindow.cpp +++ b/src/View/MainWindow.cpp @@ -133,7 +133,7 @@ void MainWindow::drawCell(int x, int y, int value){ int fontX=x+(m_cellSize.x/2)-((valueSize*(fontSize-20))/2); - int fontY=y+(m_cellSize.y/2)-(fontSize/2)-10; + int fontY=y+(m_cellSize.y/2)-(fontSize/2)-9; sf::Text text; |
