Documentation
For Arduino users
NexCrop.h
Go to the documentation of this file.
1 
17 #ifndef __NEXCROP_H__
18 #define __NEXCROP_H__
19 
20 #include "NexTouch.h"
21 #include "NexHardware.h"
30 class NexCrop: public NexTouch
31 {
32 public: /* methods */
33 
37  NexCrop(uint8_t pid, uint8_t cid, const char *name);
38 
47  bool Get_background_crop_picc(uint32_t *number);
48 
57  bool Set_background_crop_picc(uint32_t number);
58 
67  bool getPic(uint32_t *number);
68 
77  bool setPic(uint32_t number);
78 };
79 
84 #endif /* #ifndef __NEXCROP_H__ */
bool Get_background_crop_picc(uint32_t *number)
Get the number of picture.
Definition: NexCrop.cpp:23
bool getPic(uint32_t *number)
Get the number of picture.
Definition: NexCrop.cpp:46
NexCrop(uint8_t pid, uint8_t cid, const char *name)
Constructor.
Definition: NexCrop.cpp:18
The definition of class NexTouch.
The definition of base API for using Nextion.
bool setPic(uint32_t number)
Set the number of picture.
Definition: NexCrop.cpp:55
NexCrop component.
Definition: NexCrop.h:30
bool Set_background_crop_picc(uint32_t number)
Set the number of picture.
Definition: NexCrop.cpp:32
Father class of the components with touch events.
Definition: NexTouch.h:53