aboutsummaryrefslogtreecommitdiffstats
path: root/src/top_menu.h
diff options
context:
space:
mode:
authornathan <thenathansmithsmith@gmail.com>2023-03-20 06:34:54 +0000
committernathan <thenathansmithsmith@gmail.com>2023-03-20 06:34:54 +0000
commitdd98918fe32b9dcdfc482a2c68481e93ceb50623 (patch)
treebf2ea0e4f4e47facde93c0cf277adb2031f7b3ec /src/top_menu.h
downloadfltk_snake-main.tar.gz
fltk_snake-main.tar.bz2
fltk_snake-main.zip
first commitHEADmain
Diffstat (limited to 'src/top_menu.h')
-rw-r--r--src/top_menu.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/top_menu.h b/src/top_menu.h
new file mode 100644
index 0000000..2919347
--- /dev/null
+++ b/src/top_menu.h
@@ -0,0 +1,9 @@
+#pragma once
+
+#include "program_data.h"
+#include "snake_map.h"
+
+void new_game_cb(Fl_Widget * w, void * d);
+void pause_cb(Fl_Widget * w, void * d);
+
+void add_menu_items(MainData * mdata, Fl_Menu_Bar * top_menu);