|
My Project
|
Base draw interface class. Parent of basic draw classes. More...
#include "interface/drawinterface.h"

Public Member Functions | |
| BaseDrawInterfaceElement () | |
| BaseDrawInterfaceElement (HDC hdc) | |
| ~BaseDrawInterfaceElement () | |
| virtual bool | display (int X1=0, int Y1=0, int X2=0, int Y2=0, WCHAR *TEXT=NULL)=0 |
| virtual bool | redraw ()=0 |
Static Protected Attributes | |
| static HDC | hdc |
Base draw interface class. Parent of basic draw classes.
Contains global HDC. Provide interface for children by virtual methods
Definition at line 22 of file drawinterface.h.
| BaseDrawInterfaceElement::BaseDrawInterfaceElement | ( | ) |
Empty constructor. No action.
Definition at line 8 of file drawinterface.cpp.
| BaseDrawInterfaceElement::BaseDrawInterfaceElement | ( | HDC | hdc | ) |
Constructor fills static variables HWND and HINSTANCE.
| [in] | hdc | global HDC |
Definition at line 13 of file drawinterface.cpp.
| BaseDrawInterfaceElement::~BaseDrawInterfaceElement | ( | ) |
Destructor. No action.
Definition at line 18 of file drawinterface.cpp.
|
pure virtual |
Creating interface element. Virtual.
| [in] | X1 | start X coordinate |
| [in] | Y1 | start Y coordinate |
| [in] | X2 | end X coordinate |
| [in] | Y2 | end Y coordinate |
| [in] | TEXT | Text which is displaying on element |
Implemented in InterfaceDrawInit, URectangle, and Text.
|
pure virtual |
Redraw existed element
Implemented in InterfaceDrawInit, URectangle, and Text.
|
staticprotected |
Global HDC
Definition at line 57 of file drawinterface.h.
1.8.12