aboutsummaryrefslogtreecommitdiff
path: root/src/game_loop/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game_loop/ui.h')
-rw-r--r--src/game_loop/ui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game_loop/ui.h b/src/game_loop/ui.h
index 527cc74..073824e 100644
--- a/src/game_loop/ui.h
+++ b/src/game_loop/ui.h
@@ -19,3 +19,6 @@ void hh_ui_show_char(int* idx, char* str, vec2 pos);
/** @brief converts char* [0] to i and [1]='\0' */
void itoa(char *c, int i);
+
+/** @brief moves 'cursor' through selection field */
+void hh_shift_selected(uint8_t *pos, bool dir, uint8_t min, uint8_t max);