ui_controls.h 499 B

12345678910111213141516171819202122232425
  1. #pragma once
  2. #include <inttypes.h>
  3. #include <gui/gui.h>
  4. void ui_control_text_box_render(
  5. Canvas* const canvas,
  6. int16_t y,
  7. const char* text,
  8. bool is_selected);
  9. void ui_control_button_render(
  10. Canvas* const canvas,
  11. int16_t x,
  12. int16_t y,
  13. uint8_t width,
  14. uint8_t height,
  15. const char* text,
  16. bool is_selected);
  17. void ui_control_select_render(
  18. Canvas* const canvas,
  19. int16_t x,
  20. int16_t y,
  21. uint8_t width,
  22. const char* text,
  23. bool is_selected);