]> git.lizzy.rs Git - nothing.git/blob - src/game/level/level_editor/layer_picker.h
(#1050) Replace system clipboard with internal one
[nothing.git] / src / game / level / level_editor / layer_picker.h
1 #ifndef LAYER_PICKER_H_
2 #define LAYER_PICKER_H_
3
4 typedef struct RectLayer RectLayer;
5 typedef struct Camera Camera;
6
7 typedef enum {
8     LAYER_PICKER_BACKGROUND = 0,
9     LAYER_PICKER_PLAYER,
10     LAYER_PICKER_PLATFORMS,
11     LAYER_PICKER_GOALS,
12     LAYER_PICKER_LAVA,
13     LAYER_PICKER_BACK_PLATFORMS,
14     LAYER_PICKER_BOXES,
15     LAYER_PICKER_LABELS,
16     LAYER_PICKER_REGIONS,
17
18     LAYER_PICKER_N
19 } LayerPicker;
20
21 int layer_picker_render(const LayerPicker *layer_picker,
22                         Camera *camera);
23 int layer_picker_event(LayerPicker *layer_picker,
24                        const SDL_Event *event,
25                        const Camera *camera,
26                        bool *selected);
27
28 #endif  // LAYER_PICKER_H_