Inheritance diagram for FieldView:
Public Member Functions | |
FieldView (RobotConsole &c, const DebugDrawing *d, const Drawings::FieldDrawing *l, int n, Player::teamColor &color) | |
void | draw (CDC &dc) |
Private Attributes | |
RobotConsole & | console |
const DebugDrawing * | drawings |
const Drawings::FieldDrawing * | layers |
const int | numOfLayers |
const Player::teamColor & | ownColor |
Definition at line 106 of file RobotConsole.cpp.
FieldView::FieldView | ( | RobotConsole & | c, | |
const DebugDrawing * | d, | |||
const Drawings::FieldDrawing * | l, | |||
int | n, | |||
Player::teamColor & | color | |||
) | [inline] |
Definition at line 116 of file RobotConsole.cpp.
void FieldView::draw | ( | CDC & | dc | ) | [virtual] |
The function is called when the view has to be drawn.
dc | A device context to draw to. |
Implements DirectView.
Definition at line 126 of file RobotConsole.cpp.
References console, drawings, Drawings::fieldLines, Drawings::fieldPolygons, layers, numOfLayers, ownColor, PaintMethodsWin32::paintDebugDrawingToCDC(), DrawingMethods::paintFieldLines(), DrawingMethods::paintFieldPolygons(), and SYNC_WITH.
RobotConsole& FieldView::console [private] |
const DebugDrawing* FieldView::drawings [private] |
const Drawings::FieldDrawing* FieldView::layers [private] |
const int FieldView::numOfLayers [private] |
const Player::teamColor& FieldView::ownColor [private] |