In progress for more type flexibilty for UI.

This commit is contained in:
Sheldon Lee
2020-07-11 02:08:17 +01:00
parent 3df203c588
commit 305c090e31
3 changed files with 19 additions and 5 deletions
+2 -2
View File
@@ -49,8 +49,8 @@ void initGame()
// stdscr is screen created by initscr()
getmaxyx(stdscr, height, width);
addLinei("x:", &cursor.x);
addLinei("y:", &cursor.y);
addLinei("x:", &cursor.x, 1, UI_INT);
addLinei("y:", &cursor.y, 1, UI_INT);
grid = initGrid(width, height);
//randomizeGrid(grid);