Back to index

plt-scheme  4.2.1
Public Member Functions | Public Attributes
wxMouseEvent_ext Class Reference
Inheritance diagram for wxMouseEvent_ext:
Inheritance graph
[legend]
Collaboration diagram for wxMouseEvent_ext:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 wxMouseEvent_ext (int et, int ld, int mdd, int rd, int xv, int yv, int sd, int cd, int md, int ad, long ts, int caps)
virtual Bool IsButton (void)
virtual Bool ButtonDown (int but=-1)
virtual Bool ButtonDClick (int but=-1)
virtual Bool ButtonUp (int but=-1)
virtual Bool Button (int but)
virtual Bool ButtonIsDown (int but)
virtual Bool ControlDown (void)
virtual Bool MetaDown (void)
virtual Bool AltDown (void)
virtual Bool ShiftDown (void)
virtual Bool LeftDown (void)
virtual Bool MiddleDown (void)
virtual Bool RightDown (void)
virtual Bool LeftUp (void)
virtual Bool MiddleUp (void)
virtual Bool RightUp (void)
virtual Bool LeftDClick (void)
virtual Bool MiddleDClick (void)
virtual Bool RightDClick (void)
virtual Bool LeftIsDown (void)
virtual Bool MiddleIsDown (void)
virtual Bool RightIsDown (void)
virtual Bool Dragging (void)
virtual Bool Moving (void)
virtual Bool Entering (void)
virtual Bool Leaving (void)
virtual void Position (int *x, int *y)
WXTYPE GetEventType (void)
virtual long GetTimestamp (void)
virtual void SetTimestamp (long ts=0)
void install_cleanup ()
voidoperator new (size_t size)
voidoperator new (size_t size, GCPlacement gcp)
voidoperator new (size_t size, void *p)
voidoperator new (size_t size)
voidoperator new (size_t size, GCPlacement gcp)
void operator delete (void *obj)
void operator delete (void *, void *)
void operator delete (void *obj)
voidoperator new[] (size_t size)
voidoperator new[] (size_t size, GCPlacement gcp)
voidoperator new[] (size_t size, void *p)
void operator delete[] (void *obj)
void operator delete[] (void *, void *)

Public Attributes

int x
int y
Bool leftDown
Bool middleDown
Bool rightDown
Bool controlDown
Bool shiftDown
Bool altDown
Bool metaDown
Bool capsDown
char * eventHandle
WXTYPE eventType
long timeStamp
WXTYPE __type
void__gc_external

Detailed Description

Definition at line 65 of file wxs_evnt.cxx.


Constructor & Destructor Documentation

wxMouseEvent_ext::wxMouseEvent_ext ( int  et,
int  ld,
int  mdd,
int  rd,
int  xv,
int  yv,
int  sd,
int  cd,
int  md,
int  ad,
long  ts,
int  caps 
)

Definition at line 69 of file wxs_evnt.cxx.

: wxMouseEvent(et)
{
  leftDown = ld;
  middleDown = mdd;
  rightDown = rd;
  x = xv;
  y = yv;
  shiftDown = sd;
  controlDown = cd;
  metaDown = md;
  altDown = ad;
  capsDown = caps;
  timeStamp = ts;
}

Member Function Documentation

Bool wxMouseEvent::AltDown ( void  ) [virtual, inherited]

Definition at line 64 of file wb_stdev.cc.

{
  return altDown;
}
Bool wxMouseEvent::Button ( int  but) [virtual, inherited]

Definition at line 138 of file wb_stdev.cc.

{
  switch (but) {
    case -1:
      return (ButtonUp(-1) || ButtonDown(-1) || ButtonDClick(-1)) ;
    case 1:
      return (LeftDown() || LeftUp() || LeftDClick());
    case 2:
      return (MiddleDown() || MiddleUp() || MiddleDClick());
    case 3:
      return (RightDown() || RightUp() || RightDClick());
    default:
      return FALSE;
  }
  // NOTREACHED
}

Here is the call graph for this function:

Here is the caller graph for this function:

Bool wxMouseEvent::ButtonDClick ( int  but = -1) [virtual, inherited]

Definition at line 82 of file wb_stdev.cc.

{
  switch (but) {
    case -1:
      return (LeftDClick() || MiddleDClick() || RightDClick());
    case 1:
      return LeftDClick();
    case 2:
      return MiddleDClick();
    case 3:
      return RightDClick();
    default:
      return FALSE;
  }
  // NOTREACHED
}

Here is the call graph for this function:

Here is the caller graph for this function:

Bool wxMouseEvent::ButtonDown ( int  but = -1) [virtual, inherited]

Definition at line 101 of file wb_stdev.cc.

{
  switch (but) {
    case -1:
      return (LeftDown() || MiddleDown() || RightDown());
    case 1:
      return LeftDown();
    case 2:
      return MiddleDown();
    case 3:
      return RightDown();
    default:
      return FALSE;
  }
  // NOTREACHED
}

Here is the call graph for this function:

Here is the caller graph for this function:

Bool wxMouseEvent::ButtonIsDown ( int  but) [virtual, inherited]

Definition at line 205 of file wb_stdev.cc.

{
  switch (but) {
    case -1:
      return (LeftIsDown() || MiddleIsDown() || RightIsDown());
    case 1:
      return LeftIsDown();
    case 2:
      return MiddleIsDown();
    case 3:
      return RightIsDown();
    default:
      return FALSE;
  }
  // NOTREACHED
}

Here is the call graph for this function:

Bool wxMouseEvent::ButtonUp ( int  but = -1) [virtual, inherited]

Definition at line 120 of file wb_stdev.cc.

{
  switch (but) {
    case -1:
      return (LeftUp() || MiddleUp() || RightUp());
    case 1:
      return LeftUp();
    case 2:
      return MiddleUp();
    case 3:
      return RightUp();
    default:
      return FALSE;
  }
  // NOTREACHED
}

Here is the call graph for this function:

Here is the caller graph for this function:

Bool wxMouseEvent::ControlDown ( void  ) [virtual, inherited]

Definition at line 54 of file wb_stdev.cc.

{
  return controlDown;
}
Bool wxMouseEvent::Dragging ( void  ) [virtual, inherited]

Definition at line 200 of file wb_stdev.cc.

{
  return ((eventType == wxEVENT_TYPE_MOTION) && (LeftIsDown() || MiddleIsDown() || RightIsDown()));
}

Here is the call graph for this function:

Bool wxMouseEvent::Entering ( void  ) [virtual, inherited]

Definition at line 242 of file wb_stdev.cc.

WXTYPE wxEvent::GetEventType ( void  ) [inline, inherited]

Definition at line 52 of file wx_sysev.h.

{ return eventType; }
virtual long wxEvent::GetTimestamp ( void  ) [inline, virtual, inherited]

Definition at line 53 of file wx_sysev.h.

{ return timeStamp; }

Definition at line 99 of file wxGC.cxx.

{
  GC_finalization_proc old_fn;
  void *old_data;

# ifdef MZ_PRECISE_GC
#  define ALLOW_NON_BASE 0
#  define CHECK_BASE 0
# else
#  ifdef wx_xt
#   define ALLOW_NON_BASE 0
#   define CHECK_BASE 0
#  else
#   ifdef WIN32
#    define ALLOW_NON_BASE 0
#    define CHECK_BASE 1
#    define CRASH_ON_NONBASE 1
#   else
#    define ALLOW_NON_BASE 1
#    define CHECK_BASE 0
#   endif
#  endif
# endif

# if CHECK_BASE || ALLOW_NON_BASE
  if (GC_base(this) != (void *)this) {
#  if ALLOW_NON_BASE
    return;
#  else
#   ifdef CRASH_ON_NONBASE
    *(long *)0x0 = 1;
#   else
    printf("Clean-up object is not the base object\n");
    abort();
#   endif
#  endif
  }
# endif

  GC_register_finalizer_ignore_self(gcOBJ_TO_PTR(this), 
                                CAST_GCP GC_cleanup, NULL, 
                                CAST_GCPP &old_fn, &old_data);

# if CHECK_BASE
  if (old_fn) {
#  ifdef CRASH_ON_NONBASE
       *(long *)0x0 = 1;
#  else
    printf("Object already has a clean-up\n");
    abort();
#  endif
  }
# endif
}

Here is the call graph for this function:

Here is the caller graph for this function:

Bool wxMouseEvent::IsButton ( void  ) [virtual, inherited]

Definition at line 75 of file wb_stdev.cc.

{
  return (Button(-1)) ;
}

Here is the call graph for this function:

Bool wxMouseEvent::Leaving ( void  ) [virtual, inherited]

Definition at line 247 of file wb_stdev.cc.

Bool wxMouseEvent::LeftDClick ( void  ) [virtual, inherited]

Definition at line 170 of file wb_stdev.cc.

Here is the caller graph for this function:

Bool wxMouseEvent::LeftDown ( void  ) [virtual, inherited]

Definition at line 155 of file wb_stdev.cc.

Here is the caller graph for this function:

Bool wxMouseEvent::LeftIsDown ( void  ) [virtual, inherited]

Definition at line 222 of file wb_stdev.cc.

{
  return leftDown;
}

Here is the caller graph for this function:

Bool wxMouseEvent::LeftUp ( void  ) [virtual, inherited]

Definition at line 185 of file wb_stdev.cc.

Here is the caller graph for this function:

Bool wxMouseEvent::MetaDown ( void  ) [virtual, inherited]

Definition at line 59 of file wb_stdev.cc.

{
  return metaDown;
}
Bool wxMouseEvent::MiddleDClick ( void  ) [virtual, inherited]

Definition at line 175 of file wb_stdev.cc.

Here is the caller graph for this function:

Bool wxMouseEvent::MiddleDown ( void  ) [virtual, inherited]

Definition at line 160 of file wb_stdev.cc.

Here is the caller graph for this function:

Bool wxMouseEvent::MiddleIsDown ( void  ) [virtual, inherited]

Definition at line 227 of file wb_stdev.cc.

{
  return middleDown;
}

Here is the caller graph for this function:

Bool wxMouseEvent::MiddleUp ( void  ) [virtual, inherited]

Definition at line 190 of file wb_stdev.cc.

Here is the caller graph for this function:

Bool wxMouseEvent::Moving ( void  ) [virtual, inherited]

Definition at line 237 of file wb_stdev.cc.

{
  return (eventType == wxEVENT_TYPE_MOTION);
}
void gc::operator delete ( void obj) [inline, inherited]
void gc::operator delete ( void obj) [inline, inherited]

Definition at line 287 of file gc_cpp.h.

                                           {
    GC_FREE( obj );}

Here is the caller graph for this function:

void gc::operator delete ( void ,
void  
) [inline, inherited]

Definition at line 291 of file gc_cpp.h.

{}
void gc::operator delete[] ( void obj) [inline, inherited]

Definition at line 305 of file gc_cpp.h.

                                             {
    gc::operator delete( obj );}

Here is the call graph for this function:

void gc::operator delete[] ( void ,
void  
) [inline, inherited]

Definition at line 309 of file gc_cpp.h.

{}
void* gc::operator new ( size_t  size) [inline, inherited]
void* gc::operator new ( size_t  size,
GCPlacement  gcp 
) [inline, inherited]
void * gc::operator new ( size_t  size) [inline, inherited]

Definition at line 273 of file gc_cpp.h.

                                           {
    return GC_MALLOC( size );}

Here is the caller graph for this function:

void * gc::operator new ( size_t  size,
GCPlacement  gcp 
) [inline, inherited]

Definition at line 276 of file gc_cpp.h.

                                                            {
    if (gcp == UseGC) 
        return GC_MALLOC( size );
    else if (gcp == PointerFreeGC)
       return GC_MALLOC_ATOMIC( size );
    else
        return GC_MALLOC_UNCOLLECTABLE( size );}
void * gc::operator new ( size_t  size,
void p 
) [inline, inherited]

Definition at line 284 of file gc_cpp.h.

                                                    {
    return p;}
void * gc::operator new[] ( size_t  size) [inline, inherited]

Definition at line 296 of file gc_cpp.h.

                                             {
    return gc::operator new( size );}

Here is the call graph for this function:

void * gc::operator new[] ( size_t  size,
GCPlacement  gcp 
) [inline, inherited]

Definition at line 299 of file gc_cpp.h.

                                                              {
    return gc::operator new( size, gcp );}

Here is the call graph for this function:

void * gc::operator new[] ( size_t  size,
void p 
) [inline, inherited]

Definition at line 302 of file gc_cpp.h.

                                                      {
    return p;}
void wxMouseEvent::Position ( int x,
int y 
) [virtual, inherited]

Definition at line 252 of file wb_stdev.cc.

{
  *xpos = x;
  *ypos = y;
}
Bool wxMouseEvent::RightDClick ( void  ) [virtual, inherited]

Definition at line 180 of file wb_stdev.cc.

Here is the caller graph for this function:

Bool wxMouseEvent::RightDown ( void  ) [virtual, inherited]

Definition at line 165 of file wb_stdev.cc.

Here is the caller graph for this function:

Bool wxMouseEvent::RightIsDown ( void  ) [virtual, inherited]

Definition at line 232 of file wb_stdev.cc.

{
  return rightDown;
}

Here is the caller graph for this function:

Bool wxMouseEvent::RightUp ( void  ) [virtual, inherited]

Definition at line 195 of file wb_stdev.cc.

Here is the caller graph for this function:

void wxEvent::SetTimestamp ( long  ts = 0) [virtual, inherited]

Definition at line 47 of file wb_sysev.cc.

{
  timeStamp = ts;
}
Bool wxMouseEvent::ShiftDown ( void  ) [virtual, inherited]

Definition at line 69 of file wb_stdev.cc.

{
  return shiftDown;
}

Member Data Documentation

Definition at line 146 of file wxGC.h.

WXTYPE wxObject::__type [inherited]

Definition at line 77 of file Object.h.

Definition at line 59 of file wx_stdev.h.

Definition at line 61 of file wx_stdev.h.

Definition at line 57 of file wx_stdev.h.

char* wxEvent::eventHandle [inherited]

Definition at line 45 of file wx_sysev.h.

Definition at line 46 of file wx_sysev.h.

Definition at line 53 of file wx_stdev.h.

Definition at line 60 of file wx_stdev.h.

Definition at line 54 of file wx_stdev.h.

Definition at line 55 of file wx_stdev.h.

Definition at line 58 of file wx_stdev.h.

long wxEvent::timeStamp [inherited]

Definition at line 47 of file wx_sysev.h.

int wxMouseEvent::x [inherited]

Definition at line 51 of file wx_stdev.h.

int wxMouseEvent::y [inherited]

Definition at line 52 of file wx_stdev.h.


The documentation for this class was generated from the following file: