apps/graphics/twm4nx: Rename twm4nx_widgetevents.hxx to twm4m_events.hxx. The name was misleading because it includes other types of events as well.

This commit is contained in:
Gregory Nutt 2019-05-14 14:00:21 -06:00
parent d91fb4e8c9
commit f57ea060ea
14 changed files with 20 additions and 20 deletions

View File

@ -89,12 +89,12 @@ Issues:
with the window drag movement. it is hard to tell because of with the window drag movement. it is hard to tell because of
limitations in the touchscreen performance on the system that I am limitations in the touchscreen performance on the system that I am
working with. working with.
7. Icom drag movement includes logic to avoid collisions with other 7. Icon drag movement includes logic to avoid collisions with other
icons and with the background image. That later is an issue. The icons and with the background image. That later is an issue. The
background image image widget needs to be removed; it can occlude a background image image widget needs to be removed; it can occlude a
dektop icon. We need to paint the image directly on the background dektop icon. We need to paint the image directly on the background
without the use of a widget. without the use of a widget.
8. More issues with the background image: I absords touchscreen 8. More issues with the background image: It absorbs touchscreen
presses without doing anything. It should bring-up the main menu presses without doing anything. It should bring-up the main menu
menu just as any other region of the background. This would be easy menu just as any other region of the background. This would be easy
to fix, but just replacing the background image widget is the better to fix, but just replacing the background image widget is the better

View File

@ -69,7 +69,7 @@
#include "graphics/twm4nx/cwindowevent.hxx" #include "graphics/twm4nx/cwindowevent.hxx"
#include "graphics/twm4nx/cwindowfactory.hxx" #include "graphics/twm4nx/cwindowfactory.hxx"
#include "graphics/twm4nx/ctwm4nxevent.hxx" #include "graphics/twm4nx/ctwm4nxevent.hxx"
#include "graphics/twm4nx/twm4nx_widgetevents.hxx" #include "graphics/twm4nx/twm4nx_events.hxx"
#include "graphics/twm4nx/ciconmgr.hxx" #include "graphics/twm4nx/ciconmgr.hxx"
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////

View File

@ -60,7 +60,7 @@
#include "graphics/twm4nx/cwindowfactory.hxx" #include "graphics/twm4nx/cwindowfactory.hxx"
#include "graphics/twm4nx/cbackground.hxx" #include "graphics/twm4nx/cbackground.hxx"
#include "graphics/twm4nx/ciconwidget.hxx" #include "graphics/twm4nx/ciconwidget.hxx"
#include "graphics/twm4nx/twm4nx_widgetevents.hxx" #include "graphics/twm4nx/twm4nx_events.hxx"
#include "graphics/twm4nx/twm4nx_cursor.hxx" #include "graphics/twm4nx/twm4nx_cursor.hxx"
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////

View File

@ -50,7 +50,7 @@
#include <graphics/twm4nx/ctwm4nx.hxx> #include <graphics/twm4nx/ctwm4nx.hxx>
#include <graphics/twm4nx/cmenus.hxx> #include <graphics/twm4nx/cmenus.hxx>
#include <graphics/twm4nx/cmainmenu.hxx> #include <graphics/twm4nx/cmainmenu.hxx>
#include <graphics/twm4nx/twm4nx_widgetevents.hxx> #include <graphics/twm4nx/twm4nx_events.hxx>
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Implementation Class Definition // Implementation Class Definition

View File

@ -71,7 +71,7 @@
#include "graphics/twm4nx/cwindowfactory.hxx" #include "graphics/twm4nx/cwindowfactory.hxx"
#include "graphics/twm4nx/cwindowevent.hxx" #include "graphics/twm4nx/cwindowevent.hxx"
#include "graphics/twm4nx/ctwm4nxevent.hxx" #include "graphics/twm4nx/ctwm4nxevent.hxx"
#include "graphics/twm4nx/twm4nx_widgetevents.hxx" #include "graphics/twm4nx/twm4nx_events.hxx"
#include "graphics/twm4nx/cmenus.hxx" #include "graphics/twm4nx/cmenus.hxx"
//////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////

View File

@ -59,7 +59,7 @@
#include "graphics/twm4nx/cfonts.hxx" #include "graphics/twm4nx/cfonts.hxx"
#include "graphics/twm4nx/cwindow.hxx" #include "graphics/twm4nx/cwindow.hxx"
#include "graphics/twm4nx/ctwm4nxevent.hxx" #include "graphics/twm4nx/ctwm4nxevent.hxx"
#include "graphics/twm4nx/twm4nx_widgetevents.hxx" #include "graphics/twm4nx/twm4nx_events.hxx"
#include "graphics/twm4nx/cresize.hxx" #include "graphics/twm4nx/cresize.hxx"
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////

View File

@ -80,7 +80,7 @@
#include "graphics/twm4nx/cmainmenu.hxx" #include "graphics/twm4nx/cmainmenu.hxx"
#include "graphics/twm4nx/cresize.hxx" #include "graphics/twm4nx/cresize.hxx"
#include "graphics/twm4nx/cfonts.hxx" #include "graphics/twm4nx/cfonts.hxx"
#include "graphics/twm4nx/twm4nx_widgetevents.hxx" #include "graphics/twm4nx/twm4nx_events.hxx"
// Applications // Applications

View File

@ -78,7 +78,7 @@
#include "graphics/twm4nx/cwindow.hxx" #include "graphics/twm4nx/cwindow.hxx"
#include "graphics/twm4nx/cwindowfactory.hxx" #include "graphics/twm4nx/cwindowfactory.hxx"
#include "graphics/twm4nx/ctwm4nxevent.hxx" #include "graphics/twm4nx/ctwm4nxevent.hxx"
#include "graphics/twm4nx/twm4nx_widgetevents.hxx" #include "graphics/twm4nx/twm4nx_events.hxx"
#include "graphics/twm4nx/twm4nx_cursor.hxx" #include "graphics/twm4nx/twm4nx_cursor.hxx"
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////

View File

@ -64,7 +64,7 @@
#include "graphics/twm4nx/cwindowfactory.hxx" #include "graphics/twm4nx/cwindowfactory.hxx"
#include "graphics/twm4nx/ciconmgr.hxx" #include "graphics/twm4nx/ciconmgr.hxx"
#include "graphics/twm4nx/cmainmenu.hxx" #include "graphics/twm4nx/cmainmenu.hxx"
#include "graphics/twm4nx/twm4nx_widgetevents.hxx" #include "graphics/twm4nx/twm4nx_events.hxx"
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// CWindowFactory Implementation // CWindowFactory Implementation

View File

@ -54,7 +54,7 @@
#include "graphics/twm4nx/cwindow.hxx" #include "graphics/twm4nx/cwindow.hxx"
#include "graphics/twm4nx/cmainmenu.hxx" #include "graphics/twm4nx/cmainmenu.hxx"
#include "graphics/twm4nx/iapplication.hxx" #include "graphics/twm4nx/iapplication.hxx"
#include "graphics/twm4nx/twm4nx_widgetevents.hxx" #include "graphics/twm4nx/twm4nx_events.hxx"
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Implementation Classes // Implementation Classes
@ -76,8 +76,8 @@ namespace Twm4Nx
FAR struct SWindowEntry *flink; /**< Forward link to next window entry */ FAR struct SWindowEntry *flink; /**< Forward link to next window entry */
FAR struct SWindowEntry *blink; /**< Backward link to previous window entry */ FAR struct SWindowEntry *blink; /**< Backward link to previous window entry */
FAR CWindow *cwin; /**< The window payload */ FAR CWindow *cwin; /**< The window payload */
int row; /**< X position in the button array */ int row; /**< Y position in the button array */
int column; int column; /**< X position in the button array */
}; };
class CIconMgr : protected NXWidgets::CWidgetEventHandler, class CIconMgr : protected NXWidgets::CWidgetEventHandler,

View File

@ -49,7 +49,7 @@
#include "graphics/twm4nx/ctwm4nx.hxx" #include "graphics/twm4nx/ctwm4nx.hxx"
#include "graphics/twm4nx/ctwm4nxevent.hxx" #include "graphics/twm4nx/ctwm4nxevent.hxx"
#include "graphics/twm4nx/twm4nx_widgetevents.hxx" #include "graphics/twm4nx/twm4nx_events.hxx"
#include "graphics/twm4nx/iapplication.hxx" #include "graphics/twm4nx/iapplication.hxx"
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////

View File

@ -64,7 +64,7 @@
#include "graphics/nxwidgets/cimage.hxx" #include "graphics/nxwidgets/cimage.hxx"
#include "graphics/twm4nx/cwindowevent.hxx" #include "graphics/twm4nx/cwindowevent.hxx"
#include "graphics/twm4nx/twm4nx_widgetevents.hxx" #include "graphics/twm4nx/twm4nx_events.hxx"
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Pre-processor Definitions // Pre-processor Definitions

View File

@ -50,7 +50,7 @@
#include "graphics/nxwidgets/cwindoweventhandler.hxx" #include "graphics/nxwidgets/cwindoweventhandler.hxx"
#include "graphics/nxwidgets/cwidgetstyle.hxx" #include "graphics/nxwidgets/cwidgetstyle.hxx"
#include "graphics/nxwidgets/cwidgetcontrol.hxx" #include "graphics/nxwidgets/cwidgetcontrol.hxx"
#include "graphics/twm4nx/twm4nx_widgetevents.hxx" #include "graphics/twm4nx/twm4nx_events.hxx"
#include "graphics/twm4nx/ctwm4nx.hxx" #include "graphics/twm4nx/ctwm4nx.hxx"
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////

View File

@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// apps/graphics/twm4nx/include/twm4nx_widgetevents.hxx // apps/graphics/twm4nx/include/twm4nx_events.hxx
// Twm4Nx Widget Event Handling // Twm4Nx Widget Event Handling
// //
// Copyright (C) 2019 Gregory Nutt. All rights reserved. // Copyright (C) 2019 Gregory Nutt. All rights reserved.
@ -34,8 +34,8 @@
// //
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
#ifndef __APPS_INCLUDE_GRAPHICS_TWM4NX_TWM4NX_WIDGETEVENTS_HXX #ifndef __APPS_INCLUDE_GRAPHICS_TWM4NX_TWM4NX_EVENTS_HXX
#define __APPS_INCLUDE_GRAPHICS_TWM4NX_TWM4NX_WIDGETEVENTS_HXX #define __APPS_INCLUDE_GRAPHICS_TWM4NX_TWM4NX_EVENTS_HXX
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Included Files // Included Files
@ -250,4 +250,4 @@ namespace Twm4Nx
}; };
} }
#endif // __APPS_INCLUDE_GRAPHICS_TWM4NX_TWM4NX_WIDGETEVENTS_HXX #endif // __APPS_INCLUDE_GRAPHICS_TWM4NX_TWM4NX_EVENTS_HXX