mirror of
https://github.com/itead/ITEADLIB_Arduino_Nextion.git
synced 2026-03-06 18:16:49 +01:00
Modified: class tree structure.
Signed-off-by: shennongmin <wupangfee@gmail.com>
This commit is contained in:
23
NexPage.cpp
23
NexPage.cpp
@@ -19,8 +19,8 @@
|
||||
* Constructor,inherited NexTouch's constructor function.
|
||||
*
|
||||
*/
|
||||
NexPage::NexPage(NexPid pid, NexCid cid, const char *name, NexTouchEventCb pop, void *pop_ptr)
|
||||
:NexTouch(pid, cid, name, pop, pop_ptr)
|
||||
NexPage::NexPage(NexPid pid, NexCid cid, const char *name)
|
||||
:NexTouch(pid, cid, name)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -46,22 +46,3 @@ bool NexPage::show(void)
|
||||
return recvRetCommandFinished();
|
||||
}
|
||||
|
||||
/**
|
||||
* Register page pop callback function.
|
||||
*
|
||||
* @param pop - the pointer to page pop callback function.
|
||||
* @param ptr - the parameter to be transmitted to page pop callback function.
|
||||
*/
|
||||
void NexPage::attachPop(NexTouchEventCb pop, void *ptr)
|
||||
{
|
||||
NexTouch::attachPop(pop, ptr);
|
||||
}
|
||||
|
||||
/**
|
||||
* Unload page pop callback function.
|
||||
*
|
||||
*/
|
||||
void NexPage::detachPop(void)
|
||||
{
|
||||
NexTouch::detachPop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user