Documentation: NexNumber.h Source File

| Documentation For Arduino users

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

- File List
- File Members

NexNumber.h
Go to the documentation of this file.
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__ */
NexNumber::Get_background_color_bco
uint32_t Get_background_color_bco(uint32_t *number)
Get bco attribute of component.
Definition: NexNumber.cpp:45
NexNumber
NexNumber component.
Definition: NexNumber.h:30
NexNumber::Set_font_color_pco
bool Set_font_color_pco(uint32_t number)
Set pco attribute of component.
Definition: NexNumber.cpp:83
NexNumber::Set_background_crop_picc
bool Set_background_crop_picc(uint32_t number)
Set picc attribute of component.
Definition: NexNumber.cpp:223
NexNumber::NexNumber
NexNumber(uint8_t pid, uint8_t cid, const char *name)
Constructor.
Definition: NexNumber.cpp:17
NexNumber::Get_number_lenth
uint32_t Get_number_lenth(uint32_t *number)
Get lenth attribute of component.
Definition: NexNumber.cpp:185
NexNumber::Get_place_xcen
uint32_t Get_place_xcen(uint32_t *number)
Get xcen attribute of component.
Definition: NexNumber.cpp:101
NexNumber::Set_number_lenth
bool Set_number_lenth(uint32_t number)
Set lenth attribute of component.
Definition: NexNumber.cpp:195
NexNumber::setFont
bool setFont(uint32_t number)
Set font attribute of component.
Definition: NexNumber.cpp:167
NexNumber::Get_background_image_pic
uint32_t Get_background_image_pic(uint32_t *number)
Get pic attribute of component.
Definition: NexNumber.cpp:241
NexNumber::Set_background_image_pic
bool Set_background_image_pic(uint32_t number)
Set pic attribute of component.
Definition: NexNumber.cpp:250
NexTouch.h
The definition of class NexTouch.
NexHardware.h
The definition of base API for using Nextion.
NexNumber::Set_place_ycen
bool Set_place_ycen(uint32_t number)
Set ycen attribute of component.
Definition: NexNumber.cpp:139
NexNumber::Get_place_ycen
uint32_t Get_place_ycen(uint32_t *number)
Get ycen attribute of component.
Definition: NexNumber.cpp:129
NexNumber::setValue
bool setValue(uint32_t number)
Set number attribute of component.
Definition: NexNumber.cpp:31
NexNumber::getFont
uint32_t getFont(uint32_t *number)
Get font attribute of component.
Definition: NexNumber.cpp:157
NexNumber::getValue
bool getValue(uint32_t *number)
Get number attribute of component.
Definition: NexNumber.cpp:22
NexNumber::Get_font_color_pco
uint32_t Get_font_color_pco(uint32_t *number)
Get pco attribute of component.
Definition: NexNumber.cpp:73
NexNumber::Set_background_color_bco
bool Set_background_color_bco(uint32_t number)
Set bco attribute of component.
Definition: NexNumber.cpp:55
NexTouch
Father class of the components with touch events.
Definition: NexTouch.h:53
NexNumber::Set_place_xcen
bool Set_place_xcen(uint32_t number)
Set xcen attribute of component.
Definition: NexNumber.cpp:111
NexNumber::Get_background_crop_picc
uint32_t Get_background_crop_picc(uint32_t *number)
Get picc attribute of component.
Definition: NexNumber.cpp:213