MGUI::LAYOUT_PANE_BASE Class Reference
Layout pane base class, not intended to be used directly.
More...
#include <mgui/layout.h>
List of all members.
Detailed Description
Layout pane base class, not intended to be used directly.
Constructor & Destructor Documentation
| MGUI::LAYOUT_PANE_BASE::LAYOUT_PANE_BASE |
( |
|
) |
[inline] |
| virtual MGUI::LAYOUT_PANE_BASE::~LAYOUT_PANE_BASE |
( |
|
) |
[pure virtual] |
Member Function Documentation
| void MGUI::LAYOUT_PANE_BASE::AddSpaceExpanding |
( |
|
) |
|
Add automatically expanding whitespace item.
| void MGUI::LAYOUT_PANE_BASE::AddSpaceFixed |
( |
int |
size |
) |
|
Add whitespace item of fixed size.
| int MGUI::LAYOUT_PANE_BASE::ComputeNumFittingCharacters |
( |
const MISTRING & |
str, |
|
|
int |
width | |
|
) |
| | const |
Compute the number of characters of the string that fit in the given width.
Compute size of given label text as MIUNICODE string.
- Parameters:
-
Compute size of given label TEXTID.
- Parameters:
-
Compute size of given label text from MISTRING.
- Parameters:
-
| MGUI::POINT MGUI::LAYOUT_PANE_BASE::ComputeTextSize |
( |
int |
width |
) |
const |
Compute typical size for given text width in characters.
- Parameters:
-
| width | Width in characters |
| void MGUI::LAYOUT_PANE_BASE::GetBackgroundColor |
( |
COLOR & |
color |
) |
const |
| MGUI::POINT MGUI::LAYOUT_PANE_BASE::GetDimensions |
( |
|
) |
const |
| MDLGPARENT MGUI::LAYOUT_PANE_BASE::GetDlgParent |
( |
|
) |
const |
Get suitable parent for dialog launched from pane.
| int MGUI::LAYOUT_PANE_BASE::GetTextMaxHeight |
( |
|
) |
|
| Widget MGUI::LAYOUT_PANE_BASE::GetWidget |
( |
|
) |
const [inline] |
| void MGUI::LAYOUT_PANE_BASE::Invalidate |
( |
bool |
erase = true |
) |
|
Invalidate pane, forcing redraw.
| bool MGUI::LAYOUT_PANE_BASE::IsCreated |
( |
|
) |
const [inline] |
Determine if pane has been created.
| bool MGUI::LAYOUT_PANE_BASE::IsVisible |
( |
|
) |
const |
Determine if pane is visible.
Does not check if pane is contained in a non-visible parent.
| void MGUI::LAYOUT_PANE_BASE::SetBackgroundColor |
( |
const COLOR & |
color |
) |
|
| void MGUI::LAYOUT_PANE_BASE::SetDimensions |
( |
MGUI::POINT |
dim |
) |
|
| void MGUI::LAYOUT_PANE_BASE::SetEnabled |
( |
bool |
enabled |
) |
|
| void MGUI::LAYOUT_PANE_BASE::SetMinimumSize |
( |
int |
width, |
|
|
int |
height | |
|
) |
| | |
Set minimum size for pane.
- Parameters:
-
| width | Minimum width in pixels, -1 to leave unchanged |
| height | Minimum height in pixels, -1 to leave unchanged |
| void MGUI::LAYOUT_PANE_BASE::SetPaneWidget |
( |
Widget |
PaneWidget |
) |
[protected] |
| void MGUI::LAYOUT_PANE_BASE::SetVisible |
( |
bool |
visible |
) |
|
Set visibility for all controls in pane or children thereof.
| void MGUI::LAYOUT_PANE_BASE::UpdateLayout |
( |
|
) |
[inline] |
Force update of layout.
This may be necessary if the layout is changed after the dialog/window is initially created.
The documentation for this class was generated from the following file: