#include <DrawBorder.h>
Collaboration diagram for DrawBorder:
Definition at line 15 of file DrawBorder.h.
Public Member Functions | |
void | draw () |
Does the actual drawing in the view. | |
void | drawKnob (double x, double y) |
Draws a knob centered at x, y. | |
ViewBase * | getView () |
Gets the view object. | |
void | setView (ViewBase *view) |
Sets the View object. | |
Static Public Member Functions | |
static DrawBorder * | instance () |
Returns the pointer to the singleton instance. | |
Private Member Functions | |
DrawBorder () | |
A default constructor for avoiding creation except by itself. | |
DrawBorder (const DrawBorder &) | |
A private copy constructor to avoid copying. | |
Private Attributes | |
ViewBase * | m_view |
The View object. | |
Static Private Attributes | |
static DrawBorder * | s_instance = 0 |
The instance of the application. |
|
A private copy constructor to avoid copying.
Definition at line 34 of file DrawBorder.cxx. |
|
A default constructor for avoiding creation except by itself.
Definition at line 30 of file DrawBorder.cxx. Referenced by instance(). |
|
Does the actual drawing in the view.
Definition at line 57 of file DrawBorder.cxx. References drawKnob(), ViewBase::drawViewLines(), ViewBase::getDrawRect(), HippoRectangle::getHeight(), HippoRectangle::getWidth(), m_view, and hippodraw::Line::Solid. Referenced by QtView::draw(). |
|
Draws a knob centered at x, y.
Definition at line 107 of file DrawBorder.cxx. References ViewBase::drawViewLines(), m_view, num_util::size(), and hippodraw::Line::Solid. Referenced by draw(). |
|
Gets the view object.
Definition at line 52 of file DrawBorder.cxx. References m_view. |
|
Returns the pointer to the singleton instance.
Definition at line 39 of file DrawBorder.cxx. References DrawBorder(), and s_instance. Referenced by QtView::draw(). |
|
Sets the View object.
Definition at line 47 of file DrawBorder.cxx. References m_view. Referenced by QtView::draw(). |
|
The View object.
Definition at line 26 of file DrawBorder.h. Referenced by draw(), drawKnob(), getView(), and setView(). |
|
The instance of the application.
Definition at line 28 of file DrawBorder.cxx. Referenced by instance(). |