Documentation: NexProgressBar.h Source File

| Documentation For Arduino users

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

- File List
- File Members

NexProgressBar.h
Go to the documentation of this file.
1
17 #ifndef __NEXPROGRESSBAR_H__
18 #define __NEXPROGRESSBAR_H__
19
20 #include "NexTouch.h"
21 #include "NexHardware.h"
30 class NexProgressBar: public NexObject
31 {
32 public: /* methods */
36 NexProgressBar(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 };
90
95 #endif /* #ifndef __NEXPROGRESSBAR_H__ */
NexProgressBar::Set_background_color_bco
bool Set_background_color_bco(uint32_t number)
Set bco attribute of component.
Definition: NexProgressBar.cpp:56
NexProgressBar::setValue
bool setValue(uint32_t number)
Set the value of progress bar.
Definition: NexProgressBar.cpp:32
NexTouch.h
The definition of class NexTouch.
NexHardware.h
The definition of base API for using Nextion.
NexProgressBar::getValue
bool getValue(uint32_t *number)
Get the value of progress bar.
Definition: NexProgressBar.cpp:23
NexObject
Root class of all Nextion components.
Definition: NexObject.h:32
NexProgressBar::Set_font_color_pco
bool Set_font_color_pco(uint32_t number)
Set pco attribute of component.
Definition: NexProgressBar.cpp:84
NexProgressBar::Get_background_color_bco
uint32_t Get_background_color_bco(uint32_t *number)
Get bco attribute of component.
Definition: NexProgressBar.cpp:46
NexProgressBar::NexProgressBar
NexProgressBar(uint8_t pid, uint8_t cid, const char *name)
Constructor.
Definition: NexProgressBar.cpp:18
NexProgressBar
NexProgressBar component.
Definition: NexProgressBar.h:30
NexProgressBar::Get_font_color_pco
uint32_t Get_font_color_pco(uint32_t *number)
Get pco attribute of component.
Definition: NexProgressBar.cpp:74