28 sendCommand(cmd.c_str());
29 return recvRetString(buffer,len);
39 sendCommand(cmd.c_str());
40 return recvRetCommandFinished();
49 sendCommand(cmd.c_str());
50 return recvRetNumber(number);
58 utoa(number, buf, 10);
62 sendCommand(cmd.c_str());
67 sendCommand(cmd.c_str());
68 return recvRetCommandFinished();
77 sendCommand(cmd.c_str());
78 return recvRetNumber(number);
86 utoa(number, buf, 10);
90 sendCommand(cmd.c_str());
95 sendCommand(cmd.c_str());
96 return recvRetCommandFinished();
105 sendCommand(cmd.c_str());
106 return recvRetNumber(number);
114 utoa(number, buf, 10);
118 sendCommand(cmd.c_str());
123 sendCommand(cmd.c_str());
124 return recvRetCommandFinished();
133 sendCommand(cmd.c_str());
134 return recvRetNumber(number);
142 utoa(number, buf, 10);
146 sendCommand(cmd.c_str());
151 sendCommand(cmd.c_str());
152 return recvRetCommandFinished();
161 sendCommand(cmd.c_str());
162 return recvRetNumber(number);
170 utoa(number, buf, 10);
174 sendCommand(cmd.c_str());
179 sendCommand(cmd.c_str());
180 return recvRetCommandFinished();
189 sendCommand(cmd.c_str());
190 return recvRetNumber(number);
198 utoa(number, buf, 10);
202 sendCommand(cmd.c_str());
207 sendCommand(cmd.c_str());
208 return recvRetCommandFinished();
213 String cmd = String(
"get ");
216 sendCommand(cmd.c_str());
217 return recvRetNumber(number);
225 utoa(number, buf, 10);
230 sendCommand(cmd.c_str());
231 return recvRetCommandFinished();
bool Set_font_color_pco(uint32_t number)
Set pco attribute of component.
uint32_t getFont(uint32_t *number)
Get font attribute of component.
NexText(uint8_t pid, uint8_t cid, const char *name)
Constructor.
bool setText(const char *buffer)
Set text attribute of component.
uint32_t Get_background_image_pic(uint32_t *number)
Get pic attribute of component.
The definition of class NexText.
uint32_t Get_place_xcen(uint32_t *number)
Get xcen attribute of component.
uint32_t Get_background_crop_picc(uint32_t *number)
Get picc attribute of component.
uint32_t Get_background_color_bco(uint32_t *number)
Get bco attribute of component.
bool Set_place_ycen(uint32_t number)
Set ycen attribute of component.
uint16_t getText(char *buffer, uint16_t len)
Get text attribute of component.
bool Set_background_crop_picc(uint32_t number)
Set picc attribute of component.
uint32_t Get_place_ycen(uint32_t *number)
Get ycen attribute of component.
bool Set_background_color_bco(uint32_t number)
Set bco attribute of component.
uint32_t Get_font_color_pco(uint32_t *number)
Get pco attribute of component.
bool Set_place_xcen(uint32_t number)
Set xcen attribute of component.
bool Set_background_image_pic(uint32_t number)
Set pic attribute of component.
Father class of the components with touch events.
bool setFont(uint32_t number)
Set font attribute of component.