Documentation: NexGauge.h Source File

| Documentation For Arduino users

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

- File List
- File Members

NexGauge.h
Go to the documentation of this file.
1
17 #ifndef __NEXGAUGE_H__
18 #define __NEXGAUGE_H__
19
20 #include "NexTouch.h"
21 #include "NexHardware.h"
30 class NexGauge: public NexObject
31 {
32 public: /* methods */
36 NexGauge(uint8_t pid, uint8_t cid, const char *name);
37
46 bool getValue(uint32_t *number);
47
56 bool setValue(uint32_t number);
57
64 uint32_t Get_background_color_bco(uint32_t *number);
65
72 bool Set_background_color_bco(uint32_t number);
73
80 uint32_t Get_font_color_pco(uint32_t *number);
81
88 bool Set_font_color_pco(uint32_t number);
89
96 uint32_t Get_pointer_thickness_wid(uint32_t *number);
97
104 bool Set_pointer_thickness_wid(uint32_t number);
105
112 uint32_t Get_background_cropi_picc(uint32_t *number);
113
120 bool Set_background_crop_picc(uint32_t number);
121 };
122
127 #endif /* #ifndef __NEXGAUGE_H__ */
NexGauge
NexGauge component.
Definition: NexGauge.h:30
NexGauge::setValue
bool setValue(uint32_t number)
Set the value of gauge.
Definition: NexGauge.cpp:32
NexGauge::Get_font_color_pco
uint32_t Get_font_color_pco(uint32_t *number)
Get pco attribute of component.
Definition: NexGauge.cpp:74
NexGauge::NexGauge
NexGauge(uint8_t pid, uint8_t cid, const char *name)
Constructor.
Definition: NexGauge.cpp:18
NexGauge::Get_background_cropi_picc
uint32_t Get_background_cropi_picc(uint32_t *number)
Get picc attribute of component.
Definition: NexGauge.cpp:130
NexGauge::Set_pointer_thickness_wid
bool Set_pointer_thickness_wid(uint32_t number)
Set wid attribute of component.
Definition: NexGauge.cpp:112
NexGauge::Set_background_crop_picc
bool Set_background_crop_picc(uint32_t number)
Set picc attribute of component.
Definition: NexGauge.cpp:140
NexGauge::Get_pointer_thickness_wid
uint32_t Get_pointer_thickness_wid(uint32_t *number)
Get wid attribute of component.
Definition: NexGauge.cpp:102
NexGauge::Set_font_color_pco
bool Set_font_color_pco(uint32_t number)
Set pco attribute of component.
Definition: NexGauge.cpp:84
NexTouch.h
The definition of class NexTouch.
NexGauge::getValue
bool getValue(uint32_t *number)
Get the value of gauge.
Definition: NexGauge.cpp:23
NexGauge::Get_background_color_bco
uint32_t Get_background_color_bco(uint32_t *number)
Get bco attribute of component.
Definition: NexGauge.cpp:46
NexHardware.h
The definition of base API for using Nextion.
NexGauge::Set_background_color_bco
bool Set_background_color_bco(uint32_t number)
Set bco attribute of component.
Definition: NexGauge.cpp:56
NexObject
Root class of all Nextion components.
Definition: NexObject.h:32