mouse.c File Reference

#include "frontier.h"
#include "standard.h"
#include "quickdraw.h"
#include "mouse.h"

Include dependency graph for mouse.c:

Go to the source code of this file.

Functions

void setmousedoubleclickstatus (boolean fl)
boolean mousebuttondown (void)
void waitmousebutton (boolean fl)
void waitmouseclick (void)
boolean mousestilldown (void)
boolean rightmousestilldown (void)
void getmousepoint (Point *pt)
boolean getmousewindowpos (WindowPtr *w, Point *pt)
boolean mousetrack (Rect r, void(*displaycallback)(boolean))
void mousedoubleclickdisable (void)
static boolean mousecheckdoubleclick (void)
boolean mousedoubleclick (void)
boolean ismouseleftclick (void)
boolean ismouserightclick (void)
boolean ismousecenterclick (void)
boolean ismousewheelclick (void)
static short translatemouseeventtype (long eventwhat)
void mouseup (long eventwhen, long eventposx, long eventposy, long eventwhat)
void mousedown (long eventwhen, long eventposx, long eventposy, long eventwhat)
long getmousedoubleclicktime ()
void showmousecursor (void)
void hidemousecursor (void)
boolean mousecheckautoscroll (Point pt, Rect r, boolean flhoriz, tydirection *dir)

Variables

tymouserecord mousestatus = {0}


Function Documentation

long getmousedoubleclicktime void   ) 
 

Definition at line 444 of file mouse.c.

Referenced by langerrormousedown(), and opschedulevisi().

void getmousepoint Point pt  ) 
 

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 w,
Point pt
 

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  pt,
Rect  r,
boolean  flhoriz,
tydirection dir
 

Definition at line 570 of file mouse.c.

static boolean mousecheckdoubleclick void   )  [static]
 

Definition at line 299 of file mouse.c.

References tymouserecord::fldoubleclick, tymouserecord::fldoubleclickdisabled, tyPoint::h, tymouserecord::mousedownpoint, tymouserecord::mousedowntime, mousestatus, tymouserecord::mouseuppoint, tymouserecord::mouseuptime, pointdist(), and tyPoint::v.

Referenced by mousedown().

Here is the call graph for this function:

boolean mousedoubleclick void   ) 
 

Definition at line 341 of file mouse.c.

References tymouserecord::fldoubleclick, and mousestatus.

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  r,
void(*)(boolean displaycallback
 

Definition at line 238 of file mouse.c.

References getmousepoint(), mousestilldown(), nil, pointinrect(), and pt.

Here is the call graph for this function:

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.

static short translatemouseeventtype long  eventwhat  )  [static]
 

Definition at line 371 of file mouse.c.

References centermousebuttonaction, cmouseDown, cmouseUp, leftmousebuttonaction, rightmousebuttonaction, rmouseDown, rmouseUp, wheelmousebuttonaction, wmouseDown, and wmouseUp.

Referenced by mousedown(), and mouseup().

void waitmousebutton boolean  fl  ) 
 

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 = {0}
 

Definition at line 40 of file mouse.c.


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