Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

CBasicMagnetoSwitch Class Reference

#include <Gauges.h>

Inheritance diagram for CBasicMagnetoSwitch:

CSimpleSwitch CGauge CStreamObject CObject List of all members.

Public Member Functions

 CBasicMagnetoSwitch (void)
virtual void Draw (void)
virtual EClickResult MouseClick (int x, int y, int buttons)
virtual EClickResult StopClick (int x, int y, int buttons)

Detailed Description

Definition at line 2866 of file Gauges.h.


Constructor & Destructor Documentation

CBasicMagnetoSwitch::CBasicMagnetoSwitch void   ) 
 

Definition at line 9709 of file Gauges.cpp.


Member Function Documentation

void CBasicMagnetoSwitch::Draw void   )  [virtual]
 

Reimplemented from CSimpleSwitch.

Definition at line 9722 of file Gauges.cpp.

References CSimpleSwitch::bmap, DrawBitmap(), SMessage::id, CSimpleSwitch::indx, CGauge::mesg, MSG_GETDATA, MSG_PROCESSED, SendMessage(), and CGauge::surf.

EClickResult CBasicMagnetoSwitch::MouseClick int  x,
int  y,
int  buttons
[virtual]
 

Reimplemented from CSimpleSwitch.

Definition at line 9737 of file Gauges.cpp.

References SGlobals::audiomgr, SMessage::dataType, globals, SMessage::id, CSimpleSwitch::indx, SMessage::intData, MAGNETO_SWITCH_OFF, MAGNETO_SWITCH_START, CGauge::mesg, MOUSE_BUTTON_LEFT, MOUSE_BUTTON_RIGHT, MOUSE_TRACKING_OFF, MOUSE_TRACKING_ON, MSG_SETDATA, CAudioManager::PlaySfx(), SendMessage(), CGauge::sfx_source, CSimpleSwitch::sfxd_tag, CSimpleSwitch::sfxu_tag, and TYPE_INT.

EClickResult CBasicMagnetoSwitch::StopClick int  x,
int  y,
int  buttons
[virtual]
 

Reimplemented from CGauge.

Definition at line 9778 of file Gauges.cpp.

References SGlobals::audiomgr, SMessage::dataType, globals, SMessage::id, CSimpleSwitch::indx, SMessage::intData, MAGNETO_SWITCH_BOTH, CGauge::mesg, MOUSE_TRACKING_OFF, MSG_SETDATA, CAudioManager::PlaySfx(), SendMessage(), CGauge::sfx_source, CSimpleSwitch::sfxd_tag, and TYPE_INT.


The documentation for this class was generated from the following files:
SourceForge.net Logo Documentation generated by doxygen