#include <cResDialog.h>
|
static const int | k_DLU_X = 4 |
| ratio of dialog units to pixels. ((float)get_FontWidth()) / k_DLU_X; // 1.5f; // convert dialog units to pixels More...
|
|
static const int | k_DLU_Y = 8 |
| ratio of dialog units to pixels. ((float)get_FontHeight()) / k_DLU_Y; // 1.7f; // convert dialog units to pixels More...
|
|
Base properties shared with cResDlgTemplateItem and cResDialog. Dialog units based on the size of a current selected font.
◆ get_HeightDLU()
short GrayLib::cResDlgBase::get_HeightDLU |
( |
| ) |
const |
|
inline |
- Returns
- the height of the dialog in dialog units. k_DLU_Y A vertical DLU is the average height of the dialog box font divided by eight.
◆ get_Rect()
cRectI GrayLib::cResDlgBase::get_Rect |
( |
| ) |
const |
|
inline |
◆ get_WidthDLU()
short GrayLib::cResDlgBase::get_WidthDLU |
( |
| ) |
const |
|
inline |
- Returns
- the width of the dialog in dialog units. k_DLU_X A horizontal DLU is the average width of the dialog box font divided by four.
◆ get_XYPosDLU()
cPoint2i GrayLib::cResDlgBase::get_XYPosDLU |
( |
void |
| ) |
|
|
inlinenoexcept |
◆ SetClear()
void GrayLib::cResDlgBase::SetClear |
( |
| ) |
|
◆ SetCopy()
void GrayLib::cResDlgBase::SetCopy |
( |
const cResDlgBase * |
pItem | ) |
|
◆ k_DLU_X
const int GrayLib::cResDlgBase::k_DLU_X = 4 |
|
static |
ratio of dialog units to pixels. ((float)get_FontWidth()) / k_DLU_X; // 1.5f; // convert dialog units to pixels
◆ k_DLU_Y
const int GrayLib::cResDlgBase::k_DLU_Y = 8 |
|
static |
ratio of dialog units to pixels. ((float)get_FontHeight()) / k_DLU_Y; // 1.7f; // convert dialog units to pixels
◆ m_Class
"BUTTON","LISTBOX" etc. DIALOG or DIALOGEX ?
◆ m_dwExStyle
UINT32 GrayLib::cResDlgBase::m_dwExStyle |
◆ m_dwHelpId
UINT32 GrayLib::cResDlgBase::m_dwHelpId |
Extended only RESOURCEID_t.
◆ m_dwStyle
UINT32 GrayLib::cResDlgBase::m_dwStyle |
◆ m_point
dialog units = 4x8 units of the current selected font. k_DLU_X
◆ m_size
◆ m_Title
◆ m_wId
DLGID_t GrayLib::cResDlgBase::m_wId |
old format this is a WORD, EX format this is UINT32.
The documentation for this class was generated from the following files: