Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
NexCheckbox.h
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__ */
Definition: NexTouch.h:53
NexCheckbox(uint8_t pid, uint8_t cid, const char *name)
Definition: NexCheckbox.h:35
uint32_t Get_font_color_pco(uint32_t *number)
uint32_t Get_background_color_bco(uint32_t *number)
bool Set_font_color_pco(uint32_t number)
bool setValue(uint32_t number)
uint32_t getValue(uint32_t *number)
bool Set_background_color_bco(uint32_t number)