context state control and wall selection
This commit is contained in:
parent
f768cff6d2
commit
10d243055d
6 changed files with 152 additions and 32 deletions
|
|
@ -29,7 +29,8 @@
|
|||
enum kubo_wall_state {
|
||||
KUBO_WALL_INIT,
|
||||
KUBO_WALL_DRAWING,
|
||||
KUBO_WALL_DONE
|
||||
KUBO_WALL_DONE,
|
||||
KUBO_WALL_SELECTED
|
||||
};
|
||||
|
||||
KUBO_DYNARRAY_REGISTER(kubo_vector2_arr, Vector2)
|
||||
|
|
@ -45,7 +46,7 @@ void kubo_wall_cleanup(struct kubo_wall *wall);
|
|||
bool kubo_wall_add_vertex(struct kubo_wall *wall, Vector2 vec);
|
||||
Vector2 kubo_wall_get_vertex(struct kubo_wall *wall, size_t index);
|
||||
|
||||
void kubo_wall_render(struct kubo_wall *wall);
|
||||
void kubo_wall_render(struct kubo_wall *wall, bool select);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue