summaryrefslogtreecommitdiff
path: root/MainWindow.h
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-06-14 21:57:47 +0930
committerDaniel Jones <admin@danieljon.es>2020-06-14 21:57:47 +0930
commit3a41ff521bd1e95a85bf93ac77d69108a1d9c0c5 (patch)
treeb018937e0e6b768db1f84704efda9f1004309d5a /MainWindow.h
parent971db58ef48db64151a31d4857104ede69475996 (diff)
downloadfoxminesweeper-3a41ff521bd1e95a85bf93ac77d69108a1d9c0c5.tar.gz
foxminesweeper-3a41ff521bd1e95a85bf93ac77d69108a1d9c0c5.zip
work on getting new game working
new games work only if the width and height are the same values
Diffstat (limited to 'MainWindow.h')
-rw-r--r--MainWindow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/MainWindow.h b/MainWindow.h
index 38b8bd6..50d7493 100644
--- a/MainWindow.h
+++ b/MainWindow.h
@@ -55,11 +55,12 @@ class MainWindow : public FXMainWindow
private:
void create_ui();
- void new_game(int width, int height, int minecount);
+ void new_game(int w, int h, int minecount);
void draw_buttons();
bool game_over;
long unsigned int seconds;
bool ticking;
+ int game_count;
FXHorizontalFrame *contents; // Content frame
FXVerticalFrame *canvasFrame; // Canvas frame
FXVerticalFrame *buttonFrame; // Button frame