mouse.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tymouserecord

Defines

#define mouseinclude
#define leftmousebuttonaction   0
#define rightmousebuttonaction   1
#define centermousebuttonaction   2
#define wheelmousebuttonaction   3

Functions

void setmousedoubleclickstatus (boolean fl)
boolean mousebuttondown (void)
void waitmousebutton (boolean)
void waitmouseclick (void)
boolean mousestilldown (void)
boolean rightmousestilldown (void)
void getmousepoint (Point *)
boolean getmousewindowpos (WindowPtr *, Point *)
boolean mousetrack (Rect, void(*)(boolean))
void mousedoubleclickdisable (void)
void mouseup (long eventwhen, long eventposx, long eventposy, long eventwhat)
void mousedown (long eventwhen, long eventposx, long eventposy, long eventwhat)
boolean mousedoubleclick (void)
boolean ismouseleftclick (void)
boolean ismouserightclick (void)
boolean ismousecenterclick (void)
boolean ismousewheelclick (void)
void smashmouse (Point)
void showmousecursor (void)
void hidemousecursor (void)
boolean mousecheckautoscroll (Point, Rect, boolean, tydirection *)
long getmousedoubleclicktime (void)

Variables

tymouserecord mousestatus


Define Documentation

#define centermousebuttonaction   2
 

Definition at line 32 of file mouse.h.

Referenced by ismousecenterclick(), and translatemouseeventtype().

#define leftmousebuttonaction   0
 

Definition at line 30 of file mouse.h.

Referenced by ismouseleftclick(), and translatemouseeventtype().

#define mouseinclude
 

Definition at line 28 of file mouse.h.

#define rightmousebuttonaction   1
 

Definition at line 31 of file mouse.h.

Referenced by handlepopup(), ismouserightclick(), and translatemouseeventtype().

#define wheelmousebuttonaction   3
 

Definition at line 33 of file mouse.h.

Referenced by ismousewheelclick(), and translatemouseeventtype().


Function Documentation

long getmousedoubleclicktime void   ) 
 

Definition at line 444 of file mouse.c.

Referenced by langerrormousedown(), and opschedulevisi().

void getmousepoint Point  ) 
 

Definition at line 161 of file mouse.c.

References getport(), NULL, pt, and short.

Referenced by langerrormousedown(), langfunctionvalue(), mousetrack(), opdraggingmove(), opisdraggingmove(), tableadjustcolwidth(), and wpclick().

Here is the call graph for this function:

boolean getmousewindowpos WindowPtr ,
Point
 

Definition at line 191 of file mouse.c.

References nil, NULL, popport(), pt, pushport(), and short.

Referenced by shelladjustcursor().

Here is the call graph for this function:

void hidemousecursor void   ) 
 

Definition at line 559 of file mouse.c.

References FALSE.

boolean ismousecenterclick void   ) 
 

Definition at line 359 of file mouse.c.

References centermousebuttonaction, mousestatus, and tymouserecord::whichbutton.

Referenced by shellhandlemouse().

boolean ismouseleftclick void   ) 
 

Definition at line 347 of file mouse.c.

References leftmousebuttonaction, mousestatus, and tymouserecord::whichbutton.

Referenced by shellhandlemouse().

boolean ismouserightclick void   ) 
 

Definition at line 353 of file mouse.c.

References mousestatus, rightmousebuttonaction, and tymouserecord::whichbutton.

Referenced by langexternaltitleclick(), scripttitleclick(), shellhandlemouse(), and tableverbtitleclick().

boolean ismousewheelclick void   ) 
 

Definition at line 365 of file mouse.c.

References mousestatus, wheelmousebuttonaction, and tymouserecord::whichbutton.

Referenced by shellhandlemouse().

boolean mousebuttondown void   ) 
 

Definition at line 59 of file mouse.c.

References NULL.

Referenced by langfunctionvalue(), and myMoof().

boolean mousecheckautoscroll Point  ,
Rect  ,
boolean  ,
tydirection
 

Definition at line 570 of file mouse.c.

Referenced by opdraggingmove(), opedittrackclick(), shellcheckautoscroll(), and wptrackclick().

boolean mousedoubleclick void   ) 
 

Definition at line 341 of file mouse.c.

Referenced by handlecontent(), langexternaltitleclick(), opcmdclick(), scripttitleclick(), tableadjustcolwidth(), tablecellclickcallback(), tableiconhitcallback(), tablemouseinline(), and tableverbtitleclick().

void mousedoubleclickdisable void   ) 
 

Definition at line 286 of file mouse.c.

References tymouserecord::fldoubleclickdisabled, and mousestatus.

Referenced by shellhandlemouse().

void mousedown long  eventwhen,
long  eventposx,
long  eventposy,
long  eventwhat
 

Definition at line 423 of file mouse.c.

References tymouserecord::fldoubleclick, tyPoint::h, mousecheckdoubleclick(), tymouserecord::mousedownpoint, tymouserecord::mousedowntime, mousestatus, short, translatemouseeventtype(), tyPoint::v, and tymouserecord::whichbutton.

Referenced by main(), and shellhandlemouse().

Here is the call graph for this function:

boolean mousestilldown void   ) 
 

Definition at line 118 of file mouse.c.

Referenced by langerrormousedown(), mousetrack(), opdraggingmove(), tableadjustcolwidth(), and wpclick().

boolean mousetrack Rect  ,
void(*)(boolean
 

Definition at line 238 of file mouse.c.

Referenced by arrowtracker(), runmodetracker(), shellbuttonhit(), and trackicon().

void mouseup long  eventwhen,
long  eventposx,
long  eventposy,
long  eventwhat
 

Definition at line 399 of file mouse.c.

References tymouserecord::fldoubleclickdisabled, tyPoint::h, tymouserecord::mousedowntime, mousestatus, tymouserecord::mouseuppoint, tymouserecord::mouseuptime, short, translatemouseeventtype(), tyPoint::v, and tymouserecord::whichbutton.

Referenced by langdialogmousedown(), minimousedown(), and shellhandlemouseup().

Here is the call graph for this function:

boolean rightmousestilldown void   ) 
 

Definition at line 141 of file mouse.c.

void setmousedoubleclickstatus boolean  fl  ) 
 

Definition at line 54 of file mouse.c.

References tymouserecord::fldoubleclick, and mousestatus.

Referenced by FrontierOPWndProc(), and tablemouseinline().

void showmousecursor void   ) 
 

Definition at line 549 of file mouse.c.

References TRUE.

void smashmouse Point   ) 
 

void waitmousebutton boolean   ) 
 

Definition at line 72 of file mouse.c.

References NULL.

Referenced by waitmouseclick().

void waitmouseclick void   ) 
 

Definition at line 110 of file mouse.c.

References waitmousebutton().

Here is the call graph for this function:


Variable Documentation

tymouserecord mousestatus
 

Definition at line 40 of file mouse.c.

Referenced by adjustpopupcursor(), appleteventdispatcher(), appletinitmanagers(), cmdtexthit(), handlecontent(), handlemousedown(), handlemouseup(), handlepopup(), idle(), ismousecenterclick(), ismouseleftclick(), ismouserightclick(), ismousewheelclick(), mousecheckdoubleclick(), mousedoubleclick(), mousedoubleclickdisable(), mousedown(), mouseinline(), mouseup(), objectclick(), palettemousedown(), popupclick(), runmodecontentclick(), runmodeidle(), runmodemousedown(), runmodemouseup(), setmousedoubleclickstatus(), shellhandlemouse(), and wpverbclick().


Generated on Thu Jun 8 00:40:25 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6