ui_controls.h 434 B

1234567891011
  1. #ifndef _TOTP_UI_CONTROLS_H_
  2. #define _TOTP_UI_CONTROLS_H_
  3. #include <inttypes.h>
  4. #include <gui/gui.h>
  5. void ui_control_text_box_render(Canvas* const canvas, int8_t y, char* text, bool is_selected);
  6. void ui_control_button_render(Canvas* const canvas, uint8_t x, int8_t y, uint8_t width, uint8_t height, char* text, bool is_selected);
  7. void ui_control_select_render(Canvas* const canvas, int8_t y, char* text, bool is_selected);
  8. #endif