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

Slider param setting widget. More...

#include <SliderWidget.h>

+ Inheritance diagram for USliderWidget:

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
 

Detailed Description

Slider param setting widget.

Constructor & Destructor Documentation

◆ USliderWidget()

USliderWidget::USliderWidget ( const FObjectInitializer &  ObjectInitializer)

Member Function Documentation

◆ GetSliderBarColor()

FORCEINLINE FLinearColor USliderWidget::GetSliderBarColor ( ) const
inline

◆ GetSliderHandleColor()

FORCEINLINE FLinearColor USliderWidget::GetSliderHandleColor ( ) const
inline

◆ GetSliderMaxValue()

FORCEINLINE float USliderWidget::GetSliderMaxValue ( ) const
inline

◆ GetSliderMinValue()

FORCEINLINE float USliderWidget::GetSliderMinValue ( ) const
inline

◆ GetSliderOrientation()

FORCEINLINE TEnumAsByte< EOrientation > USliderWidget::GetSliderOrientation ( ) const
inline

◆ GetSliderValue()

FORCEINLINE float USliderWidget::GetSliderValue ( ) const
inline

◆ GetSliderWidgetStyle()

FORCEINLINE FSliderStyle USliderWidget::GetSliderWidgetStyle ( ) const
inline

◆ HasIndentHandle()

FORCEINLINE bool USliderWidget::HasIndentHandle ( ) const
inline

◆ IsSliderLocked()

FORCEINLINE bool USliderWidget::IsSliderLocked ( ) const
inline

◆ NativeConstruct()

void USliderWidget::NativeConstruct ( )
overridevirtual

Reimplemented from USettingsParamBase.

◆ SetIndentHandle()

void USliderWidget::SetIndentHandle ( bool  Value)

◆ SetSliderBarColor()

void USliderWidget::SetSliderBarColor ( FLinearColor  Color)

◆ SetSliderFocusable()

void USliderWidget::SetSliderFocusable ( bool  Value)

◆ SetSliderHandleColor()

void USliderWidget::SetSliderHandleColor ( FLinearColor  Color)

◆ SetSliderLocked()

void USliderWidget::SetSliderLocked ( bool  Value)

◆ SetSliderMaxValue()

void USliderWidget::SetSliderMaxValue ( float  Value)

◆ SetSliderMinValue()

void USliderWidget::SetSliderMinValue ( float  Value)

◆ SetSliderMouseUsesStep()

void USliderWidget::SetSliderMouseUsesStep ( bool  Value)

◆ SetSliderOrientation()

void USliderWidget::SetSliderOrientation ( TEnumAsByte< EOrientation >  Orientation)

◆ SetSliderRequiresControllerLock()

void USliderWidget::SetSliderRequiresControllerLock ( bool  Value)

◆ SetSliderStepSize()

void USliderWidget::SetSliderStepSize ( float  Value)

◆ SetSliderValue()

void USliderWidget::SetSliderValue ( float  Value)

◆ SetSliderWidgetStyle()

void USliderWidget::SetSliderWidgetStyle ( FSliderStyle  Style)

◆ SliderControllerCaptureBegin()

void USliderWidget::SliderControllerCaptureBegin ( )

◆ SliderControllerCaptureEnd()

void USliderWidget::SliderControllerCaptureEnd ( )

◆ SliderMouseCaptureBegin()

void USliderWidget::SliderMouseCaptureBegin ( )

◆ SliderMouseCaptureEnd()

void USliderWidget::SliderMouseCaptureEnd ( )

◆ SliderOnValueChanged()

void USliderWidget::SliderOnValueChanged ( float  Value)

◆ SynchronizeProperties()

void USliderWidget::SynchronizeProperties ( )
overridevirtual

Reimplemented from USettingsParamBase.

◆ UpdateSliderValues()

void USliderWidget::UpdateSliderValues ( )

Member Data Documentation

◆ IsSliderFocusable

bool USliderWidget::IsSliderFocusable

Should the slider be focusable?

◆ MaxSliderValue

float USliderWidget::MaxSliderValue

The maximum value the slider can be set to.

◆ MinSliderValue

float USliderWidget::MinSliderValue

The minimum value the slider can be set to.

◆ MouseUsesStep

bool USliderWidget::MouseUsesStep

Sets new value if mouse position is greater/less than half the step size.

◆ OnControllerCaptureBegin

FOnControllerCaptureBegin USliderWidget::OnControllerCaptureBegin

Invoked when the controller capture begins.

◆ OnControllerCaptureEnd

FOnControllerCaptureEnd USliderWidget::OnControllerCaptureEnd

Invoked when the controller capture ends.

◆ OnMouseCaptureBegin

FOnMouseCaptureBegin USliderWidget::OnMouseCaptureBegin

Invoked when the mouse is pressed and a capture begins.

◆ OnMouseCaptureEnd

FOnMouseCaptureEnd USliderWidget::OnMouseCaptureEnd

Invoked when the mouse is released and a capture ends.

◆ OnValueChanged

FOnValueChanged USliderWidget::OnValueChanged

Called when the value is changed by slider or typing.

◆ RequiresControllerLock

bool USliderWidget::RequiresControllerLock

Sets whether we have to lock input to change the slider value.

◆ Slider

class USlider* USliderWidget::Slider

◆ SliderBarColor

FLinearColor USliderWidget::SliderBarColor

The color to draw the slider bar in.

◆ SliderHandleColor

FLinearColor USliderWidget::SliderHandleColor

The color to draw the slider handle in.

◆ SliderIndentHandle

bool USliderWidget::SliderIndentHandle

Whether the slidable area should be indented to fit the handle.

◆ SliderLocked

bool USliderWidget::SliderLocked

Whether the handle is interactive or fixed.

◆ SliderOrientation

TEnumAsByte<EOrientation> USliderWidget::SliderOrientation

The slider's orientation.

◆ SliderStepSize

float USliderWidget::SliderStepSize

The amount to adjust the value by, when using a controller or keyboard

◆ SliderValue

float USliderWidget::SliderValue

The value to display.

◆ SliderValueText

class UTextBlock* USliderWidget::SliderValueText

◆ SliderWidgetStyle

FSliderStyle USliderWidget::SliderWidgetStyle

The progress bar style