NexNumber.h
Go to the documentation of this file.
#ifndef __NEXNUMBER_H__
#define __NEXNUMBER_H__
#include "NexTouch.h"
#include "NexHardware.h"
class NexNumber: public NexTouch
{
public: /* methods */
NexNumber(uint8_t pid, uint8_t cid, const char *name);
bool getValue(uint32_t *number);
bool setValue(uint32_t number);
uint32_t Get_background_color_bco(uint32_t *number);
bool Set_background_color_bco(uint32_t number);
uint32_t Get_font_color_pco(uint32_t *number);
bool Set_font_color_pco(uint32_t number);
uint32_t Get_place_xcen(uint32_t *number);
bool Set_place_xcen(uint32_t number);
uint32_t Get_place_ycen(uint32_t *number);
bool Set_place_ycen(uint32_t number);
uint32_t getFont(uint32_t *number);
bool setFont(uint32_t number);
uint32_t Get_number_lenth(uint32_t *number);
bool Set_number_lenth(uint32_t number);
uint32_t Get_background_crop_picc(uint32_t *number);
bool Set_background_crop_picc(uint32_t number);
uint32_t Get_background_image_pic(uint32_t *number);
bool Set_background_image_pic(uint32_t number);
};
#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