MyRP2_ui_core
Loading...
Searching...
No Matches
test_widget_on_serial_monitor.h
Go to the documentation of this file.
1
11
#if !defined(WIDGET_PRINT_SERIAL_MONITOR_H)
12
#define WIDGET_PRINT_SERIAL_MONITOR_H
13
14
#include <string>
15
#include "
test_controlled_value.h
"
16
#include "
test_manager.h
"
17
18
#include "
ui_core.h
"
19
20
class
TestCursorWidgetWithIncrementalValue
:
public
UIWidget
21
{
22
private
:
23
float
char_position_slope;
24
float
char_position_offset;
25
uint8_t max_line_width = 21;
26
int
value_to_char_position();
27
28
TestIncrementalValue
*actual_displayed_object;
29
void
draw();
30
31
public
:
32
TestCursorWidgetWithIncrementalValue
(
TestIncrementalValue
*_actual_displayed_object);
33
~TestCursorWidgetWithIncrementalValue
();
34
void
refresh
();
35
};
36
37
class
TestObjectManagerWidget
:
public
UIWidget
38
{
39
private
:
40
Test_Manager
* actual_displayed_object;
41
void
draw();
42
public
:
43
TestObjectManagerWidget
(
Test_Manager
* _manager);
44
~TestObjectManagerWidget
();
45
void
refresh
();
46
};
47
48
class
TestSetOfWidget
:
public
UIWidget
49
{
50
private
:
51
/* data */
52
void
draw();
53
public
:
54
TestSetOfWidget
(
/* args */
);
55
~TestSetOfWidget
();
56
};
57
58
59
60
#endif
// WIDGET_PRINT_SERIAL_MONITOR_H
Test_Manager
Definition
test_manager.h:17
TestCursorWidgetWithIncrementalValue
Definition
test_widget_on_serial_monitor.h:21
TestCursorWidgetWithIncrementalValue::refresh
void refresh()
WARNING : this function can be redefined. When several widget display one Model, only le last one mus...
Definition
test_widget_on_serial_monitor.cpp:33
TestIncrementalValue
Definition
test_controlled_value.h:17
TestObjectManagerWidget
Definition
test_widget_on_serial_monitor.h:38
TestObjectManagerWidget::refresh
void refresh()
WARNING : this function can be redefined. When several widget display one Model, only le last one mus...
Definition
test_widget_on_serial_monitor.cpp:85
TestSetOfWidget
Definition
test_widget_on_serial_monitor.h:49
UIWidget
Definition
ui_core.h:364
test_controlled_value.h
test_manager.h
ui_core.h
Users
chris
OneDrive
MyRP2_CPP_UI
ui_core
test_ui_core
test_widget_on_serial_monitor.h
Generated by
1.11.0