API
For Arduino developers
NexCrop.h
Go to the documentation of this file.
1 
16 #ifndef __NEXCROP_H__
17 #define __NEXCROP_H__
18 #ifdef __cplusplus
19 #include "NexTouch.h"
20 
25 class NexCrop: public NexTouch
26 {
27 public: /* methods */
28  NexCrop(NexPid pid, NexCid cid, char *name, NexTouchEventCb pop = NULL, void *pop_ptr = NULL);
29 
30  void attachPop(NexTouchEventCb pop, void *ptr = NULL);
31  void detachPop(void);
32 
33  bool getPic(uint32_t *number);
34  bool setPic(uint32_t number);
35 };
36 
37 #endif /* #ifdef __cplusplus */
38 #endif /* #ifndef __NEXCROP_H__ */
NexCrop(NexPid pid, NexCid cid, char *name, NexTouchEventCb pop=NULL, void *pop_ptr=NULL)
Constructor,inherited NexTouch's constructor function.
Definition: NexCrop.cpp:22
void detachPop(void)
Unload crop pop callback function.
Definition: NexCrop.cpp:81
void attachPop(NexTouchEventCb pop, void *ptr=NULL)
Register crop pop callback function.
Definition: NexCrop.cpp:72
API of Nextion.
NexCrop,subclass of NexTouch,provides simple methods to control crop component.
Definition: NexCrop.h:25
Root Class of Nextion Components.
Definition: NexTouch.h:57