summaryrefslogtreecommitdiff
path: root/apps/examples/nximage/nximage_bkgd.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/nximage/nximage_bkgd.c')
-rw-r--r--apps/examples/nximage/nximage_bkgd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/examples/nximage/nximage_bkgd.c b/apps/examples/nximage/nximage_bkgd.c
index ddd7b4a72..b20f777c1 100644
--- a/apps/examples/nximage/nximage_bkgd.c
+++ b/apps/examples/nximage/nximage_bkgd.c
@@ -127,7 +127,7 @@ static void nximage_position(NXWINDOW 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);
-#ifdef CONFIG_NX_MOUSE
+#ifdef CONFIG_NX_XYINPUT
static void nximage_mousein(NXWINDOW hwnd, FAR const struct nxgl_point_s *pos,
uint8_t buttons, FAR void *arg);
#endif
@@ -157,7 +157,7 @@ const struct nx_callback_s g_nximagecb =
{
nximage_redraw, /* redraw */
nximage_position /* position */
-#ifdef CONFIG_NX_MOUSE
+#ifdef CONFIG_NX_XYINPUT
, nximage_mousein /* mousein */
#endif
#ifdef CONFIG_NX_KBD
@@ -231,7 +231,7 @@ static void nximage_position(NXWINDOW hwnd, FAR const struct nxgl_size_s *size,
*
****************************************************************************/
-#ifdef CONFIG_NX_MOUSE
+#ifdef CONFIG_NX_XYINPUT
static void nximage_mousein(NXWINDOW hwnd, FAR const struct nxgl_point_s *pos,
uint8_t buttons, FAR void *arg)
{