|
My Project
|
Each element (button, editfield etc) has own structure. More...
#include "interface/interface.h"

Public Member Functions | |
| BaseInterfaceCtrl () | |
| BaseInterfaceCtrl (HWND hWnd, HINSTANCE hInst) | |
| ~BaseInterfaceCtrl () | |
| virtual HWND | create (int X=0, int Y=0, int HEIGHT=0, int WIDTH=0, WCHAR *TEXT=NULL)=0 |
| virtual void | remove ()=0 |
Static Protected Attributes | |
| static HWND | hWnd |
| static HINSTANCE | hInst |
Each element (button, editfield etc) has own structure.
Definition at line 23 of file interface.h.
| BaseInterfaceCtrl::BaseInterfaceCtrl | ( | ) |
Empty constructor. No action.
Definition at line 8 of file interface.cpp.
| BaseInterfaceCtrl::BaseInterfaceCtrl | ( | HWND | hWnd, |
| HINSTANCE | hInst | ||
| ) |
Constructor fills static variables HWND and HINSTANCE.
| [in] | hWnd | HWND of main (parent) window |
| [in] | hInst | Global instance |
Definition at line 13 of file interface.cpp.
| BaseInterfaceCtrl::~BaseInterfaceCtrl | ( | ) |
Destructor. No action.
Definition at line 19 of file interface.cpp.
|
pure virtual |
Creating interface element. Virtual.
| [in] | X | X coordinate |
| [in] | Y | Y coordinate |
| [in] | HEIGHT | Height of the window |
| [in] | WIDTH | Width of the window |
| [in] | TEXT | Text which is displaying on element |
Implemented in InterfaceCtrlInit, Button, Combobox, and Editfield.
|
pure virtual |
Will destroy item. Function does not free memory.
Implemented in InterfaceCtrlInit, Editfield, Button, and Combobox.
|
staticprotected |
Global instance
Definition at line 61 of file interface.h.
|
staticprotected |
HWND of main (parent) window
Definition at line 60 of file interface.h.
1.8.12