NexCrop component.
More...
#include <NexCrop.h>
Inherits NexTouch.
|
| | NexCrop (uint8_t pid, uint8_t cid, const char *name) |
| | Constructor. More...
|
| |
| bool | Get_background_crop_picc (uint32_t *number) |
| | Get the number of picture. More...
|
| |
| bool | Set_background_crop_picc (uint32_t number) |
| | Set the number of picture. More...
|
| |
| bool | getPic (uint32_t *number) |
| | Get the number of picture. More...
|
| |
| bool | setPic (uint32_t number) |
| | Set the number of picture. More...
|
| |
| | NexTouch (uint8_t pid, uint8_t cid, const char *name) |
| | Constructor. More...
|
| |
| void | attachPush (NexTouchEventCb push, void *ptr=NULL) |
| | Attach an callback function of push touch event. More...
|
| |
| void | detachPush (void) |
| | Detach an callback function. More...
|
| |
| void | attachPop (NexTouchEventCb pop, void *ptr=NULL) |
| | Attach an callback function of pop touch event. More...
|
| |
| void | detachPop (void) |
| | Detach an callback function. More...
|
| |
| | NexObject (uint8_t pid, uint8_t cid, const char *name) |
| | Constructor. More...
|
| |
| void | printObjInfo (void) |
| | Print current object'address, page id, component id and name. More...
|
| |
NexCrop component.
- Examples:
- CompCrop.ino.
Definition at line 30 of file NexCrop.h.
| NexCrop::NexCrop |
( |
uint8_t |
pid, |
|
|
uint8_t |
cid, |
|
|
const char * |
name |
|
) |
| |
Constructor.
- Parameters
-
| pid | - page id. |
| cid | - component id. |
| name | - pointer to an unique name in range of all components. |
Definition at line 18 of file NexCrop.cpp.
| bool NexCrop::Get_background_crop_picc |
( |
uint32_t * |
number | ) |
|
Get the number of picture.
- Parameters
-
| number | - an output parameter to save the number of picture. |
- Return values
-
| true | - success. |
| false | - failed. |
Definition at line 23 of file NexCrop.cpp.
| bool NexCrop::getPic |
( |
uint32_t * |
number | ) |
|
Get the number of picture.
- Parameters
-
| number | - an output parameter to save the number of picture. |
- Return values
-
| true | - success. |
| false | - failed. |
- Examples:
- CompCrop.ino.
Definition at line 46 of file NexCrop.cpp.
| bool NexCrop::Set_background_crop_picc |
( |
uint32_t |
number | ) |
|
Set the number of picture.
- Parameters
-
| number | - the number of picture. |
- Return values
-
| true | - success. |
| false | - failed. |
Definition at line 32 of file NexCrop.cpp.
| bool NexCrop::setPic |
( |
uint32_t |
number | ) |
|
Set the number of picture.
- Parameters
-
| number | - the number of picture. |
- Return values
-
| true | - success. |
| false | - failed. |
- Examples:
- CompCrop.ino.
Definition at line 55 of file NexCrop.cpp.
The documentation for this class was generated from the following files: