mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
Event queue refactor
This commit is contained in:
@@ -554,7 +554,7 @@ void LiveVScrollAction (ControlHandle theControl, short thePart)
|
||||
|
||||
//-------------------------------------------------------------- HandleMapClick
|
||||
|
||||
void HandleMapClick (EventRecord *theEvent)
|
||||
void HandleMapClick (const GpMouseInputEvent &theEvent)
|
||||
{
|
||||
#ifndef COMPILEDEMO
|
||||
Rect aRoom;
|
||||
@@ -565,7 +565,7 @@ void HandleMapClick (EventRecord *theEvent)
|
||||
short roomH, roomV, itsNumber;
|
||||
ControlActionUPP scrollHActionUPP, scrollVActionUPP;
|
||||
|
||||
wherePt = theEvent->where;
|
||||
wherePt = Point::Create(theEvent.m_x, theEvent.m_y);
|
||||
|
||||
scrollHActionUPP = NewControlActionUPP(LiveHScrollAction);
|
||||
scrollVActionUPP = NewControlActionUPP(LiveVScrollAction);
|
||||
|
Reference in New Issue
Block a user