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

CBKADFKR87Gauge Class Reference

#include <Gauges.h>

Inheritance diagram for CBKADFKR87Gauge:

CBitmapGauge CGauge CStreamObject CObject List of all members.

Public Member Functions

 CBKADFKR87Gauge (void)
int Read (SStream *stream, Tag tag)
void ReadFinished (void)
virtual ECursorResult MouseMoved (int x, int y)
virtual EClickResult MouseClick (int x, int y, int buttons)
virtual EClickResult StopClick (int x, int y, int buttons)
virtual void Draw (void)

Protected Attributes

Tag radi_tag
int radi_unit
CGaugeClickArea ca [16]
int nClickAreas
int caClicked

Detailed Description

Definition at line 1388 of file Gauges.h.


Constructor & Destructor Documentation

CBKADFKR87Gauge::CBKADFKR87Gauge void   ) 
 

Definition at line 4496 of file Gauges.cpp.

References caClicked, nClickAreas, radi_tag, and radi_unit.


Member Function Documentation

void CBKADFKR87Gauge::Draw void   )  [virtual]
 

Reimplemented from CBitmapGauge.

Definition at line 4691 of file Gauges.cpp.

References ca, CGauge::ClearSurface(), CGaugeClickArea::Draw(), DrawChar(), DrawText(), DrawTextC(), DrawTextR(), CBitmapGauge::DrawUnderlay(), SGlobals::fonts, SDefaultFonts::ftdigi9, SDefaultFonts::fttiny7, globals, SMessage::id, SMessage::intData, MakeRGB(), CGauge::mesg, MSG_GETDATA, SMessage::realData, SendMessage(), CGauge::surf, TextHeight(), SMessage::user, CGauge::x, CGaugeRectangle::x1, CGaugeRectangle::x2, CGauge::y, CGaugeRectangle::y1, and CGaugeRectangle::y2.

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

Reimplemented from CGauge.

Definition at line 4565 of file Gauges.cpp.

References ca, caClicked, SMessage::id, CGauge::mesg, MOUSE_BUTTON_LEFT, MOUSE_BUTTON_RIGHT, MOUSE_TRACKING_OFF, MOUSE_TRACKING_ON, MSG_SETDATA, nClickAreas, SendMessage(), and SMessage::user.

ECursorResult CBKADFKR87Gauge::MouseMoved int  x,
int  y
[virtual]
 

Reimplemented from CGauge.

Definition at line 4548 of file Gauges.cpp.

References ca, CURSOR_NOT_CHANGED, CGauge::MouseMoved(), CGaugeClickArea::MouseMoved(), and nClickAreas.

int CBKADFKR87Gauge::Read SStream stream,
Tag  tag
[virtual]
 

Todo:
Parse user string into SMessage field update

Reimplemented from CBitmapGauge.

Definition at line 4505 of file Gauges.cpp.

References ca, ClickAreaFromTag(), globals, SGlobals::logWarning, nClickAreas, radi_tag, radi_unit, CBitmapGauge::Read(), ReadFrom(), ReadInt(), ReadTag(), TAG_IGNORED, TAG_READ, TagToString(), and CLogFile::Write().

void CBKADFKR87Gauge::ReadFinished void   )  [virtual]
 

Reimplemented from CBitmapGauge.

Definition at line 4539 of file Gauges.cpp.

References SMessage::group, CGauge::mesg, radi_tag, radi_unit, CBitmapGauge::ReadFinished(), and SMessage::user.

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

Reimplemented from CGauge.

Definition at line 4640 of file Gauges.cpp.

References ca, caClicked, SMessage::id, CGauge::mesg, MOUSE_TRACKING_OFF, MSG_SETDATA, nClickAreas, SendMessage(), and SMessage::user.


Member Data Documentation

CGaugeClickArea CBKADFKR87Gauge::ca[16] [protected]
 

Definition at line 1405 of file Gauges.h.

Referenced by Draw(), MouseClick(), MouseMoved(), Read(), and StopClick().

int CBKADFKR87Gauge::caClicked [protected]
 

Definition at line 1407 of file Gauges.h.

Referenced by CBKADFKR87Gauge(), MouseClick(), and StopClick().

int CBKADFKR87Gauge::nClickAreas [protected]
 

Definition at line 1406 of file Gauges.h.

Referenced by CBKADFKR87Gauge(), MouseClick(), MouseMoved(), Read(), and StopClick().

Tag CBKADFKR87Gauge::radi_tag [protected]
 

Definition at line 1403 of file Gauges.h.

Referenced by CBKADFKR87Gauge(), Read(), and ReadFinished().

int CBKADFKR87Gauge::radi_unit [protected]
 

Definition at line 1404 of file Gauges.h.

Referenced by CBKADFKR87Gauge(), Read(), and ReadFinished().


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