NeoNextion
Arduino library for the Nextion displays.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator
NextionPicture.h
Go to the documentation of this file.
1 
3 #ifndef __NEONEXTION_NEXTIONPICTURE
4 #define __NEONEXTION_NEXTIONPICTURE
5 
6 #include "Nextion.h"
7 #include "INextionTouchable.h"
8 
14 {
15 public:
16  NextionPicture(Nextion &nex, uint8_t page, uint8_t component,
17  const char *name);
18 
19  uint16_t getPictureID();
20  bool setPictureID(uint16_t id);
21 };
22 
23 #endif
bool setPictureID(uint16_t id)
Sets the picture to be displayed.
Definition: NextionPicture.cpp:30
uint16_t getPictureID()
Gets the ID of the currently displayed picture.
Definition: NextionPicture.cpp:20
Represents a full size picture widget.
Definition: NextionPicture.h:13
Interface for widgets that can be touched.
Definition: INextionTouchable.h:15
NextionPicture(Nextion &nex, uint8_t page, uint8_t component, const char *name)
Create a new widget adapter.
Definition: NextionPicture.cpp:9
Driver for a physical Nextion device.
Definition: Nextion.h:31