|
Space Plunder
|
#include <CommonSlider.h>
Public Member Functions | |
| virtual bool | Initialize () override |
| virtual void | NativePreConstruct () override |
| virtual void | NativeConstruct () override |
| float | GetSliderValue () const |
| void | SetSliderValue (const float Value) |
| void | SetSliderMinMax (const float MinValue, const float MaxValue) const |
Public Member Functions inherited from UCommonWidgetBase | |
| void | PlaySlateSound (const FSlateSound &SlateSound) const |
Public Attributes | |
| FOnSliderValueChanged | OnSliderValueChanged |
| bool | bShowValue = true |
| bool | bShowEditValue = false |
| bool | bShowTitle = true |
| FText | Title = FText::FromString("Title Text") |
Protected Member Functions | |
| virtual void | Setup () override |
Protected Member Functions inherited from UCommonWidgetBase | |
| void | LogDebugError (const FString &Message) const |
| void | LogDebugError (const FString &Message, const int32 Value) const |
| void | LogDebugError (const FString &Message, const float Value) const |
| void | LogDebugWarning (const FString &Message) const |
| void | LogDebugWarning (const FString &Message, const int32 Value) const |
| void | LogDebugWarning (const FString &Message, const float Value) const |
| void | LogDebugMessage (const FString &Message, const bool bWarning=false, const bool bError=false) const |
| void | LogDebugMessage (const FString &Message, const int32 Value, const bool bWarning=false, const bool bError=false) const |
| void | LogDebugMessage (const FString &Message, const float Value, const bool bWarning=false, const bool bError=false) const |
| void | LogDebugMessage (const FString &Message, const bool bValue, const bool bWarning, const bool bError) const |
| void | LogOnScreenMessage (const int32 Key, const FString &Message, FColor Color=FColor::Green) const |
| void | SetCategoryName (const FLogCategoryBase &Category) |
Protected Attributes | |
| USlider * | Slider = nullptr |
| UTextBlock * | TitleTextBlock = nullptr |
| UTextBlock * | ValueTextBlock = nullptr |
| UEditableTextBox * | EditableTextBox = nullptr |
| UButton * | ValueInputButton = nullptr |
| UWidgetSwitcher * | InputSwitcher = nullptr |
Protected Attributes inherited from UCommonWidgetBase | |
| bool | bDebuggingMode = false |
Private Member Functions | |
| void | OnValueChanged (float Value) |
| void | OnTextCommited (const FText &Text, ETextCommit::Type CommitMethod) |
| void | OnTextChanged (const FText &Text) |
| void | OnButtonPressed () |
Private Attributes | |
| float | SliderValue = 0.0 |
|
inline |
|
overridevirtual |
|
overridevirtual |
Reimplemented from UCommonWidgetBase.
|
overridevirtual |
Reimplemented from UCommonWidgetBase.
|
private |
|
private |
|
private |
|
private |
| void UCommonSlider::SetSliderMinMax | ( | const float | MinValue, |
| const float | MaxValue ) const |
| void UCommonSlider::SetSliderValue | ( | const float | Value | ) |
|
overrideprotectedvirtual |
Reimplemented from UCommonWidgetBase.
| bool UCommonSlider::bShowEditValue = false |
| bool UCommonSlider::bShowTitle = true |
| bool UCommonSlider::bShowValue = true |
|
protected |
|
protected |
| FOnSliderValueChanged UCommonSlider::OnSliderValueChanged |
|
protected |
|
private |
| FText UCommonSlider::Title = FText::FromString("Title Text") |
|
protected |
|
protected |
|
protected |