UnitScaleCustomGui Class Reference

#include <customgui_unitscale.h>

Inheritance diagram for UnitScaleCustomGui:

Detailed Description

Unit scale custom GUI (CUSTOMGUI_UNITSCALE) for UnitScaleData.
Here are the settings: UNITSCALE_CUSTOMGUISETTINGS

Public Member Functions

Bool SetValue (const UnitScaleData *data)
 
Bool GetValue (UnitScaleData *data) const
 
- Public Member Functions inherited from BaseCustomGui< 200000274 >
Int32 GetWidth ()
 
Int32 GetHeight ()
 
void Redraw ()
 
Bool LayoutChanged ()
 
Bool Activate ()
 
Bool SetDefaultForResEdit ()
 
Bool SetData (const TriState< GeData > &tristate)
 
TriState< GeDataGetData ()
 
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< GeDataGetData (Int32 plugid)
 
void SetLayoutMode (Int32 plugid, Int32 mode)
 
Int32 GetLayoutMode (Int32 plugid)
 
Bool SupportLayoutSwitch (Int32 plugid)
 

Private Member Functions

 UnitScaleCustomGui ()
 
 ~UnitScaleCustomGui ()
 

Additional Inherited Members

- Static Public Attributes inherited from BaseCustomGui< 200000274 >
static constexpr Int32 VALUE
 

Constructor & Destructor Documentation

◆ UnitScaleCustomGui()

UnitScaleCustomGui ( )
private

◆ ~UnitScaleCustomGui()

~UnitScaleCustomGui ( )
private

Member Function Documentation

◆ SetValue()

Bool SetValue ( const UnitScaleData data)

Sets the unit scale value.

Parameters
[in]dataThe new value.
Returns
true if successful, otherwise false.

◆ GetValue()

Bool GetValue ( UnitScaleData data) const

Retrieves the unit scale value.

Parameters
[out]dataFilled with the value.
Returns
true if successful, otherwise false.