home · contact · privacy
Sorted out library dependencies / includes. Include every header file needed by each...
[plomrogue] / src / keybindings.h
1 #ifndef KEYBINDINGS_H
2 #define KEYBINDINGS_H
3
4 #include <stdint.h>
5
6 struct World;
7 struct WinMeta;
8
9 struct KeyBinding {
10   char * name;
11   uint16_t key; };
12
13 struct KeysWinData {
14   uint16_t max;
15   char edit;
16   uint16_t select; };
17
18 void init_keybindings(struct World *);
19 void save_keybindings(struct World *);
20 uint16_t get_action_key (struct KeyBinding *, char *);
21 char * get_keyname(uint16_t);
22 void keyswin_mod_key (struct World *, struct WinMeta *);
23 void keyswin_move_selection (struct World *, char);
24
25 #endif