Documentation
For Arduino users
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__ */
uint32_t Get_pointer_thickness_wid(uint32_t *number)
Get wid attribute of component.
Definition: NexSlider.cpp:101
NexSlider component.
Definition: NexSlider.h:30
bool setValue(uint32_t number)
Set the value of slider.
Definition: NexSlider.cpp:31
uint32_t Get_cursor_height_hig(uint32_t *number)
Get hig attribute of component.
Definition: NexSlider.cpp:129
uint32_t getMinval(uint32_t *number)
Get minval attribute of component.
Definition: NexSlider.cpp:185
bool getValue(uint32_t *number)
Get the value of slider.
Definition: NexSlider.cpp:22
bool Set_cursor_height_hig(uint32_t number)
Set hig attribute of component.
Definition: NexSlider.cpp:139
uint32_t Get_background_color_bco(uint32_t *number)
Get bco attribute of component.
Definition: NexSlider.cpp:45
NexSlider(uint8_t pid, uint8_t cid, const char *name)
Constructor.
Definition: NexSlider.cpp:17
bool setMinval(uint32_t number)
Set minval attribute of component.
Definition: NexSlider.cpp:195
bool setMaxval(uint32_t number)
Set maxval attribute of component.
Definition: NexSlider.cpp:167
The definition of class NexTouch.
uint32_t getMaxval(uint32_t *number)
Get maxval attribute of component.
Definition: NexSlider.cpp:157
The definition of base API for using Nextion.
uint32_t Get_font_color_pco(uint32_t *number)
Get pco attribute of component.
Definition: NexSlider.cpp:73
bool Set_background_color_bco(uint32_t number)
Set bco attribute of component.
Definition: NexSlider.cpp:55
bool Set_font_color_pco(uint32_t number)
Set pco attribute of component.
Definition: NexSlider.cpp:83
Father class of the components with touch events.
Definition: NexTouch.h:53
bool Set_pointer_thickness_wid(uint32_t number)
Set wid attribute of component.
Definition: NexSlider.cpp:111