![]() |
API
For Arduino developers
|
NexProgressBar,subclass of NexTouch,provides simple methods to control progress bar component. More...
#include <NexProgressBar.h>
Public Member Functions | |
| NexProgressBar (NexPid pid, NexCid cid, const char *name) | |
| Constructor,inherited NexTouch's constructor function. | |
| bool | getValue (uint32_t *number) |
| Get the value of progress bar. More... | |
| bool | setValue (uint32_t number) |
| Set the value of progress bar. More... | |
Public Member Functions inherited from NexObject | |
| NexObject (NexPid pid, NexCid cid, const char *name) | |
| Constructor. More... | |
| NexPid | getObjPid (void) |
| Get page id. More... | |
| NexCid | getObjCid (void) |
| Get component id. More... | |
| const char * | getObjName (void) |
| Get component name. More... | |
| void | printObjInfo (void) |
| Print current object address,page id,component id, component name,pop event function address,push event function address. | |
NexProgressBar,subclass of NexTouch,provides simple methods to control progress bar component.
Definition at line 26 of file NexProgressBar.h.
| bool NexProgressBar::getValue | ( | uint32_t * | number | ) |
Get the value of progress bar.
| number | - an output parameter to save the value of porgress bar. |
| true | - success. |
| false | - failed. |
Definition at line 35 of file NexProgressBar.cpp.
| bool NexProgressBar::setValue | ( | uint32_t | number | ) |
Set the value of progress bar.
| number | - the value of progress bar. |
| true | - success. |
| false | - failed. |
Definition at line 52 of file NexProgressBar.cpp.
1.8.7