random cmenu stuff
This commit is contained in:
+8
-11
@@ -11,18 +11,15 @@ typedef struct Color {
|
||||
#define WHITE ((Color){255,255,255})
|
||||
#define BLACK ((Color){0,0,0})
|
||||
|
||||
typedef enum Key {
|
||||
Key_backspace,
|
||||
Key_ctrl,
|
||||
Key_enter,
|
||||
Key_h,
|
||||
Key_n,
|
||||
Key_p,
|
||||
Key_y,
|
||||
Count_Key
|
||||
} Key;
|
||||
typedef enum Action {
|
||||
Action_Backspace,
|
||||
Action_Select,
|
||||
Action_Next,
|
||||
Action_Previous,
|
||||
Count_Action
|
||||
} Action;
|
||||
|
||||
bool KeyPressed(Key key);
|
||||
bool ActionPressed(Action key);
|
||||
bool InputGetNextPrintable(char const *out_key);
|
||||
|
||||
typedef struct Cell {
|
||||
|
||||
Reference in New Issue
Block a user