blob: 2d179316b4a1d33f08b75ff32ee05fe9fcac6f46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include "textscreen.h"
int dummy;
void ConfigKeyboard(void)
{
txt_window_t *window;
txt_table_t *table;
window = TXT_NewWindow("Keyboard configuration");
table = TXT_NewTable(2);
TXT_AddWidget(window, table);
TXT_AddWidget(table, TXT_NewLabel("Move Forward"));
TXT_AddWidget(table, TXT_NewIntInputBox(&dummy, 7));
TXT_AddWidget(table, TXT_NewLabel("Move Backward"));
TXT_AddWidget(table, TXT_NewIntInputBox(&dummy, 7));
TXT_AddWidget(table, TXT_NewLabel("Turn Left"));
TXT_AddWidget(table, TXT_NewIntInputBox(&dummy, 7));
TXT_AddWidget(table, TXT_NewLabel("Turn Right"));
}
|