NexSlider component.
More...
#include <NexSlider.h>
|
| NexSlider (uint8_t pid, uint8_t cid, const char *name) |
| Constructor. More...
|
|
bool | getValue (uint32_t *number) |
| Get the value of slider. More...
|
|
bool | setValue (uint32_t number) |
| Set the value of slider. More...
|
|
| NexTouch (uint8_t pid, uint8_t cid, const char *name) |
| Constructor. More...
|
|
void | attachPush (NexTouchEventCb push, void *ptr=NULL) |
| Attach an callback function of push touch event. More...
|
|
void | detachPush (void) |
| Detach an callback function. More...
|
|
void | attachPop (NexTouchEventCb pop, void *ptr=NULL) |
| Attach an callback function of pop touch event. More...
|
|
void | detachPop (void) |
| Detach an callback function. More...
|
|
| NexObject (uint8_t pid, uint8_t cid, const char *name) |
| Constructor. More...
|
|
void | printObjInfo (void) |
| Print current object'address, page id, component id and name. More...
|
|
NexSlider component.
- Examples:
- CompSlider.ino.
Definition at line 30 of file NexSlider.h.
NexSlider::NexSlider |
( |
uint8_t |
pid, |
|
|
uint8_t |
cid, |
|
|
const char * |
name |
|
) |
| |
Constructor.
- Parameters
-
pid | - page id. |
cid | - component id. |
name | - pointer to an unique name in range of all components. |
Definition at line 17 of file NexSlider.cpp.
bool NexSlider::getValue |
( |
uint32_t * |
number | ) |
|
Get the value of slider.
- Parameters
-
number | - an output parameter to save the value of slider. |
- Return values
-
true | - success. |
false | - failed. |
- Examples:
- CompSlider.ino.
Definition at line 22 of file NexSlider.cpp.
bool NexSlider::setValue |
( |
uint32_t |
number | ) |
|
Set the value of slider.
- Parameters
-
number | - the value of slider. |
- Return values
-
true | - success. |
false | - failed. |
Definition at line 31 of file NexSlider.cpp.
The documentation for this class was generated from the following files: