forked from DanNixon/NeoNextion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNextionNumber.h
35 lines (31 loc) · 959 Bytes
/
NextionNumber.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*! \file */
#ifndef __NEONEXTION_NEXTIONNUMBER
#define __NEONEXTION_NEXTIONNUMBER
#include "Nextion.h"
#include "INextionTouchable.h"
#include "INextionColourable.h"
#include "INextionNumericalValued.h"
#include "INextionFontStyleable.h"
/*!
* \class NextionNumber
* \brief Represents a number widget.
*/
class NextionNumber : public INextionTouchable,
public INextionColourable,
public INextionNumericalValued,
public INextionFontStyleable
{
public:
/*!
* \copydoc INextionWidget::INextionWidget
*/
NextionNumber(Nextion &nex, uint8_t page, uint8_t component, const char *name)
: INextionWidget(nex, page, component, name)
, INextionTouchable(nex, page, component, name)
, INextionColourable(nex, page, component, name)
, INextionNumericalValued(nex, page, component, name)
, INextionFontStyleable(nex, page, component, name)
{
}
};
#endif