NeoNextion
Arduino library for the Nextion displays.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator
NextionDualStateButton.h
Go to the documentation of this file.
1 
3 #ifndef __NEONEXTION_NEXTIONDUALSTATEBUTTON
4 #define __NEONEXTION_NEXTIONDUALSTATEBUTTON
5 
6 #include "Nextion.h"
7 #include "INextionTouchable.h"
8 #include "INextionColourable.h"
10 
16  public INextionColourable,
18 {
19 public:
23  NextionDualStateButton(Nextion &nex, uint8_t page, uint8_t component,
24  const char *name)
25  : INextionWidget(nex, page, component, name)
26  , INextionTouchable(nex, page, component, name)
27  , INextionColourable(nex, page, component, name)
28  , INextionBooleanValued(nex, page, component, name)
29  {
30  }
31 };
32 
33 #endif
NextionDualStateButton(Nextion &nex, uint8_t page, uint8_t component, const char *name)
Create a new widget adapter.
Definition: NextionDualStateButton.h:23
Abstract class for all UI widgets.
Definition: INextionWidget.h:15
Interface for widgets that can be touched.
Definition: INextionTouchable.h:15
Interface for widgets that can be coloured.
Definition: INextionColourable.h:14
Interface for widgets that store a boolean value.
Definition: INextionBooleanValued.h:16
Represents a dual state button widget.
Definition: NextionDualStateButton.h:15
Driver for a physical Nextion device.
Definition: Nextion.h:31