Documentation: NexSlider.h Source File

| Documentation For Arduino users

- Main Page
- Related Pages
- Modules
- Classes
- Files
- Examples

- File List
- File Members

NexSlider.h
Go to the documentation of this file.
1
17 #ifndef __NEXSLIDER_H__
18 #define __NEXSLIDER_H__
19
20 #include "NexTouch.h"
21 #include "NexHardware.h"
30 class NexSlider: public NexTouch
31 {
32 public: /* methods */
36 NexSlider(uint8_t pid, uint8_t cid, const char *name);
37
46 bool getValue(uint32_t *number);
47
56 bool setValue(uint32_t number);
57
64 uint32_t Get_background_color_bco(uint32_t *number);
65
72 bool Set_background_color_bco(uint32_t number);
73
80 uint32_t Get_font_color_pco(uint32_t *number);
81
88 bool Set_font_color_pco(uint32_t number);
89
96 uint32_t Get_pointer_thickness_wid(uint32_t *number);
97
104 bool Set_pointer_thickness_wid(uint32_t number);
105
112 uint32_t Get_cursor_height_hig(uint32_t *number);
113
120 bool Set_cursor_height_hig(uint32_t number);
121
128 uint32_t getMaxval(uint32_t *number);
129
136 bool setMaxval(uint32_t number);
137
144 uint32_t getMinval(uint32_t *number);
145
152 bool setMinval(uint32_t number);
153 };
159 #endif /* #ifndef __NEXSLIDER_H__ */
NexSlider::Get_pointer_thickness_wid
uint32_t Get_pointer_thickness_wid(uint32_t *number)
Get wid attribute of component.
Definition: NexSlider.cpp:101
NexSlider
NexSlider component.
Definition: NexSlider.h:30
NexSlider::setValue
bool setValue(uint32_t number)
Set the value of slider.
Definition: NexSlider.cpp:31
NexSlider::Get_cursor_height_hig
uint32_t Get_cursor_height_hig(uint32_t *number)
Get hig attribute of component.
Definition: NexSlider.cpp:129
NexSlider::getMinval
uint32_t getMinval(uint32_t *number)
Get minval attribute of component.
Definition: NexSlider.cpp:185
NexSlider::getValue
bool getValue(uint32_t *number)
Get the value of slider.
Definition: NexSlider.cpp:22
NexSlider::Set_cursor_height_hig
bool Set_cursor_height_hig(uint32_t number)
Set hig attribute of component.
Definition: NexSlider.cpp:139
NexSlider::Get_background_color_bco
uint32_t Get_background_color_bco(uint32_t *number)
Get bco attribute of component.
Definition: NexSlider.cpp:45
NexSlider::NexSlider
NexSlider(uint8_t pid, uint8_t cid, const char *name)
Constructor.
Definition: NexSlider.cpp:17
NexSlider::setMinval
bool setMinval(uint32_t number)
Set minval attribute of component.
Definition: NexSlider.cpp:195
NexSlider::setMaxval
bool setMaxval(uint32_t number)
Set maxval attribute of component.
Definition: NexSlider.cpp:167
NexTouch.h
The definition of class NexTouch.
NexSlider::getMaxval
uint32_t getMaxval(uint32_t *number)
Get maxval attribute of component.
Definition: NexSlider.cpp:157
NexHardware.h
The definition of base API for using Nextion.
NexSlider::Get_font_color_pco
uint32_t Get_font_color_pco(uint32_t *number)
Get pco attribute of component.
Definition: NexSlider.cpp:73
NexSlider::Set_background_color_bco
bool Set_background_color_bco(uint32_t number)
Set bco attribute of component.
Definition: NexSlider.cpp:55
NexSlider::Set_font_color_pco
bool Set_font_color_pco(uint32_t number)
Set pco attribute of component.
Definition: NexSlider.cpp:83
NexTouch
Father class of the components with touch events.
Definition: NexTouch.h:53
NexSlider::Set_pointer_thickness_wid
bool Set_pointer_thickness_wid(uint32_t number)
Set wid attribute of component.
Definition: NexSlider.cpp:111