36 #ifndef __INCLUDE_CCALLBACK_HXX 37 #define __INCLUDE_CCALLBACK_HXX 43 #include <nuttx/config.h> 45 #include <sys/types.h> 49 #include <nuttx/nx/nxglib.h> 50 #include <nuttx/nx/nx.h> 52 #ifdef CONFIG_NXTERM_NXKBDIN 53 # include <nuttx/nx/nxterm.h> 66 #if defined(__cplusplus) 96 #ifdef CONFIG_NXTERM_NXKBDIN 117 static void redraw(NXHANDLE hwnd, FAR
const struct nxgl_rect_s *rect,
118 bool bMore, FAR
void *arg);
137 static void position(NXHANDLE hwnd, FAR
const struct nxgl_size_s *size,
138 FAR
const struct nxgl_point_s *pos,
139 FAR
const struct nxgl_rect_s *bounds,
161 #ifdef CONFIG_NX_XYINPUT 163 FAR
const struct nxgl_point_s *pos,
164 uint8_t buttons, FAR
void *arg);
188 FAR
const uint8_t *str, FAR
void *arg);
189 #endif // CONFIG_NX_KBD 210 static void windowBlocked(NXWINDOW hwnd, FAR
void *arg1, FAR
void *arg2);
258 #ifdef CONFIG_NXTERM_NXKBDIN 267 #endif // __cplusplus 269 #endif // __INCLUDE_CCALLBACK_HXX static void windowBlocked(NXWINDOW hwnd, FAR void *arg1, FAR void *arg2)
static void newKeyboardEvent(NXHANDLE hwnd, uint8_t nCh, FAR const uint8_t *str, FAR void *arg)
struct nx_callback_s m_callbacks
CWidgetControl * m_widgetControl
CCallback(CWidgetControl *widgetControl)
void setNxTerm(NXTERM handle)
static void newMouseEvent(NXHANDLE hwnd, FAR const struct nxgl_point_s *pos, uint8_t buttons, FAR void *arg)
static void position(NXHANDLE hwnd, FAR const struct nxgl_size_s *size, FAR const struct nxgl_point_s *pos, FAR const struct nxgl_rect_s *bounds, FAR void *arg)
static void redraw(NXHANDLE hwnd, FAR const struct nxgl_rect_s *rect, bool bMore, FAR void *arg)
FAR struct nx_callback_s * getCallbackVTable(void)