Loading...
Searching...
No Matches
example_number_input.h
1#pragma once
2
3#include <furi.h>
4#include <furi_hal.h>
5
6#include <gui/gui.h>
7#include <gui/elements.h>
8#include <gui/scene_manager.h>
11#include <gui/view.h>
12#include <gui/view_dispatcher.h>
13#include <input/input.h>
14
15#include "scenes/example_number_input_scene.h"
16
17typedef struct ExampleNumberInputShowNumber ExampleNumberInputShowNumber;
18
19typedef enum {
20 ExampleNumberInputViewIdShowNumber,
21 ExampleNumberInputViewIdNumberInput,
22} ExampleNumberInputViewId;
23
24typedef struct {
25 Gui* gui;
26 SceneManager* scene_manager;
27 ViewDispatcher* view_dispatcher;
28
29 NumberInput* number_input;
30 DialogEx* dialog_ex;
31
32 int32_t current_number;
33 int32_t min_value;
34 int32_t max_value;
GUI: DialogEx view module API.
GUI: Elements API.
Furi HAL API.
GUI: main API.
Input: main API.
GUI: Integer string keyboard view module API.
GUI: SceneManager API.
Definition dialog_ex.c:5
Definition example_number_input.h:24
Gui structure.
Definition gui_i.h:47
Definition number_input.c:8
Definition scene_manager_i.h:17
Definition view_dispatcher_i.h:16
GUI: View API.
GUI: ViewDispatcher API.