Advanced Menu System
1.0
|
Slider param setting widget. More...
#include <SliderWidget.h>
Public Member Functions | |
USliderWidget (const FObjectInitializer &ObjectInitializer) | |
virtual void | NativeConstruct () override |
virtual void | SynchronizeProperties () override |
void | SliderMouseCaptureBegin () |
void | SliderMouseCaptureEnd () |
void | SliderControllerCaptureBegin () |
void | SliderControllerCaptureEnd () |
void | SliderOnValueChanged (float Value) |
void | UpdateSliderValues () |
void | SetSliderValue (float Value) |
FORCEINLINE float | GetSliderValue () const |
void | SetSliderMinValue (float Value) |
FORCEINLINE float | GetSliderMinValue () const |
void | SetSliderMaxValue (float Value) |
FORCEINLINE float | GetSliderMaxValue () const |
void | SetSliderWidgetStyle (FSliderStyle Style) |
FORCEINLINE FSliderStyle | GetSliderWidgetStyle () const |
void | SetSliderOrientation (TEnumAsByte< EOrientation > Orientation) |
FORCEINLINE TEnumAsByte< EOrientation > | GetSliderOrientation () const |
void | SetSliderBarColor (FLinearColor Color) |
FORCEINLINE FLinearColor | GetSliderBarColor () const |
void | SetSliderHandleColor (FLinearColor Color) |
FORCEINLINE FLinearColor | GetSliderHandleColor () const |
void | SetIndentHandle (bool Value) |
FORCEINLINE bool | HasIndentHandle () const |
void | SetSliderLocked (bool Value) |
FORCEINLINE bool | IsSliderLocked () const |
void | SetSliderMouseUsesStep (bool Value) |
void | SetSliderRequiresControllerLock (bool Value) |
void | SetSliderStepSize (float Value) |
void | SetSliderFocusable (bool Value) |
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 UTextBlock * | SliderValueText |
class USlider * | Slider |
FOnMouseCaptureBegin | OnMouseCaptureBegin |
FOnMouseCaptureEnd | OnMouseCaptureEnd |
FOnControllerCaptureBegin | OnControllerCaptureBegin |
FOnControllerCaptureEnd | OnControllerCaptureEnd |
FOnValueChanged | OnValueChanged |
float | SliderValue |
float | MinSliderValue |
float | MaxSliderValue |
FSliderStyle | SliderWidgetStyle |
TEnumAsByte< EOrientation > | SliderOrientation |
FLinearColor | SliderBarColor |
FLinearColor | SliderHandleColor |
bool | SliderIndentHandle |
bool | SliderLocked |
bool | MouseUsesStep |
bool | RequiresControllerLock |
float | SliderStepSize |
bool | IsSliderFocusable |
Public Attributes inherited from USettingsParamBase | |
class UTextBlock * | TitleTextBlock |
FText | TitleText |
FColor | TitleTextColor |
FSlateFontInfo | TitleTextFont |
Slider param setting widget.
USliderWidget::USliderWidget | ( | const FObjectInitializer & | ObjectInitializer | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Reimplemented from USettingsParamBase.
void USliderWidget::SetIndentHandle | ( | bool | Value | ) |
void USliderWidget::SetSliderBarColor | ( | FLinearColor | Color | ) |
void USliderWidget::SetSliderFocusable | ( | bool | Value | ) |
void USliderWidget::SetSliderHandleColor | ( | FLinearColor | Color | ) |
void USliderWidget::SetSliderLocked | ( | bool | Value | ) |
void USliderWidget::SetSliderMaxValue | ( | float | Value | ) |
void USliderWidget::SetSliderMinValue | ( | float | Value | ) |
void USliderWidget::SetSliderMouseUsesStep | ( | bool | Value | ) |
void USliderWidget::SetSliderOrientation | ( | TEnumAsByte< EOrientation > | Orientation | ) |
void USliderWidget::SetSliderRequiresControllerLock | ( | bool | Value | ) |
void USliderWidget::SetSliderStepSize | ( | float | Value | ) |
void USliderWidget::SetSliderValue | ( | float | Value | ) |
void USliderWidget::SetSliderWidgetStyle | ( | FSliderStyle | Style | ) |
void USliderWidget::SliderControllerCaptureBegin | ( | ) |
void USliderWidget::SliderControllerCaptureEnd | ( | ) |
void USliderWidget::SliderMouseCaptureBegin | ( | ) |
void USliderWidget::SliderMouseCaptureEnd | ( | ) |
void USliderWidget::SliderOnValueChanged | ( | float | Value | ) |
|
overridevirtual |
Reimplemented from USettingsParamBase.
void USliderWidget::UpdateSliderValues | ( | ) |
bool USliderWidget::IsSliderFocusable |
Should the slider be focusable?
float USliderWidget::MaxSliderValue |
The maximum value the slider can be set to.
float USliderWidget::MinSliderValue |
The minimum value the slider can be set to.
bool USliderWidget::MouseUsesStep |
Sets new value if mouse position is greater/less than half the step size.
FOnControllerCaptureBegin USliderWidget::OnControllerCaptureBegin |
Invoked when the controller capture begins.
FOnControllerCaptureEnd USliderWidget::OnControllerCaptureEnd |
Invoked when the controller capture ends.
FOnMouseCaptureBegin USliderWidget::OnMouseCaptureBegin |
Invoked when the mouse is pressed and a capture begins.
FOnMouseCaptureEnd USliderWidget::OnMouseCaptureEnd |
Invoked when the mouse is released and a capture ends.
FOnValueChanged USliderWidget::OnValueChanged |
Called when the value is changed by slider or typing.
bool USliderWidget::RequiresControllerLock |
Sets whether we have to lock input to change the slider value.
class USlider* USliderWidget::Slider |
FLinearColor USliderWidget::SliderBarColor |
The color to draw the slider bar in.
FLinearColor USliderWidget::SliderHandleColor |
The color to draw the slider handle in.
bool USliderWidget::SliderIndentHandle |
Whether the slidable area should be indented to fit the handle.
bool USliderWidget::SliderLocked |
Whether the handle is interactive or fixed.
TEnumAsByte<EOrientation> USliderWidget::SliderOrientation |
The slider's orientation.
float USliderWidget::SliderStepSize |
The amount to adjust the value by, when using a controller or keyboard
float USliderWidget::SliderValue |
The value to display.
class UTextBlock* USliderWidget::SliderValueText |
FSliderStyle USliderWidget::SliderWidgetStyle |
The progress bar style