UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSpinBoxStyle Struct Reference

#include <SlateTypes.h>

+ Inheritance diagram for FSpinBoxStyle:

Public Member Functions

SLATECORE_API FSpinBoxStyle ()
 
SLATECORE_API FSpinBoxStyle (const FSpinBoxStyle &)
 
virtual SLATECORE_API ~FSpinBoxStyle ()
 
virtual SLATECORE_API void GetResources (TArray< const FSlateBrush * > &OutBrushes) const override
 
virtual const FName GetTypeName () const override
 
FSpinBoxStyleSetBackgroundBrush (const FSlateBrush &InBackgroundBrush)
 
FSpinBoxStyleSetActiveBackgroundBrush (const FSlateBrush &InBackgroundBrush)
 
FSpinBoxStyleSetHoveredBackgroundBrush (const FSlateBrush &InHoveredBackgroundBrush)
 
FSpinBoxStyleSetActiveFillBrush (const FSlateBrush &InActiveFillBrush)
 
FSpinBoxStyleSetHoveredFillBrush (const FSlateBrush &InHoveredBrush)
 
FSpinBoxStyleSetInactiveFillBrush (const FSlateBrush &InInactiveFillBrush)
 
FSpinBoxStyleSetArrowsImage (const FSlateBrush &InArrowsImage)
 
FSpinBoxStyleSetForegroundColor (const FSlateColor &InForegroundColor)
 
FSpinBoxStyleSetTextPadding (const FMargin &InTextPadding)
 
FSpinBoxStyleSetInsetPadding (const FMargin &InInsetPadding)
 
void UnlinkColors ()
 
- Public Member Functions inherited from FSlateWidgetStyle
SLATECORE_API FSlateWidgetStyle ()
 
virtual SLATECORE_API ~FSlateWidgetStyle ()
 

Static Public Member Functions

static SLATECORE_API const FSpinBoxStyleGetDefault ()
 

Public Attributes

FSlateBrush BackgroundBrush
 
FSlateBrush ActiveBackgroundBrush
 
FSlateBrush HoveredBackgroundBrush
 
FSlateBrush ActiveFillBrush
 
FSlateBrush HoveredFillBrush
 
FSlateBrush InactiveFillBrush
 
FSlateBrush ArrowsImage
 
FSlateColor ForegroundColor
 
FMargin TextPadding
 
FMargin InsetPadding
 

Static Public Attributes

static SLATECORE_API const FName TypeName
 

Detailed Description

Represents the appearance of an SSpinBox

Constructor & Destructor Documentation

◆ FSpinBoxStyle() [1/2]

FSpinBoxStyle::FSpinBoxStyle ( )

◆ FSpinBoxStyle() [2/2]

FSpinBoxStyle::FSpinBoxStyle ( const FSpinBoxStyle )
default

◆ ~FSpinBoxStyle()

FSpinBoxStyle::~FSpinBoxStyle ( )
virtualdefault

Member Function Documentation

◆ GetDefault()

const FSpinBoxStyle & FSpinBoxStyle::GetDefault ( )
static

◆ GetResources()

void FSpinBoxStyle::GetResources ( TArray< const FSlateBrush * > &  OutBrushes) const
overridevirtual

Gets the brush resources associated with this style.

This method must be implemented by inherited structures.

Parameters
OutBrushesThe brush resources.

Reimplemented from FSlateWidgetStyle.

◆ GetTypeName()

virtual const FName FSpinBoxStyle::GetTypeName ( ) const
inlineoverridevirtual

Gets the name of this style.

This method must be implemented by inherited structures.

Returns
Widget style name.

Reimplemented from FSlateWidgetStyle.

◆ SetActiveBackgroundBrush()

FSpinBoxStyle & FSpinBoxStyle::SetActiveBackgroundBrush ( const FSlateBrush InBackgroundBrush)
inline

◆ SetActiveFillBrush()

FSpinBoxStyle & FSpinBoxStyle::SetActiveFillBrush ( const FSlateBrush InActiveFillBrush)
inline

◆ SetArrowsImage()

FSpinBoxStyle & FSpinBoxStyle::SetArrowsImage ( const FSlateBrush InArrowsImage)
inline

◆ SetBackgroundBrush()

FSpinBoxStyle & FSpinBoxStyle::SetBackgroundBrush ( const FSlateBrush InBackgroundBrush)
inline

◆ SetForegroundColor()

FSpinBoxStyle & FSpinBoxStyle::SetForegroundColor ( const FSlateColor InForegroundColor)
inline

◆ SetHoveredBackgroundBrush()

FSpinBoxStyle & FSpinBoxStyle::SetHoveredBackgroundBrush ( const FSlateBrush InHoveredBackgroundBrush)
inline

◆ SetHoveredFillBrush()

FSpinBoxStyle & FSpinBoxStyle::SetHoveredFillBrush ( const FSlateBrush InHoveredBrush)
inline

◆ SetInactiveFillBrush()

FSpinBoxStyle & FSpinBoxStyle::SetInactiveFillBrush ( const FSlateBrush InInactiveFillBrush)
inline

◆ SetInsetPadding()

FSpinBoxStyle & FSpinBoxStyle::SetInsetPadding ( const FMargin InInsetPadding)
inline

◆ SetTextPadding()

FSpinBoxStyle & FSpinBoxStyle::SetTextPadding ( const FMargin InTextPadding)
inline

◆ UnlinkColors()

void FSpinBoxStyle::UnlinkColors ( )
inline

Unlinks all colors in this style.

See also
FSlateColor::Unlink

Member Data Documentation

◆ ActiveBackgroundBrush

FSlateBrush FSpinBoxStyle::ActiveBackgroundBrush

◆ ActiveFillBrush

FSlateBrush FSpinBoxStyle::ActiveFillBrush

Brush used to fill the spinbox when it's active

◆ ArrowsImage

FSlateBrush FSpinBoxStyle::ArrowsImage

Image used to draw the spinbox arrows

◆ BackgroundBrush

FSlateBrush FSpinBoxStyle::BackgroundBrush

Brush used to draw the background of the spinbox

◆ ForegroundColor

FSlateColor FSpinBoxStyle::ForegroundColor

Color used to draw the spinbox foreground elements

◆ HoveredBackgroundBrush

FSlateBrush FSpinBoxStyle::HoveredBackgroundBrush

Brush used to draw the background of the spinbox when it's hovered over

◆ HoveredFillBrush

FSlateBrush FSpinBoxStyle::HoveredFillBrush

Brush used to fill the spinbox when it's hovered and not active

◆ InactiveFillBrush

FSlateBrush FSpinBoxStyle::InactiveFillBrush

Brush used to fill the spinbox when it's inactive

◆ InsetPadding

FMargin FSpinBoxStyle::InsetPadding

Padding between the background brush and the fill brush

◆ TextPadding

FMargin FSpinBoxStyle::TextPadding

Padding to add around the spinbox and its text

◆ TypeName

const FName FSpinBoxStyle::TypeName
static

The documentation for this struct was generated from the following files: