![]() |
Advanced Menu System
1.0
|
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 |
Switch param setting widget
| USwitchWidget::USwitchWidget | ( | const FObjectInitializer & | ObjectInitializer | ) |
|
inline |
|
inline |
| void USwitchWidget::Left_Clicked | ( | ) |
| void USwitchWidget::Left_Hovered | ( | ) |
| void USwitchWidget::Left_Pressed | ( | ) |
| void USwitchWidget::Left_Released | ( | ) |
| void USwitchWidget::Left_UnHovered | ( | ) |
|
overridevirtual |
Reimplemented from USettingsParamBase.
| void USwitchWidget::OnValueChanged | ( | int | NewValue | ) |
|
virtual |
| void USwitchWidget::Right_Clicked | ( | ) |
| void USwitchWidget::Right_Hovered | ( | ) |
| void USwitchWidget::Right_Pressed | ( | ) |
| void USwitchWidget::Right_Released | ( | ) |
| void USwitchWidget::Right_UnHovered | ( | ) |
|
overridevirtual |
Reimplemented from USettingsParamBase.
| void USwitchWidget::UpdateValueName | ( | ) |
| class UTextBlock* USwitchWidget::CurrentValueName |
| class UButton* USwitchWidget::Left_Button |
| FOnLeftClickedEvent USwitchWidget::OnLeftClicked |
| FOnLeftHoverEvent USwitchWidget::OnLeftHovered |
Called when the button is hovered
| FOnLeftPressedEvent USwitchWidget::OnLeftPressed |
Called when the button is pressed
| FOnLeftReleasedEvent USwitchWidget::OnLeftReleased |
Called when the button is released
| FOnLeftUnHoverEvent USwitchWidget::OnLeftUnHovered |
Called when the button is unhovered
| FOnRightClickedEvent USwitchWidget::OnRightClicked |
Called when the button is clicked
| FOnRightHoverEvent USwitchWidget::OnRightHovered |
Called when the button is hovered
| FOnRightPressedEvent USwitchWidget::OnRightPressed |
Called when the button is pressed
| FOnRightReleasedEvent USwitchWidget::OnRightReleased |
Called when the button is released
| FOnRightUnHoverEvent USwitchWidget::OnRightUnHovered |
Called when the button is unhovered
| FComponentTriggerChange USwitchWidget::OnSwitchChange |
| class UButton* USwitchWidget::Right_Button |
| int USwitchWidget::Value |
| TArray<FText> USwitchWidget::ValueNames |