G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
UCommonButtonStyle Class Reference

-— All properties must be EditDefaultsOnly, BlueprintReadOnly !!! --— we return the CDO to blueprints, so we cannot allow any changes (blueprint doesn't support const variables) More...

Public Member Functions

Common ButtonStyle|Getters
void GetSelectedHoveredBrush (FSlateBrush &Brush) const
void GetCustomPadding (FMargin &OutCustomPadding) const
void GetDisabledBrush (FSlateBrush &Brush) const
UCommonTextStyle GetDisabledTextStyle () const
void GetMaterialBrush (FSlateBrush &Brush) const
void GetNormalBaseBrush (FSlateBrush &Brush) const
void GetNormalHoveredBrush (FSlateBrush &Brush) const
UCommonTextStyle GetNormalHoveredTextStyle () const
void GetNormalPressedBrush (FSlateBrush &Brush) const
UCommonTextStyle GetNormalTextStyle () const
void GetSelectedBaseBrush (FSlateBrush &Brush) const
void GetButtonPadding (FMargin &OutButtonPadding) const
UCommonTextStyle GetSelectedHoveredTextStyle () const
void GetSelectedPressedBrush (FSlateBrush &Brush) const
UCommonTextStyle GetSelectedTextStyle () const
Functions
void SetCustomPadding (FMargin Value)
 The custom padding of the button to use for each size.
void SetNormalTextStyle (TSubclassOf< UCommonTextStyle > Value)
 The text style to use when un-selected.
void SetNormalHoveredTextStyle (TSubclassOf< UCommonTextStyle > Value)
 The text style to use when un-selected.
void SetSelectedTextStyle (TSubclassOf< UCommonTextStyle > Value)
 The text style to use when selected.
void SetSelectedHoveredTextStyle (TSubclassOf< UCommonTextStyle > Value)
 The text style to use when un-selected.
void SetDisabledTextStyle (TSubclassOf< UCommonTextStyle > Value)
 The text style to use when disabled.
void SetButtonPadding (FMargin Value)
 The button content padding to apply for each size.
Public Member Functions inherited from UObject
bool MarkPackageDirty () const
void RemoveFromRoot ()
bool GetIsRooted () const
bool IsTransient () const
bool Modify (bool bAlwaysMarkDirty=true)
void SetTransactional (bool bTransactional)
bool IsSupportedForNetworking () const
UClass GetClass () const
UObject GetOuter () const
UObject GetTypedOuter (TSubclassOf< UObject > Target) const
 Traverses the outer chain searching for the next object of a certain type.
UPackage GetOutermost () const
UPackage GetPackage () const
void AddToRoot ()
UWorld GetWorld () const
FName GetName () const
FString GetFullName (const UObject StopOuter=nullptr) const
FString GetPathName (const UObject StopOuter=nullptr) const
bool IsA (const UClass Class) const
 Returns true if this object is of the specified type, or a child of that type.
void SaveConfig ()
void LoadConfig ()
void ReloadConfig ()
void CopyScriptPropertiesFrom (const UObject OtherObject)
void opCast (?&Address) const
FString ToString () const

Static Public Member Functions

Static Functions
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Public Attributes

Disabled
FSlateBrush Disabled
 The disabled brush to apply to each size of this button.
Normal
FSlateBrush NormalBase
 The normal (un-selected) brush to apply to each size of this button.
FSlateBrush NormalHovered
 The normal (un-selected) brush to apply to each size of this button when hovered.
FSlateBrush NormalPressed
 The normal (un-selected) brush to apply to each size of this button when pressed.
Properties
FSlateBrush SingleMaterialBrush
 The normal (un-selected) brush to apply to each size of this button.
FSlateSound PressedSlateSound
 The sound to play when the button is pressed.
FSlateSound HoveredSlateSound
 The sound to play when the button is hovered.
FCommonButtonStyleOptionalSlateSound LockedPressedSlateSound
 The sound to play when the button is pressed while locked.
UCommonTextStyle SelectedTextStyle
 The text style to use when selected.
int MinWidth
 The minimum width of buttons using this style.
int MinHeight
 The minimum height of buttons using this style.
bool bSingleMaterial
 Whether or not the style uses a drop shadow.
FCommonButtonStyleOptionalSlateSound SelectedPressedSlateSound
 The sound to play when the button is pressed while selected.
UCommonTextStyle SelectedHoveredTextStyle
 The text style to use when un-selected.
FCommonButtonStyleOptionalSlateSound SelectedHoveredSlateSound
 The sound to play when the button is hovered while selected.
FCommonButtonStyleOptionalSlateSound LockedHoveredSlateSound
 The sound to play when the button is hovered while locked.
UCommonTextStyle DisabledTextStyle
 The text style to use when disabled.
UCommonTextStyle NormalHoveredTextStyle
 The text style to use when un-selected.
UCommonTextStyle NormalTextStyle
 The text style to use when un-selected.
Selected
FSlateBrush SelectedBase
 The selected brush to apply to each size of this button.
FSlateBrush SelectedPressed
 The selected brush to apply to each size of this button when pressed.
FSlateBrush SelectedHovered
 The selected brush to apply to each size of this button when hovered.
Public Attributes inherited from UObject
const UClass Class
const UObject Outer
const UPackage Outermost
const UPackage Package
const UWorld World
const FName Name
const bool IsRooted

Detailed Description

-— All properties must be EditDefaultsOnly, BlueprintReadOnly !!! --— we return the CDO to blueprints, so we cannot allow any changes (blueprint doesn't support const variables)

Member Function Documentation

◆ GetButtonPadding()

void GetButtonPadding ( FMargin & OutButtonPadding) const

◆ GetCustomPadding()

void GetCustomPadding ( FMargin & OutCustomPadding) const

◆ GetDisabledBrush()

void GetDisabledBrush ( FSlateBrush & Brush) const

◆ GetDisabledTextStyle()

UCommonTextStyle GetDisabledTextStyle ( ) const

◆ GetMaterialBrush()

void GetMaterialBrush ( FSlateBrush & Brush) const

◆ GetNormalBaseBrush()

void GetNormalBaseBrush ( FSlateBrush & Brush) const

◆ GetNormalHoveredBrush()

void GetNormalHoveredBrush ( FSlateBrush & Brush) const

◆ GetNormalHoveredTextStyle()

UCommonTextStyle GetNormalHoveredTextStyle ( ) const

◆ GetNormalPressedBrush()

void GetNormalPressedBrush ( FSlateBrush & Brush) const

◆ GetNormalTextStyle()

UCommonTextStyle GetNormalTextStyle ( ) const

◆ GetSelectedBaseBrush()

void GetSelectedBaseBrush ( FSlateBrush & Brush) const

◆ GetSelectedHoveredBrush()

void GetSelectedHoveredBrush ( FSlateBrush & Brush) const

◆ GetSelectedHoveredTextStyle()

UCommonTextStyle GetSelectedHoveredTextStyle ( ) const

◆ GetSelectedPressedBrush()

void GetSelectedPressedBrush ( FSlateBrush & Brush) const

◆ GetSelectedTextStyle()

UCommonTextStyle GetSelectedTextStyle ( ) const

◆ SetButtonPadding()

void SetButtonPadding ( FMargin Value)

The button content padding to apply for each size.

◆ SetCustomPadding()

void SetCustomPadding ( FMargin Value)

The custom padding of the button to use for each size.

◆ SetDisabledTextStyle()

void SetDisabledTextStyle ( TSubclassOf< UCommonTextStyle > Value)

The text style to use when disabled.

◆ SetNormalHoveredTextStyle()

void SetNormalHoveredTextStyle ( TSubclassOf< UCommonTextStyle > Value)

The text style to use when un-selected.

◆ SetNormalTextStyle()

void SetNormalTextStyle ( TSubclassOf< UCommonTextStyle > Value)

The text style to use when un-selected.

◆ SetSelectedHoveredTextStyle()

void SetSelectedHoveredTextStyle ( TSubclassOf< UCommonTextStyle > Value)

The text style to use when un-selected.

◆ SetSelectedTextStyle()

void SetSelectedTextStyle ( TSubclassOf< UCommonTextStyle > Value)

The text style to use when selected.

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ bSingleMaterial

bool bSingleMaterial

Whether or not the style uses a drop shadow.

◆ Disabled

FSlateBrush Disabled

The disabled brush to apply to each size of this button.

◆ DisabledTextStyle

UCommonTextStyle DisabledTextStyle

The text style to use when disabled.

◆ HoveredSlateSound

FSlateSound HoveredSlateSound

The sound to play when the button is hovered.

◆ LockedHoveredSlateSound

FCommonButtonStyleOptionalSlateSound LockedHoveredSlateSound

The sound to play when the button is hovered while locked.

◆ LockedPressedSlateSound

FCommonButtonStyleOptionalSlateSound LockedPressedSlateSound

The sound to play when the button is pressed while locked.

◆ MinHeight

int MinHeight

The minimum height of buttons using this style.

◆ MinWidth

int MinWidth

The minimum width of buttons using this style.

◆ NormalBase

FSlateBrush NormalBase

The normal (un-selected) brush to apply to each size of this button.

◆ NormalHovered

FSlateBrush NormalHovered

The normal (un-selected) brush to apply to each size of this button when hovered.

◆ NormalHoveredTextStyle

UCommonTextStyle NormalHoveredTextStyle

The text style to use when un-selected.

◆ NormalPressed

FSlateBrush NormalPressed

The normal (un-selected) brush to apply to each size of this button when pressed.

◆ NormalTextStyle

UCommonTextStyle NormalTextStyle

The text style to use when un-selected.

◆ PressedSlateSound

FSlateSound PressedSlateSound

The sound to play when the button is pressed.

◆ SelectedBase

FSlateBrush SelectedBase

The selected brush to apply to each size of this button.

◆ SelectedHovered

FSlateBrush SelectedHovered

The selected brush to apply to each size of this button when hovered.

◆ SelectedHoveredSlateSound

FCommonButtonStyleOptionalSlateSound SelectedHoveredSlateSound

The sound to play when the button is hovered while selected.

◆ SelectedHoveredTextStyle

UCommonTextStyle SelectedHoveredTextStyle

The text style to use when un-selected.

◆ SelectedPressed

FSlateBrush SelectedPressed

The selected brush to apply to each size of this button when pressed.

◆ SelectedPressedSlateSound

FCommonButtonStyleOptionalSlateSound SelectedPressedSlateSound

The sound to play when the button is pressed while selected.

◆ SelectedTextStyle

UCommonTextStyle SelectedTextStyle

The text style to use when selected.

◆ SingleMaterialBrush

FSlateBrush SingleMaterialBrush

The normal (un-selected) brush to apply to each size of this button.