Editfield interface class Provide interface for creating/removing editfield. More...
#include "interface/editfield.h"
Public Member Functions | |
Editfield () | |
Editfield (int ID) | |
Editfield (int X, int Y, int HEIGHT, int WIDTH, WCHAR *TEXT=NULL) | |
~Editfield () | |
HWND | create (int X, int Y, int HEIGHT, int WIDTH, WCHAR *TEXT) override |
WCHAR * | getText () |
int | getInt () |
HWND | getHWND () |
void | remove () override |
![]() | |
BaseInterfaceCtrl () | |
BaseInterfaceCtrl (HWND hWnd, HINSTANCE hInst) | |
~BaseInterfaceCtrl () | |
Additional Inherited Members | |
![]() | |
static HWND | hWnd |
static HINSTANCE | hInst |
Editfield interface class Provide interface for creating/removing editfield.
Definition at line 24 of file editfield.h.
Editfield::Editfield | ( | ) |
Empty constructor. No action.
Definition at line 5 of file editfield.cpp.
Editfield::Editfield | ( | int | ID | ) |
Constructor sets ID in 'id' variable
[in] | ID | Unique identify of editfield |
Definition at line 10 of file editfield.cpp.
Editfield::Editfield | ( | int | X, |
int | Y, | ||
int | HEIGHT, | ||
int | WIDTH, | ||
WCHAR * | TEXT = NULL |
||
) |
Constructor create and display editfield
[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 |
Definition at line 15 of file editfield.cpp.
Editfield::~Editfield | ( | ) |
Destructor. Removes editfield (Does not free memory)
Definition at line 20 of file editfield.cpp.
|
overridevirtual |
Create and display editfield
[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 |
Implements BaseInterfaceCtrl.
Definition at line 25 of file editfield.cpp.
HWND Editfield::getHWND | ( | ) |
Definition at line 59 of file editfield.cpp.
int Editfield::getInt | ( | ) |
Get integer value from editfield
Definition at line 49 of file editfield.cpp.
WCHAR * Editfield::getText | ( | ) |
Get text from editfield
Definition at line 42 of file editfield.cpp.
|
overridevirtual |
Removes editfield (Does not free memory)
Implements BaseInterfaceCtrl.
Definition at line 64 of file editfield.cpp.