NexProgressBar.h
Go to the documentation of this file.
#ifndef __NEXPROGRESSBAR_H__
#define __NEXPROGRESSBAR_H__
#include "NexTouch.h"
#include "NexHardware.h"
class NexProgressBar: public NexObject
{
public: /* methods */
NexProgressBar(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);
};
#endif /* #ifndef __NEXPROGRESSBAR_H__ */
NexProgressBar::Set_background_color_bco
bool Set_background_color_bco(uint32_t number)
Set bco attribute of component.
Definition: NexProgressBar.cpp:56
NexProgressBar::setValue
bool setValue(uint32_t number)
Set the value of progress bar.
Definition: NexProgressBar.cpp:32
NexTouch.h
The definition of class NexTouch.
NexHardware.h
The definition of base API for using Nextion.
NexProgressBar::getValue
bool getValue(uint32_t *number)
Get the value of progress bar.
Definition: NexProgressBar.cpp:23
NexObject
Root class of all Nextion components.
Definition: NexObject.h:32
NexProgressBar::Set_font_color_pco
bool Set_font_color_pco(uint32_t number)
Set pco attribute of component.
Definition: NexProgressBar.cpp:84
NexProgressBar::Get_background_color_bco
uint32_t Get_background_color_bco(uint32_t *number)
Get bco attribute of component.
Definition: NexProgressBar.cpp:46
NexProgressBar::NexProgressBar
NexProgressBar(uint8_t pid, uint8_t cid, const char *name)
Constructor.
Definition: NexProgressBar.cpp:18
NexProgressBar
NexProgressBar component.
Definition: NexProgressBar.h:30
NexProgressBar::Get_font_color_pco
uint32_t Get_font_color_pco(uint32_t *number)
Get pco attribute of component.
Definition: NexProgressBar.cpp:74