From 8182037783c49e3f1ba2dfb7ae230a6486e07156 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 16 Jul 2014 16:31:31 -0600 Subject: [PATCH] Rename CONFIG_NX_MOUSE to CONFIG_NX_INPUT, then add CONFIG_NX_XYINPUT_MOUSE and CONFIG_XYINPUT_TOUCHSCREEN --- Documentation/NXGraphicsSubsystem.html | 10 +++--- configs/compal_e99/nsh_highram/defconfig | 2 +- configs/hymini-stm32v/nsh2/defconfig | 2 +- configs/lm3s6965-ek/nx/defconfig | 5 ++- configs/lm3s8962-ek/nx/defconfig | 5 ++- configs/lpcxpresso-lpc1768/nx/defconfig | 5 ++- configs/maple/nx/defconfig | 2 +- configs/mikroe-stm32f4/fulldemo/defconfig | 5 ++- configs/mikroe-stm32f4/nx/defconfig | 2 +- configs/mikroe-stm32f4/nxlines/defconfig | 2 +- configs/mikroe-stm32f4/nxtext/defconfig | 2 +- configs/olimex-lpc1766stk/nx/defconfig | 5 ++- configs/open1788/nxlines/defconfig | 2 +- configs/sam3u-ek/nx/defconfig | 5 ++- configs/sam3u-ek/nxwm/defconfig | 5 ++- configs/sama5d3x-ek/nx/defconfig | 5 ++- configs/sama5d3x-ek/nxwm/defconfig | 5 ++- configs/sama5d4-ek/README.txt | 2 +- configs/sama5d4-ek/nsh/defconfig | 5 ++- configs/sama5d4-ek/nxwm/defconfig | 5 ++- configs/shenzhou/nxwm/defconfig | 5 ++- configs/sim/nsh2/defconfig | 5 ++- configs/sim/nx/defconfig | 5 ++- configs/sim/nx11/defconfig | 5 ++- configs/sim/nxlines/defconfig | 5 ++- configs/sim/nxwm/defconfig | 2 +- configs/sim/touchscreen/defconfig | 5 ++- configs/stm3210e-eval/nsh2/defconfig | 5 ++- configs/stm3210e-eval/nx/defconfig | 5 ++- configs/stm3210e-eval/nxconsole/defconfig | 5 ++- configs/stm3210e-eval/pm/defconfig | 5 ++- configs/stm3220g-eval/nxwm/defconfig | 5 ++- configs/stm3240g-eval/knxwm/defconfig | 2 +- configs/stm3240g-eval/nxconsole/defconfig | 5 ++- configs/stm3240g-eval/nxwm/defconfig | 5 ++- configs/stm32f4discovery/nxlines/defconfig | 5 ++- configs/zkit-arm-1769/nxhello/defconfig | 5 ++- configs/zp214xpa/nxlines/defconfig | 2 +- graphics/Kconfig | 37 ++++++++++++++++++++-- graphics/README.txt | 5 +-- graphics/nxconsole/nxcon_internal.h | 2 +- graphics/nxmu/nxfe.h | 6 ++-- graphics/nxmu/nxmu_mouse.c | 4 +-- graphics/nxmu/nxmu_openwindow.c | 2 +- graphics/nxmu/nxmu_requestbkgd.c | 2 +- graphics/nxmu/nxmu_server.c | 4 +-- graphics/nxsu/nx_constructwindow.c | 2 +- graphics/nxsu/nx_mousein.c | 4 +-- graphics/nxsu/nx_open.c | 4 +-- graphics/nxsu/nx_requestbkgd.c | 2 +- graphics/nxsu/nxfe.h | 4 +-- include/nuttx/nx/nx.h | 4 +-- include/nuttx/nx/nxmu.h | 4 +-- libnx/nxmu/nx_eventhandler.c | 2 +- libnx/nxmu/nx_mousein.c | 4 +-- libnx/nxtk/nxtk_events.c | 6 ++-- 56 files changed, 185 insertions(+), 75 deletions(-) diff --git a/Documentation/NXGraphicsSubsystem.html b/Documentation/NXGraphicsSubsystem.html index 743e0368aa..af7392f5de 100644 --- a/Documentation/NXGraphicsSubsystem.html +++ b/Documentation/NXGraphicsSubsystem.html @@ -923,7 +923,7 @@ struct nx_callback_s 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 void (*mousein)(NXWINDOW hwnd, FAR const struct nxgl_point_s *pos, uint8_t buttons, FAR void *arg); #endif @@ -1001,7 +1001,7 @@ void position(NXWINDOW hwnd, FAR const struct nxgl_size_s *size,

2.3.3.3 mousein()

Callback Function Prototype:

@@ -3259,8 +3259,8 @@ int nxf_convert_32bpp(FAR uint32_t *dest, uint16_t height,