Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
NexNumber.h
1 
17 #ifndef __NEXNUMBER_H__
18 #define __NEXNUMBER_H__
19 
20 #include "NexTouch.h"
21 #include "NexHardware.h"
30 class NexNumber: public NexTouch
31 {
32 public: /* methods */
36  NexNumber(uint8_t pid, uint8_t cid, const char *name);
37 
44  bool getValue(uint32_t *number);
45 
52  bool setValue(uint32_t number);
53 
60  uint32_t Get_background_color_bco(uint32_t *number);
61 
68  bool Set_background_color_bco(uint32_t number);
69 
76  uint32_t Get_font_color_pco(uint32_t *number);
77 
84  bool Set_font_color_pco(uint32_t number);
85 
92  uint32_t Get_place_xcen(uint32_t *number);
93 
100  bool Set_place_xcen(uint32_t number);
101 
108  uint32_t Get_place_ycen(uint32_t *number);
109 
116  bool Set_place_ycen(uint32_t number);
117 
124  uint32_t getFont(uint32_t *number);
125 
132  bool setFont(uint32_t number);
133 
140  uint32_t Get_number_lenth(uint32_t *number);
141 
148  bool Set_number_lenth(uint32_t number);
149 
156  uint32_t Get_background_crop_picc(uint32_t *number);
157 
164  bool Set_background_crop_picc(uint32_t number);
165 
172  uint32_t Get_background_image_pic(uint32_t *number);
173 
180  bool Set_background_image_pic(uint32_t number);
181 };
182 
187 #endif /* #ifndef __NEXNUMBER_H__ */
Definition: NexTouch.h:53
bool Set_font_color_pco(uint32_t number)
uint32_t Get_place_ycen(uint32_t *number)
uint32_t Get_background_color_bco(uint32_t *number)
bool Set_background_color_bco(uint32_t number)
NexNumber(uint8_t pid, uint8_t cid, const char *name)
uint32_t Get_background_crop_picc(uint32_t *number)
bool Set_number_lenth(uint32_t number)
bool setFont(uint32_t number)
Definition: NexNumber.h:30
bool Set_place_ycen(uint32_t number)
bool Set_background_crop_picc(uint32_t number)
bool setValue(uint32_t number)
uint32_t Get_background_image_pic(uint32_t *number)
uint32_t Get_place_xcen(uint32_t *number)
uint32_t Get_font_color_pco(uint32_t *number)
uint32_t Get_number_lenth(uint32_t *number)
bool getValue(uint32_t *number)
bool Set_place_xcen(uint32_t number)
uint32_t getFont(uint32_t *number)
bool Set_background_image_pic(uint32_t number)