diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3,6 +3,7 @@ #include "input.h" #include "Table.hpp" #include "Cursor.hpp" +#include "Menu.hpp" #include <string.h> int main(int argc, char **argv) @@ -25,15 +26,18 @@ int main(int argc, char **argv) } Cursor cursor; Table table; + Menu menu; while (!LZR_ShouldQuit()) { LZR_CycleEvents(); input_update(); cursor.update(); table.update(cursor); + menu.update(cursor); LZR_DrawBegin(); LZR_DrawSetColor(0, 0, 0, 1); LZR_DrawClear(); table.draw(cursor); + menu.draw(); cursor.draw(); LZR_DrawEnd(); } |