Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

GuiMapFrame Class Reference

List of all members.

Public Member Functions

 GuiMapFrame (const wxString &title, const wxPoint &pos, const wxSize &size)
 ~GuiMapFrame ()
void OnPaint (wxPaintEvent &event)
void OnClick (wxMouseEvent &event)
void OnSize (wxSizeEvent &event)
void PaintMe (wxDC &DC)
void ScaleMe (wxDC &DC)
void AddPoint (wxPoint point)
void SetAngle (float radians)
void Clear ()

Private Attributes

wxPointList pointlist
int maxX
int minX
int maxY
int minY
double scale
wxCoord offX
wxCoord offY
float angle

Detailed Description

Definition at line 46 of file guiclient.cpp.


Constructor & Destructor Documentation

GuiMapFrame::GuiMapFrame const wxString &  title,
const wxPoint &  pos,
const wxSize &  size
 

Definition at line 135 of file guiclient.cpp.

GuiMapFrame::~GuiMapFrame  ) 
 

Definition at line 144 of file guiclient.cpp.


Member Function Documentation

void GuiMapFrame::AddPoint wxPoint  point  ) 
 

Definition at line 555 of file guiclient.cpp.

References maxX, maxY, minX, minY, pointlist, and ScaleMe().

Referenced by OnClick(), and GuiClientFrame::OnSocket().

void GuiMapFrame::Clear  ) 
 

void GuiMapFrame::OnClick wxMouseEvent &  event  ) 
 

Definition at line 488 of file guiclient.cpp.

References AddPoint(), offX, offY, PaintMe(), and scale.

void GuiMapFrame::OnPaint wxPaintEvent &  event  ) 
 

Definition at line 473 of file guiclient.cpp.

References PaintMe(), and ScaleMe().

void GuiMapFrame::OnSize wxSizeEvent &  event  ) 
 

Definition at line 481 of file guiclient.cpp.

References PaintMe().

void GuiMapFrame::PaintMe wxDC &  DC  ) 
 

Definition at line 501 of file guiclient.cpp.

References angle, i, offX, offY, pointlist, and scale.

Referenced by OnClick(), OnPaint(), OnSize(), and GuiClientFrame::OnSocket().

void GuiMapFrame::ScaleMe wxDC &  DC  ) 
 

Definition at line 588 of file guiclient.cpp.

References maxX, maxY, minX, minY, offX, offY, and scale.

Referenced by AddPoint(), and OnPaint().

void GuiMapFrame::SetAngle float  radians  ) 
 

Definition at line 612 of file guiclient.cpp.

References angle.

Referenced by GuiClientFrame::OnSocket().


Member Data Documentation

float GuiMapFrame::angle [private]
 

Definition at line 72 of file guiclient.cpp.

Referenced by PaintMe(), and SetAngle().

int GuiMapFrame::maxX [private]
 

Definition at line 67 of file guiclient.cpp.

Referenced by AddPoint(), and ScaleMe().

int GuiMapFrame::maxY [private]
 

Definition at line 67 of file guiclient.cpp.

Referenced by AddPoint(), and ScaleMe().

int GuiMapFrame::minX [private]
 

Definition at line 67 of file guiclient.cpp.

Referenced by AddPoint(), and ScaleMe().

int GuiMapFrame::minY [private]
 

Definition at line 67 of file guiclient.cpp.

Referenced by AddPoint(), and ScaleMe().

wxCoord GuiMapFrame::offX [private]
 

Definition at line 69 of file guiclient.cpp.

Referenced by OnClick(), PaintMe(), and ScaleMe().

wxCoord GuiMapFrame::offY [private]
 

Definition at line 69 of file guiclient.cpp.

Referenced by OnClick(), PaintMe(), and ScaleMe().

wxPointList GuiMapFrame::pointlist [private]
 

Definition at line 64 of file guiclient.cpp.

Referenced by AddPoint(), and PaintMe().

double GuiMapFrame::scale [private]
 

Definition at line 68 of file guiclient.cpp.

Referenced by OnClick(), PaintMe(), and ScaleMe().


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 14:26:01 2006 for Raptor by  doxygen 1.4.4