70 #ifndef __INCLUDE_CWIDGETEVENTARGS_HXX 71 #define __INCLUDE_CWIDGETEVENTARGS_HXX 77 #include <nuttx/config.h> 82 #include <nuttx/nx/nxglib.h> 92 #define KEY_CODE_NONE ((nxwidget_char_t)0x00) 93 #define KEY_CODE_BACKSPACE ((nxwidget_char_t)0x08) 94 #define KEY_CODE_DELETE ((nxwidget_char_t)0x7f) 95 #define KEY_CODE_ENTER ((nxwidget_char_t)0x0d) 101 #if defined(__cplusplus) 150 const nxgl_coord_t vX,
const nxgl_coord_t vY,
168 inline const nxgl_coord_t
getX(
void)
const 180 inline const nxgl_coord_t
getY(
void)
const 192 inline const nxgl_coord_t
getVX(
void)
const 204 inline const nxgl_coord_t
getVY(
void)
const 230 return (ECursorControl)
m_key;
235 #endif // __cplusplus 237 #endif // __INCLUDE_CWIDGETEVENTARGS_HXX
const nxgl_coord_t getX(void) const
const nxgl_coord_t getVY(void) const
const nxgl_coord_t getVX(void) const
const nxwidget_char_t getKey(void) const
const nxgl_coord_t getY(void) const
CWidgetEventArgs(CNxWidget *source, const nxgl_coord_t x, const nxgl_coord_t y, const nxgl_coord_t vX, const nxgl_coord_t vY, const nxwidget_char_t key)
const ECursorControl getCursorControl(void) const