class
TGUIConstructionMethodsWithoutContent
template<class GUIElementType>Provides all needed permutations of static Create methods used for creating a GUI element.
Note must have a constructor of signature(PrivatelyConstruct, const String
&
, const GUISizeConstraints
&
).
Public
Methods
staticCreate
static GUIElementType *Create(const String &styleClass, const TInlineArray<GUIOption, 4> &options)
Creates a new GUI element.
- styleClass
- Style class that will be used for determining GUI element visuals from the current style sheet. If no class is provided, default style is determined based on GUI element type.
- options
- Additional options that control GUI element size and position. This will override options set in the style sheet.
staticCreate
static GUIElementType *Create(const String &styleClass)
Creates a new GUI element.
- styleClass
- Style class that will be used for determining GUI element visuals from the current style sheet. If no class is provided, default style is determined based on GUI element type.
staticCreate
static GUIElementType *Create(const TInlineArray<GUIOption, 4> &options)
Creates a new GUI element.
- options
- Additional options that control GUI element size and position. This will override options set in the style sheet.
staticCreate
static GUIElementType *Create()
Creates a new GUI element.