Advanced Menu System  1.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
USwitchWidget Class Reference

Switch param setting widget More...

#include <SwitchWidget.h>

+ Inheritance diagram for USwitchWidget:

Public Member Functions

 USwitchWidget (const FObjectInitializer &ObjectInitializer)
 
virtual void SynchronizeProperties () override
 
virtual void NativeConstruct () override
 
void Left_Clicked ()
 
void Left_Pressed ()
 
void Left_Released ()
 
void Left_Hovered ()
 
void Left_UnHovered ()
 
void Right_Clicked ()
 
void Right_Pressed ()
 
void Right_Released ()
 
void Right_Hovered ()
 
void Right_UnHovered ()
 
FORCEINLINE int GetSwitchValue () const
 
FORCEINLINE TArray< FText > GetValueNames () const
 
void OnValueChanged (int NewValue)
 
virtual void OnValueChangedV (int Value)
 
void UpdateValueName ()
 
- Public Member Functions inherited from USettingsParamBase
 USettingsParamBase (const FObjectInitializer &ObjectInitializer)
 
virtual void NativeConstruct () override
 
virtual void SynchronizeProperties () override
 
virtual void PostLoad () override
 
void SetTitleText (FText Text)
 
void SetTitleTextColor (FColor Color)
 
void SetTitleTextFont (FSlateFontInfo Font)
 
void UpdateTextBlock ()
 

Public Attributes

class UButton * Left_Button
 
class UButton * Right_Button
 
class UTextBlock * CurrentValueName
 
int Value
 
TArray< FText > ValueNames
 
FComponentTriggerChange OnSwitchChange
 
FOnLeftClickedEvent OnLeftClicked
 
FOnLeftPressedEvent OnLeftPressed
 
FOnLeftReleasedEvent OnLeftReleased
 
FOnLeftHoverEvent OnLeftHovered
 
FOnLeftUnHoverEvent OnLeftUnHovered
 
FOnRightClickedEvent OnRightClicked
 
FOnRightPressedEvent OnRightPressed
 
FOnRightReleasedEvent OnRightReleased
 
FOnRightHoverEvent OnRightHovered
 
FOnRightUnHoverEvent OnRightUnHovered
 
- Public Attributes inherited from USettingsParamBase
class UTextBlock * TitleTextBlock
 
FText TitleText
 
FColor TitleTextColor
 
FSlateFontInfo TitleTextFont
 

Detailed Description

Switch param setting widget

Constructor & Destructor Documentation

◆ USwitchWidget()

USwitchWidget::USwitchWidget ( const FObjectInitializer &  ObjectInitializer)

Member Function Documentation

◆ GetSwitchValue()

FORCEINLINE int USwitchWidget::GetSwitchValue ( ) const
inline

◆ GetValueNames()

FORCEINLINE TArray< FText > USwitchWidget::GetValueNames ( ) const
inline

◆ Left_Clicked()

void USwitchWidget::Left_Clicked ( )

◆ Left_Hovered()

void USwitchWidget::Left_Hovered ( )

◆ Left_Pressed()

void USwitchWidget::Left_Pressed ( )

◆ Left_Released()

void USwitchWidget::Left_Released ( )

◆ Left_UnHovered()

void USwitchWidget::Left_UnHovered ( )

◆ NativeConstruct()

void USwitchWidget::NativeConstruct ( )
overridevirtual

Reimplemented from USettingsParamBase.

◆ OnValueChanged()

void USwitchWidget::OnValueChanged ( int  NewValue)

◆ OnValueChangedV()

void USwitchWidget::OnValueChangedV ( int  Value)
virtual

◆ Right_Clicked()

void USwitchWidget::Right_Clicked ( )

◆ Right_Hovered()

void USwitchWidget::Right_Hovered ( )

◆ Right_Pressed()

void USwitchWidget::Right_Pressed ( )

◆ Right_Released()

void USwitchWidget::Right_Released ( )

◆ Right_UnHovered()

void USwitchWidget::Right_UnHovered ( )

◆ SynchronizeProperties()

void USwitchWidget::SynchronizeProperties ( )
overridevirtual

Reimplemented from USettingsParamBase.

◆ UpdateValueName()

void USwitchWidget::UpdateValueName ( )

Member Data Documentation

◆ CurrentValueName

class UTextBlock* USwitchWidget::CurrentValueName

◆ Left_Button

class UButton* USwitchWidget::Left_Button

◆ OnLeftClicked

FOnLeftClickedEvent USwitchWidget::OnLeftClicked

◆ OnLeftHovered

FOnLeftHoverEvent USwitchWidget::OnLeftHovered

Called when the button is hovered

◆ OnLeftPressed

FOnLeftPressedEvent USwitchWidget::OnLeftPressed

Called when the button is pressed

◆ OnLeftReleased

FOnLeftReleasedEvent USwitchWidget::OnLeftReleased

Called when the button is released

◆ OnLeftUnHovered

FOnLeftUnHoverEvent USwitchWidget::OnLeftUnHovered

Called when the button is unhovered

◆ OnRightClicked

FOnRightClickedEvent USwitchWidget::OnRightClicked

Called when the button is clicked

◆ OnRightHovered

FOnRightHoverEvent USwitchWidget::OnRightHovered

Called when the button is hovered

◆ OnRightPressed

FOnRightPressedEvent USwitchWidget::OnRightPressed

Called when the button is pressed

◆ OnRightReleased

FOnRightReleasedEvent USwitchWidget::OnRightReleased

Called when the button is released

◆ OnRightUnHovered

FOnRightUnHoverEvent USwitchWidget::OnRightUnHovered

Called when the button is unhovered

◆ OnSwitchChange

FComponentTriggerChange USwitchWidget::OnSwitchChange

◆ Right_Button

class UButton* USwitchWidget::Right_Button

◆ Value

int USwitchWidget::Value

◆ ValueNames

TArray<FText> USwitchWidget::ValueNames