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:
parent
d91fb4e8c9
commit
f57ea060ea
@ -89,12 +89,12 @@ Issues:
|
||||
with the window drag movement. it is hard to tell because of
|
||||
limitations in the touchscreen performance on the system that I am
|
||||
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
|
||||
background image image widget needs to be removed; it can occlude a
|
||||
dektop icon. We need to paint the image directly on the background
|
||||
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
|
||||
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
|
||||
|
@ -69,7 +69,7 @@
|
||||
#include "graphics/twm4nx/cwindowevent.hxx"
|
||||
#include "graphics/twm4nx/cwindowfactory.hxx"
|
||||
#include "graphics/twm4nx/ctwm4nxevent.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_widgetevents.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_events.hxx"
|
||||
#include "graphics/twm4nx/ciconmgr.hxx"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -60,7 +60,7 @@
|
||||
#include "graphics/twm4nx/cwindowfactory.hxx"
|
||||
#include "graphics/twm4nx/cbackground.hxx"
|
||||
#include "graphics/twm4nx/ciconwidget.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_widgetevents.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_events.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_cursor.hxx"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -50,7 +50,7 @@
|
||||
#include <graphics/twm4nx/ctwm4nx.hxx>
|
||||
#include <graphics/twm4nx/cmenus.hxx>
|
||||
#include <graphics/twm4nx/cmainmenu.hxx>
|
||||
#include <graphics/twm4nx/twm4nx_widgetevents.hxx>
|
||||
#include <graphics/twm4nx/twm4nx_events.hxx>
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Implementation Class Definition
|
||||
|
@ -71,7 +71,7 @@
|
||||
#include "graphics/twm4nx/cwindowfactory.hxx"
|
||||
#include "graphics/twm4nx/cwindowevent.hxx"
|
||||
#include "graphics/twm4nx/ctwm4nxevent.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_widgetevents.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_events.hxx"
|
||||
#include "graphics/twm4nx/cmenus.hxx"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -59,7 +59,7 @@
|
||||
#include "graphics/twm4nx/cfonts.hxx"
|
||||
#include "graphics/twm4nx/cwindow.hxx"
|
||||
#include "graphics/twm4nx/ctwm4nxevent.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_widgetevents.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_events.hxx"
|
||||
#include "graphics/twm4nx/cresize.hxx"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -80,7 +80,7 @@
|
||||
#include "graphics/twm4nx/cmainmenu.hxx"
|
||||
#include "graphics/twm4nx/cresize.hxx"
|
||||
#include "graphics/twm4nx/cfonts.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_widgetevents.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_events.hxx"
|
||||
|
||||
// Applications
|
||||
|
||||
|
@ -78,7 +78,7 @@
|
||||
#include "graphics/twm4nx/cwindow.hxx"
|
||||
#include "graphics/twm4nx/cwindowfactory.hxx"
|
||||
#include "graphics/twm4nx/ctwm4nxevent.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_widgetevents.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_events.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_cursor.hxx"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -64,7 +64,7 @@
|
||||
#include "graphics/twm4nx/cwindowfactory.hxx"
|
||||
#include "graphics/twm4nx/ciconmgr.hxx"
|
||||
#include "graphics/twm4nx/cmainmenu.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_widgetevents.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_events.hxx"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CWindowFactory Implementation
|
||||
|
@ -54,7 +54,7 @@
|
||||
#include "graphics/twm4nx/cwindow.hxx"
|
||||
#include "graphics/twm4nx/cmainmenu.hxx"
|
||||
#include "graphics/twm4nx/iapplication.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_widgetevents.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_events.hxx"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Implementation Classes
|
||||
@ -76,8 +76,8 @@ namespace Twm4Nx
|
||||
FAR struct SWindowEntry *flink; /**< Forward link to next window entry */
|
||||
FAR struct SWindowEntry *blink; /**< Backward link to previous window entry */
|
||||
FAR CWindow *cwin; /**< The window payload */
|
||||
int row; /**< X position in the button array */
|
||||
int column;
|
||||
int row; /**< Y position in the button array */
|
||||
int column; /**< X position in the button array */
|
||||
};
|
||||
|
||||
class CIconMgr : protected NXWidgets::CWidgetEventHandler,
|
||||
|
@ -49,7 +49,7 @@
|
||||
|
||||
#include "graphics/twm4nx/ctwm4nx.hxx"
|
||||
#include "graphics/twm4nx/ctwm4nxevent.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_widgetevents.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_events.hxx"
|
||||
#include "graphics/twm4nx/iapplication.hxx"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -64,7 +64,7 @@
|
||||
#include "graphics/nxwidgets/cimage.hxx"
|
||||
|
||||
#include "graphics/twm4nx/cwindowevent.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_widgetevents.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_events.hxx"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Pre-processor Definitions
|
||||
|
@ -50,7 +50,7 @@
|
||||
#include "graphics/nxwidgets/cwindoweventhandler.hxx"
|
||||
#include "graphics/nxwidgets/cwidgetstyle.hxx"
|
||||
#include "graphics/nxwidgets/cwidgetcontrol.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_widgetevents.hxx"
|
||||
#include "graphics/twm4nx/twm4nx_events.hxx"
|
||||
#include "graphics/twm4nx/ctwm4nx.hxx"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// apps/graphics/twm4nx/include/twm4nx_widgetevents.hxx
|
||||
// apps/graphics/twm4nx/include/twm4nx_events.hxx
|
||||
// Twm4Nx Widget Event Handling
|
||||
//
|
||||
// Copyright (C) 2019 Gregory Nutt. All rights reserved.
|
||||
@ -34,8 +34,8 @@
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef __APPS_INCLUDE_GRAPHICS_TWM4NX_TWM4NX_WIDGETEVENTS_HXX
|
||||
#define __APPS_INCLUDE_GRAPHICS_TWM4NX_TWM4NX_WIDGETEVENTS_HXX
|
||||
#ifndef __APPS_INCLUDE_GRAPHICS_TWM4NX_TWM4NX_EVENTS_HXX
|
||||
#define __APPS_INCLUDE_GRAPHICS_TWM4NX_TWM4NX_EVENTS_HXX
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Included Files
|
||||
@ -250,4 +250,4 @@ namespace Twm4Nx
|
||||
};
|
||||
}
|
||||
|
||||
#endif // __APPS_INCLUDE_GRAPHICS_TWM4NX_TWM4NX_WIDGETEVENTS_HXX
|
||||
#endif // __APPS_INCLUDE_GRAPHICS_TWM4NX_TWM4NX_EVENTS_HXX
|
Loading…
Reference in New Issue
Block a user