2011-10-19 20:32:21 +00:00
|
|
|
/*
|
|
|
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2004 Jean-Pierre Charras, jaen-pierre.charras@gipsa-lab.inpg.com
|
|
|
|
* Copyright (C) 2008-2011 Wayne Stambaugh <stambaughw@verizon.net>
|
2016-09-06 05:01:34 +00:00
|
|
|
* Copyright (C) 2004-2016 KiCad Developers, see AUTHORS.txt for contributors.
|
2011-10-19 20:32:21 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, you may find one here:
|
|
|
|
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
|
|
* or you may search the http://www.gnu.org website for the version 2 license,
|
|
|
|
* or you may write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* eeschema/controle.cpp
|
|
|
|
*/
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2012-01-23 04:33:36 +00:00
|
|
|
#include <fctsys.h>
|
|
|
|
#include <gr_basic.h>
|
2018-08-03 12:18:26 +00:00
|
|
|
#include <sch_draw_panel.h>
|
2012-01-23 04:33:36 +00:00
|
|
|
#include <eda_dde.h>
|
2018-01-30 10:49:51 +00:00
|
|
|
#include <sch_edit_frame.h>
|
2012-04-09 09:16:47 +00:00
|
|
|
#include <menus_helpers.h>
|
2013-01-12 17:32:24 +00:00
|
|
|
#include <msgpanel.h>
|
2017-02-20 12:20:39 +00:00
|
|
|
#include <bitmaps.h>
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2012-01-23 04:33:36 +00:00
|
|
|
#include <eeschema_id.h>
|
|
|
|
#include <general.h>
|
|
|
|
#include <hotkeys.h>
|
2018-01-30 10:49:51 +00:00
|
|
|
#include <lib_edit_frame.h>
|
2012-01-23 04:33:36 +00:00
|
|
|
#include <viewlib_frame.h>
|
|
|
|
#include <lib_draw_item.h>
|
|
|
|
#include <lib_pin.h>
|
|
|
|
#include <sch_sheet.h>
|
|
|
|
#include <sch_sheet_path.h>
|
|
|
|
#include <sch_marker.h>
|
|
|
|
#include <sch_component.h>
|
2009-07-07 17:50:02 +00:00
|
|
|
|
2009-09-25 18:49:04 +00:00
|
|
|
|
2011-03-25 19:16:05 +00:00
|
|
|
SCH_ITEM* SCH_EDIT_FRAME::LocateAndShowItem( const wxPoint& aPosition, const KICAD_T aFilterList[],
|
2018-01-16 23:48:13 +00:00
|
|
|
int aHotKeyCommandId,
|
2018-04-25 12:28:41 +00:00
|
|
|
bool* aClarificationMenuCancelled )
|
2009-12-02 21:44:03 +00:00
|
|
|
{
|
2011-02-02 19:01:21 +00:00
|
|
|
SCH_ITEM* item;
|
2009-10-08 13:19:28 +00:00
|
|
|
LIB_PIN* Pin = NULL;
|
2016-10-18 16:59:26 +00:00
|
|
|
SCH_COMPONENT* component = NULL;
|
2013-08-03 05:15:23 +00:00
|
|
|
wxPoint gridPosition = GetNearestGridPosition( aPosition );
|
2007-08-14 19:24:48 +00:00
|
|
|
|
2012-08-11 12:52:13 +00:00
|
|
|
// Check the on grid position first. There is more likely to be multiple items on
|
2011-03-25 19:16:05 +00:00
|
|
|
// grid than off grid.
|
2018-04-25 12:28:41 +00:00
|
|
|
m_canvas->SetAbortRequest( false ); // be sure a old abort request in not pending
|
2011-03-25 19:16:05 +00:00
|
|
|
item = LocateItem( gridPosition, aFilterList, aHotKeyCommandId );
|
2011-02-01 15:46:25 +00:00
|
|
|
|
2011-03-25 19:16:05 +00:00
|
|
|
// If the user aborted the clarification context menu, don't show it again at the
|
|
|
|
// off grid position.
|
2011-12-29 20:11:42 +00:00
|
|
|
if( !item && m_canvas->GetAbortRequest() )
|
2011-03-25 19:16:05 +00:00
|
|
|
{
|
2018-04-25 12:28:41 +00:00
|
|
|
if( aClarificationMenuCancelled )
|
|
|
|
*aClarificationMenuCancelled = true;
|
2018-01-16 23:48:13 +00:00
|
|
|
|
2011-12-29 20:11:42 +00:00
|
|
|
m_canvas->SetAbortRequest( false );
|
2011-03-25 19:16:05 +00:00
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
if( !item && (aPosition != gridPosition) )
|
|
|
|
item = LocateItem( aPosition, aFilterList, aHotKeyCommandId );
|
2011-02-01 15:46:25 +00:00
|
|
|
|
2011-02-02 19:01:21 +00:00
|
|
|
if( !item )
|
2011-03-25 19:16:05 +00:00
|
|
|
{
|
2018-04-25 12:28:41 +00:00
|
|
|
if( aClarificationMenuCancelled )
|
|
|
|
*aClarificationMenuCancelled = m_canvas->GetAbortRequest();
|
2018-01-16 23:48:13 +00:00
|
|
|
|
2011-12-29 20:11:42 +00:00
|
|
|
m_canvas->SetAbortRequest( false ); // Just in case the user aborted the context menu.
|
2007-08-14 19:24:48 +00:00
|
|
|
return NULL;
|
2011-03-25 19:16:05 +00:00
|
|
|
}
|
2007-08-14 19:24:48 +00:00
|
|
|
|
2014-04-20 04:35:34 +00:00
|
|
|
// Cross probing to Pcbnew if a pin or a component is found
|
2011-02-02 19:01:21 +00:00
|
|
|
switch( item->Type() )
|
2007-08-14 19:24:48 +00:00
|
|
|
{
|
2010-12-10 19:47:44 +00:00
|
|
|
case SCH_FIELD_T:
|
|
|
|
case LIB_FIELD_T:
|
2016-10-18 16:59:26 +00:00
|
|
|
component = (SCH_COMPONENT*) item->GetParent();
|
|
|
|
SendMessageToPCBNEW( item, component );
|
2007-08-14 19:24:48 +00:00
|
|
|
break;
|
|
|
|
|
2010-12-10 19:47:44 +00:00
|
|
|
case SCH_COMPONENT_T:
|
2016-10-18 16:59:26 +00:00
|
|
|
component = (SCH_COMPONENT*) item;
|
|
|
|
SendMessageToPCBNEW( item, component );
|
2007-08-14 19:24:48 +00:00
|
|
|
break;
|
|
|
|
|
2010-12-10 19:47:44 +00:00
|
|
|
case LIB_PIN_T:
|
2011-02-02 19:01:21 +00:00
|
|
|
Pin = (LIB_PIN*) item;
|
2016-10-18 16:59:26 +00:00
|
|
|
component = (SCH_COMPONENT*) LocateItem( aPosition, SCH_COLLECTOR::ComponentsOnly );
|
2007-08-14 19:24:48 +00:00
|
|
|
break;
|
2011-03-25 19:16:05 +00:00
|
|
|
|
2017-07-24 19:58:55 +00:00
|
|
|
/* case SCH_SHEET_T: */
|
|
|
|
/* // This may lag on larger projects */
|
|
|
|
/* SendMessageToPCBNEW( item, nullptr ); */
|
|
|
|
/* break; */
|
2011-03-25 19:16:05 +00:00
|
|
|
default:
|
|
|
|
;
|
2007-08-14 19:24:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if( Pin )
|
|
|
|
{
|
2011-02-02 19:01:21 +00:00
|
|
|
// Force display pin information (the previous display could be a component info)
|
2013-01-12 17:32:24 +00:00
|
|
|
MSG_PANEL_ITEMS items;
|
2014-04-20 04:35:34 +00:00
|
|
|
|
2018-04-10 10:52:12 +00:00
|
|
|
Pin->GetMsgPanelInfo( m_UserUnits, items, component );
|
2013-01-12 17:32:24 +00:00
|
|
|
|
|
|
|
SetMsgPanel( items );
|
2007-08-14 19:24:48 +00:00
|
|
|
|
2011-09-30 18:15:37 +00:00
|
|
|
// Cross probing:2 - pin found, and send a locate pin command to Pcbnew (highlight net)
|
2016-10-18 16:59:26 +00:00
|
|
|
SendMessageToPCBNEW( Pin, component );
|
2007-08-14 19:24:48 +00:00
|
|
|
}
|
2011-02-02 19:01:21 +00:00
|
|
|
|
|
|
|
return item;
|
2007-06-05 12:10:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-03-25 19:16:05 +00:00
|
|
|
SCH_ITEM* SCH_EDIT_FRAME::LocateItem( const wxPoint& aPosition, const KICAD_T aFilterList[],
|
|
|
|
int aHotKeyCommandId )
|
2009-12-02 21:44:03 +00:00
|
|
|
{
|
2011-03-25 19:16:05 +00:00
|
|
|
SCH_ITEM* item = NULL;
|
2007-08-14 19:24:48 +00:00
|
|
|
|
2011-03-25 19:16:05 +00:00
|
|
|
m_collectedItems.Collect( GetScreen()->GetDrawItems(), aFilterList, aPosition );
|
2010-12-10 19:47:44 +00:00
|
|
|
|
2011-03-25 19:16:05 +00:00
|
|
|
if( m_collectedItems.GetCount() == 0 )
|
2007-08-14 19:24:48 +00:00
|
|
|
{
|
2009-10-14 19:43:31 +00:00
|
|
|
ClearMsgPanel();
|
2007-08-14 19:24:48 +00:00
|
|
|
}
|
2011-03-25 19:16:05 +00:00
|
|
|
else if( m_collectedItems.GetCount() == 1 )
|
2007-08-14 19:24:48 +00:00
|
|
|
{
|
2011-03-25 19:16:05 +00:00
|
|
|
item = m_collectedItems[0];
|
2007-08-14 19:24:48 +00:00
|
|
|
}
|
2011-03-25 19:16:05 +00:00
|
|
|
else
|
2007-08-14 19:24:48 +00:00
|
|
|
{
|
2018-09-10 13:17:43 +00:00
|
|
|
// There are certain parent/child and enclosure combinations that can be handled
|
|
|
|
// automatically. Since schematics are meant to be human-readable we don't have
|
|
|
|
// all the various overlap and coverage issues that we do in Pcbnew.
|
|
|
|
if( m_collectedItems.GetCount() == 2 )
|
|
|
|
{
|
|
|
|
SCH_ITEM* a = m_collectedItems[ 0 ];
|
|
|
|
SCH_ITEM* b = m_collectedItems[ 1 ];
|
|
|
|
|
|
|
|
if( a->GetParent() == b )
|
|
|
|
item = a;
|
|
|
|
else if( a == b->GetParent() )
|
|
|
|
item = b;
|
|
|
|
else if( a->Type() == SCH_SHEET_T && b->Type() != SCH_SHEET_T )
|
|
|
|
item = b;
|
|
|
|
else if( b->Type() == SCH_SHEET_T && a->Type() != SCH_SHEET_T )
|
|
|
|
item = a;
|
|
|
|
}
|
|
|
|
|
2011-03-25 19:16:05 +00:00
|
|
|
// There are certain combinations of items that do not need clarification such as
|
|
|
|
// a corner were two lines meet or all the items form a junction.
|
|
|
|
if( aHotKeyCommandId )
|
2007-08-14 19:24:48 +00:00
|
|
|
{
|
2011-03-25 19:16:05 +00:00
|
|
|
switch( aHotKeyCommandId )
|
|
|
|
{
|
|
|
|
case HK_DRAG:
|
2011-05-20 19:21:09 +00:00
|
|
|
if( m_collectedItems.IsCorner() || m_collectedItems.IsNode( false )
|
|
|
|
|| m_collectedItems.IsDraggableJunction() )
|
2011-03-25 19:16:05 +00:00
|
|
|
{
|
|
|
|
item = m_collectedItems[0];
|
|
|
|
}
|
2016-09-06 05:01:34 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
case HK_MOVE_COMPONENT_OR_ITEM:
|
|
|
|
if( m_collectedItems.GetCount() == 2 &&
|
|
|
|
dynamic_cast< SCH_SHEET_PIN * >( m_collectedItems[0] ) &&
|
|
|
|
dynamic_cast< SCH_SHEET * >( m_collectedItems[1] ) )
|
|
|
|
{
|
|
|
|
item = m_collectedItems[0];
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
|
2011-03-25 19:16:05 +00:00
|
|
|
default:
|
|
|
|
;
|
|
|
|
}
|
2007-08-14 19:24:48 +00:00
|
|
|
}
|
2011-03-10 19:36:30 +00:00
|
|
|
|
2011-03-25 19:16:05 +00:00
|
|
|
if( item == NULL )
|
|
|
|
{
|
|
|
|
wxASSERT_MSG( m_collectedItems.GetCount() <= MAX_SELECT_ITEM_IDS,
|
|
|
|
wxT( "Select item clarification context menu size limit exceeded." ) );
|
|
|
|
|
|
|
|
wxMenu selectMenu;
|
|
|
|
|
2018-09-10 13:17:43 +00:00
|
|
|
AddMenuItem( &selectMenu, wxID_NONE, _( "Clarify Selection" ), KiBitmap( info_xpm ) );
|
2011-03-25 19:16:05 +00:00
|
|
|
selectMenu.AppendSeparator();
|
|
|
|
|
|
|
|
for( int i = 0; i < m_collectedItems.GetCount() && i < MAX_SELECT_ITEM_IDS; i++ )
|
|
|
|
{
|
2018-04-10 10:52:12 +00:00
|
|
|
wxString text = m_collectedItems[i]->GetSelectMenuText( m_UserUnits );
|
2011-08-29 03:04:59 +00:00
|
|
|
BITMAP_DEF xpm = m_collectedItems[i]->GetMenuImage();
|
2017-06-05 16:12:22 +00:00
|
|
|
AddMenuItem( &selectMenu, ID_SELECT_ITEM_START + i, text, KiBitmap( xpm ) );
|
2011-03-25 19:16:05 +00:00
|
|
|
}
|
|
|
|
|
2016-08-15 18:22:54 +00:00
|
|
|
// Set to NULL in case the user aborts the clarification context menu.
|
2011-03-25 19:16:05 +00:00
|
|
|
GetScreen()->SetCurItem( NULL );
|
2011-12-29 20:11:42 +00:00
|
|
|
m_canvas->SetAbortRequest( true ); // Changed to false if an item is selected
|
2011-03-25 19:16:05 +00:00
|
|
|
PopupMenu( &selectMenu );
|
2018-01-16 23:48:13 +00:00
|
|
|
|
|
|
|
if( !m_canvas->GetAbortRequest() )
|
|
|
|
{
|
|
|
|
m_canvas->MoveCursorToCrossHair();
|
|
|
|
item = GetScreen()->GetCurItem();
|
|
|
|
}
|
2011-03-25 19:16:05 +00:00
|
|
|
}
|
2007-08-14 19:24:48 +00:00
|
|
|
}
|
|
|
|
|
2011-10-19 20:32:21 +00:00
|
|
|
GetScreen()->SetCurItem( item );
|
|
|
|
|
2011-02-02 19:01:21 +00:00
|
|
|
if( item )
|
2013-01-12 17:32:24 +00:00
|
|
|
{
|
|
|
|
if( item->Type() == SCH_COMPONENT_T )
|
2016-02-15 20:15:51 +00:00
|
|
|
( (SCH_COMPONENT*) item )->SetCurrentSheetPath( &GetCurrentSheet() );
|
2013-01-12 17:32:24 +00:00
|
|
|
|
|
|
|
MSG_PANEL_ITEMS items;
|
2018-04-10 10:52:12 +00:00
|
|
|
item->GetMsgPanelInfo( m_UserUnits, items );
|
2013-01-12 17:32:24 +00:00
|
|
|
SetMsgPanel( items );
|
|
|
|
}
|
2011-03-25 19:16:05 +00:00
|
|
|
else
|
2013-01-12 17:32:24 +00:00
|
|
|
{
|
2010-07-21 01:37:34 +00:00
|
|
|
ClearMsgPanel();
|
2013-01-12 17:32:24 +00:00
|
|
|
}
|
2007-08-14 19:24:48 +00:00
|
|
|
|
2011-03-25 19:16:05 +00:00
|
|
|
return item;
|
2007-06-05 12:10:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-01-20 12:11:17 +00:00
|
|
|
bool SCH_EDIT_FRAME::GeneralControl( wxDC* aDC, const wxPoint& aPosition, EDA_KEY aHotKey )
|
2008-04-21 06:34:56 +00:00
|
|
|
{
|
2014-06-12 16:12:14 +00:00
|
|
|
// Filter out the 'fake' mouse motion after a keyboard movement
|
|
|
|
if( !aHotKey && m_movingCursorWithKeyboard )
|
|
|
|
{
|
|
|
|
m_movingCursorWithKeyboard = false;
|
2014-08-29 20:23:40 +00:00
|
|
|
return false;
|
2014-06-12 16:12:14 +00:00
|
|
|
}
|
2008-04-21 06:34:56 +00:00
|
|
|
|
2018-08-03 12:18:26 +00:00
|
|
|
|
2012-08-11 12:52:13 +00:00
|
|
|
// when moving mouse, use the "magnetic" grid, unless the shift+ctrl keys is pressed
|
|
|
|
// for next cursor position
|
|
|
|
// ( shift or ctrl key down are PAN command with mouse wheel)
|
|
|
|
bool snapToGrid = true;
|
2014-08-29 20:23:40 +00:00
|
|
|
|
2012-08-11 12:52:13 +00:00
|
|
|
if( !aHotKey && wxGetKeyState( WXK_SHIFT ) && wxGetKeyState( WXK_CONTROL ) )
|
|
|
|
snapToGrid = false;
|
|
|
|
|
2012-08-21 10:45:54 +00:00
|
|
|
// Cursor is left off grid only if no block in progress
|
|
|
|
if( GetScreen()->m_BlockLocate.GetState() != STATE_NO_BLOCK )
|
|
|
|
snapToGrid = true;
|
|
|
|
|
2014-06-12 16:12:14 +00:00
|
|
|
wxPoint pos = aPosition;
|
2017-10-06 07:23:13 +00:00
|
|
|
bool keyHandled = GeneralControlKeyMovement( aHotKey, &pos, snapToGrid );
|
2008-04-21 06:34:56 +00:00
|
|
|
|
2018-09-07 09:31:05 +00:00
|
|
|
if( GetToolId() == ID_NO_TOOL_SELECTED )
|
|
|
|
m_canvas->CrossHairOff( aDC );
|
|
|
|
else
|
2018-09-07 12:01:01 +00:00
|
|
|
m_canvas->CrossHairOn( aDC );
|
|
|
|
|
|
|
|
SetCrossHairPosition( pos, snapToGrid );
|
|
|
|
|
|
|
|
if( m_canvas->IsMouseCaptured() )
|
|
|
|
m_canvas->CallMouseCapture( aDC, aPosition, true );
|
2008-04-21 06:34:56 +00:00
|
|
|
|
2011-02-22 16:43:03 +00:00
|
|
|
if( aHotKey )
|
2008-04-21 06:34:56 +00:00
|
|
|
{
|
2014-06-12 16:12:14 +00:00
|
|
|
SCH_SCREEN* screen = GetScreen();
|
2017-10-06 07:23:13 +00:00
|
|
|
bool hk_handled;
|
2014-06-12 16:12:14 +00:00
|
|
|
|
2011-03-10 19:36:30 +00:00
|
|
|
if( screen->GetCurItem() && screen->GetCurItem()->GetFlags() )
|
2017-10-06 07:23:13 +00:00
|
|
|
hk_handled = OnHotKey( aDC, aHotKey, aPosition, screen->GetCurItem() );
|
2008-04-21 06:34:56 +00:00
|
|
|
else
|
2017-10-06 07:23:13 +00:00
|
|
|
hk_handled = OnHotKey( aDC, aHotKey, aPosition, NULL );
|
|
|
|
|
|
|
|
if( hk_handled )
|
|
|
|
keyHandled = true;
|
2008-04-21 06:34:56 +00:00
|
|
|
}
|
|
|
|
|
2009-11-03 13:26:31 +00:00
|
|
|
UpdateStatusBar(); /* Display cursor coordinates info */
|
2014-08-29 20:23:40 +00:00
|
|
|
|
2017-10-06 07:23:13 +00:00
|
|
|
return keyHandled;
|
2008-04-21 06:34:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-01-31 10:05:16 +00:00
|
|
|
|
2016-01-20 12:11:17 +00:00
|
|
|
bool LIB_VIEW_FRAME::GeneralControl( wxDC* aDC, const wxPoint& aPosition, EDA_KEY aHotKey )
|
2007-06-05 12:10:51 +00:00
|
|
|
{
|
2014-08-29 20:23:40 +00:00
|
|
|
bool eventHandled = true;
|
|
|
|
|
2014-06-12 16:12:14 +00:00
|
|
|
// Filter out the 'fake' mouse motion after a keyboard movement
|
|
|
|
if( !aHotKey && m_movingCursorWithKeyboard )
|
2007-08-14 19:24:48 +00:00
|
|
|
{
|
2014-06-12 16:12:14 +00:00
|
|
|
m_movingCursorWithKeyboard = false;
|
2014-08-29 20:23:40 +00:00
|
|
|
return false;
|
2007-08-14 19:24:48 +00:00
|
|
|
}
|
|
|
|
|
2014-06-12 16:12:14 +00:00
|
|
|
wxPoint pos = aPosition;
|
|
|
|
wxPoint oldpos = GetCrossHairPosition();
|
|
|
|
GeneralControlKeyMovement( aHotKey, &pos, true );
|
2007-08-14 19:24:48 +00:00
|
|
|
|
2014-06-12 16:12:14 +00:00
|
|
|
// Update cursor position.
|
|
|
|
SetCrossHairPosition( pos, true );
|
|
|
|
RefreshCrossHair( oldpos, aPosition, aDC );
|
2007-08-14 19:24:48 +00:00
|
|
|
|
2011-02-22 16:43:03 +00:00
|
|
|
if( aHotKey )
|
2007-08-14 19:24:48 +00:00
|
|
|
{
|
2014-06-12 16:12:14 +00:00
|
|
|
SCH_SCREEN* screen = GetScreen();
|
|
|
|
|
2011-03-10 19:36:30 +00:00
|
|
|
if( screen->GetCurItem() && screen->GetCurItem()->GetFlags() )
|
2014-08-29 20:23:40 +00:00
|
|
|
eventHandled = OnHotKey( aDC, aHotKey, aPosition, screen->GetCurItem() );
|
2007-08-14 19:24:48 +00:00
|
|
|
else
|
2014-08-29 20:23:40 +00:00
|
|
|
eventHandled = OnHotKey( aDC, aHotKey, aPosition, NULL );
|
2007-08-14 19:24:48 +00:00
|
|
|
}
|
2007-08-21 19:37:31 +00:00
|
|
|
|
2014-08-29 20:23:40 +00:00
|
|
|
UpdateStatusBar(); // Display cursor coordinates info.
|
|
|
|
|
|
|
|
return eventHandled;
|
2007-06-05 12:10:51 +00:00
|
|
|
}
|