16 #ifndef __NEXPICTURE_H__
17 #define __NEXPICTURE_H__
28 NexPicture(NexPid pid, NexCid cid,
char *name, NexTouchEventCb pop = NULL,
void *pop_ptr = NULL);
30 void attachPop(NexTouchEventCb pop,
void *ptr = NULL);
33 bool getPic(uint32_t *number);
34 bool setPic(uint32_t number);
void detachPop(void)
Unload picture pop callback function.
bool setPic(uint32_t number)
Set picture's number.
NexPicture(NexPid pid, NexCid cid, char *name, NexTouchEventCb pop=NULL, void *pop_ptr=NULL)
Constructor,inherited NexTouch's constructor function.
NexPicture,subclass of NexTouch,provides simple methods to control picture component.
void attachPop(NexTouchEventCb pop, void *ptr=NULL)
Register picture pop callback function.
bool getPic(uint32_t *number)
Get picture's number.
Root Class of Nextion Components.