]> git.lizzy.rs Git - nothing.git/blob - src/game/level/level_editor/action_picker.h
0a2c3c1c84619f205cc1a89cf235841e3504c691
[nothing.git] / src / game / level / level_editor / action_picker.h
1 #ifndef ACTION_PICKER_H_
2 #define ACTION_PICKER_H_
3
4 #include "game/level/action.h"
5 #include "game/camera.h"
6 #include "ui/grid.h"
7
8 typedef struct {
9     Widget widget;
10     Action action;
11 } ActionPicker;
12
13 void action_picker_render(const ActionPicker *action_picker,
14                           const Camera *camera);
15 void action_picker_event(ActionPicker *action_picker,
16                          const SDL_Event *event);
17
18 #endif  // ACTION_PICKER_H_