#include <customgui_base.h>

The base class for custom GUIs.
Public Member Functions | |
| Int32 | GetWidth () |
| Int32 | GetHeight () |
| void | Redraw () |
| Bool | LayoutChanged () |
| Bool | Activate () |
| Bool | SetDefaultForResEdit () |
| Bool | SetData (const TriState< GeData > &tristate) |
| TriState< GeData > | GetData () |
| void | SetLayoutMode (Int32 mode) |
| Int32 | GetLayoutMode () |
| Bool | SupportLayoutSwitch () |
Public Member Functions inherited from _BaseCustomGui | |
| Int32 | GetWidth (Int32 plugid) |
| Int32 | GetHeight (Int32 plugid) |
| void | Redraw (Int32 plugid) |
| Bool | LayoutChanged (Int32 plugid) |
| Bool | Activate (Int32 plugid) |
| Bool | SetDefaultForResEdit (Int32 plugid) |
| Bool | SetData (Int32 plugid, const TriState< GeData > &tristate) |
| TriState< GeData > | GetData (Int32 plugid) |
| void | SetLayoutMode (Int32 plugid, Int32 mode) |
| Int32 | GetLayoutMode (Int32 plugid) |
| Bool | SupportLayoutSwitch (Int32 plugid) |
Static Public Attributes | |
| static constexpr Int32 | VALUE |
Private Member Functions | |
| BaseCustomGui () | |
| ~BaseCustomGui () | |
|
private |
|
private |
| Int32 GetWidth | ( | ) |
Retrieves the width of the custom GUI in pixels.
| Int32 GetHeight | ( | ) |
Retrieves the height of the custom GUI in pixels.
| void Redraw | ( | ) |
Redraws the custom GUI.
| Bool LayoutChanged | ( | ) |
Tells the custom GUI that the layout has changed.
| Bool Activate | ( | ) |
Activates the custom GUI.
| Bool SetDefaultForResEdit | ( | ) |
Sets the custom GUI to the resource editor defaults.
Sets the custom GUI data.
| [in] | tristate | The new data. |
| void SetLayoutMode | ( | Int32 | mode | ) |
Sets the layout mode.
| [in] | mode | The new layout mode: LAYOUTMODE |
| Int32 GetLayoutMode | ( | ) |
Retrieves the layout mode.
| Bool SupportLayoutSwitch | ( | ) |
Checks if the custom GUI supports layout switching.
|
staticconstexpr |