scene_text_input.c 565 B

12345678910111213
  1. #include "../subghz_playlist_creator.h"
  2. #include "scene_text_input.h"
  3. void scene_text_input_show(SubGhzPlaylistCreator* app) {
  4. app->current_view = SubGhzPlaylistCreatorViewTextInput;
  5. memset(app->text_buffer, 0, MAX_TEXT_LENGTH);
  6. view_dispatcher_switch_to_view(app->view_dispatcher, SubGhzPlaylistCreatorViewTextInput);
  7. }
  8. // Add the definition for scene_text_input_init_view
  9. void scene_text_input_init_view(SubGhzPlaylistCreator* app) {
  10. // The view is allocated in subghz_playlist_creator_alloc and added to the dispatcher there.
  11. UNUSED(app);
  12. }