40 #include <nuttx/config.h> 42 #include <sys/types.h> 47 #ifdef CONFIG_NXTERM_NXKBDIN 48 # include <nuttx/nx/nxterm.h> 80 #ifdef CONFIG_NX_XYINPUT 90 #ifdef CONFIG_NXTERM_NXKBDIN 107 FAR
const struct nxgl_rect_s *rect,
108 bool bMore, FAR
void *arg)
110 ginfo(
"hwnd=%p rect={(%d,%d),(%d,%d)} bMore=%s\n",
112 rect->pt1.x, rect->pt1.y, rect->pt2.x, rect->pt2.y,
113 bMore ?
"true" :
"false");
138 FAR
const struct nxgl_size_s *size,
139 FAR
const struct nxgl_point_s *pos,
140 FAR
const struct nxgl_rect_s *bounds,
143 ginfo(
"hwnd=%p size=(%d,%d) pos=(%d,%d) bounds={(%d,%d),(%d,%d)} arg=%p\n",
144 hwnd, size->w, size->h, pos->x, pos->y,
145 bounds->pt1.x, bounds->pt1.y, bounds->pt2.x, bounds->pt2.y,
168 #ifdef CONFIG_NX_XYINPUT 170 FAR
const struct nxgl_point_s *pos,
171 uint8_t buttons, FAR
void *arg)
173 ginfo(
"hwnd=%p pos=(%d,%d) buttons=%02x arg=%p\n",
174 hwnd, pos->x, pos->y, buttons, arg);
199 FAR
const uint8_t *str,
202 ginfo(
"hwnd=%p nCh=%d arg=%p\n", hwnd, nCh, arg);
212 #ifdef CONFIG_NXTERM_NXKBDIN 217 nxterm_kbdin(This->
m_nxterm, str, nCh);
228 #endif // CONFIG_NX_KBD 251 ginfo(
"hwnd=%p arg1=%p arg2=%p\n", hwnd, arg1, arg2);
static void windowBlocked(NXWINDOW hwnd, FAR void *arg1, FAR void *arg2)
void windowBlocked(FAR void *arg)
static void newKeyboardEvent(NXHANDLE hwnd, uint8_t nCh, FAR const uint8_t *str, FAR void *arg)
struct nx_callback_s m_callbacks
void redrawEvent(FAR const struct nxgl_rect_s *nxRect, bool more)
CWidgetControl * m_widgetControl
CCallback(CWidgetControl *widgetControl)
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)
void geometryEvent(NXHANDLE hWindow, const struct nxgl_size_s *size, const struct nxgl_point_s *pos, const struct nxgl_rect_s *bounds)
void newKeyboardEvent(uint8_t nCh, FAR const uint8_t *pStr)
static void redraw(NXHANDLE hwnd, FAR const struct nxgl_rect_s *rect, bool bMore, FAR void *arg)
void newMouseEvent(FAR const struct nxgl_point_s *pos, uint8_t buttons)