mirror of
https://github.com/itead/ITEADLIB_Arduino_Nextion.git
synced 2026-03-04 17:24:03 +01:00
21 lines
474 B
C++
21 lines
474 B
C++
#ifndef __NEXPOINTER_H__
|
|
#define __NEXPOINTER_H__
|
|
#ifdef __cplusplus
|
|
#include "NexTouch.h"
|
|
|
|
/**
|
|
* NexPointer,subclass of NexTouch,provides simple methods to control pointer component.
|
|
*
|
|
*/
|
|
class NexPointer: public NexTouch
|
|
{
|
|
public: /* methods */
|
|
NexPointer(NexPid pid, NexCid cid, char *name);
|
|
|
|
bool getValue(uint32_t *number);
|
|
bool setValue(uint32_t number);
|
|
};
|
|
|
|
#endif /* #ifdef __cplusplus */
|
|
#endif /* #ifndef __NEXPOINTER_H__ */
|