Documentation: NexCheckbox.h Source File

| Documentation For Arduino users

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

- File List
- File Members

NexCheckbox.h
Go to the documentation of this file.
1
17 #ifndef __NEXCHECKBOX_H__
18 #define __NEXCHECKBOX_H__
19
20 #include "NexTouch.h"
21 #include "NexHardware.h"
35 class NexCheckbox: public NexTouch
36 {
37 public: /* methods */
38
42 NexCheckbox(uint8_t pid, uint8_t cid, const char *name);
43
50 uint32_t getValue(uint32_t *number);
51
58 bool setValue(uint32_t number);
59
66 uint32_t Get_background_color_bco(uint32_t *number);
67
74 bool Set_background_color_bco(uint32_t number);
75
82 uint32_t Get_font_color_pco(uint32_t *number);
83
90 bool Set_font_color_pco(uint32_t number);
91 };
97 #endif /* #ifndef __NEXCHECKBOX_H__ */
NexCheckbox::setValue
bool setValue(uint32_t number)
Set val attribute of component.
Definition: NexCheckbox.cpp:31
NexCheckbox::Set_background_color_bco
bool Set_background_color_bco(uint32_t number)
Set bco attribute of component.
Definition: NexCheckbox.cpp:55
NexCheckbox::Set_font_color_pco
bool Set_font_color_pco(uint32_t number)
Set pco attribute of component.
Definition: NexCheckbox.cpp:83
NexCheckbox::Get_background_color_bco
uint32_t Get_background_color_bco(uint32_t *number)
Get bco attribute of component.
Definition: NexCheckbox.cpp:45
NexCheckbox::Get_font_color_pco
uint32_t Get_font_color_pco(uint32_t *number)
Get pco attribute of component.
Definition: NexCheckbox.cpp:73
NexTouch.h
The definition of class NexTouch.
NexCheckbox::getValue
uint32_t getValue(uint32_t *number)
Get val attribute of component.
Definition: NexCheckbox.cpp:22
NexHardware.h
The definition of base API for using Nextion.
NexCheckbox
NexButton component.
Definition: NexCheckbox.h:35
NexCheckbox::NexCheckbox
NexCheckbox(uint8_t pid, uint8_t cid, const char *name)
Constructor.
Definition: NexCheckbox.cpp:17
NexTouch
Father class of the components with touch events.
Definition: NexTouch.h:53