Navigation
API > API/Runtime > API/Runtime/SlateCore
Represents the appearance of an SSpinBox
| Name | FSpinBoxStyle |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h |
| Include Path | #include "Styling/SlateTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FSpinBoxStyle : public FSlateWidgetStyle
Inheritance Hierarchy
- FSlateWidgetStyle → FSpinBoxStyle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Styling/SlateTypes.h | |||
FSpinBoxStyle
(
const FSpinBoxStyle& |
Styling/SlateTypes.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSpinBoxStyle() |
Styling/SlateTypes.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TypeName | const FName | Styling/SlateTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveBackgroundBrush | FSlateBrush | Styling/SlateTypes.h |
|
|
| ActiveFillBrush | FSlateBrush | Brush used to fill the spinbox when it's active | Styling/SlateTypes.h |
|
| ArrowsImage | FSlateBrush | Image used to draw the spinbox arrows | Styling/SlateTypes.h |
|
| BackgroundBrush | FSlateBrush | Brush used to draw the background of the spinbox | Styling/SlateTypes.h |
|
| ForegroundColor | FSlateColor | Color used to draw the spinbox foreground elements | Styling/SlateTypes.h | |
| HoveredBackgroundBrush | FSlateBrush | Brush used to draw the background of the spinbox when it's hovered over | Styling/SlateTypes.h |
|
| HoveredFillBrush | FSlateBrush | Brush used to fill the spinbox when it's hovered and not active | Styling/SlateTypes.h |
|
| InactiveFillBrush | FSlateBrush | Brush used to fill the spinbox when it's inactive | Styling/SlateTypes.h |
|
| InsetPadding | FMargin | Padding between the background brush and the fill brush | Styling/SlateTypes.h |
|
| TextPadding | FMargin | Padding to add around the spinbox and its text | Styling/SlateTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSpinBoxStyle & SetActiveBackgroundBrush
(
const FSlateBrush& InBackgroundBrush |
Styling/SlateTypes.h | ||
FSpinBoxStyle & SetActiveFillBrush
(
const FSlateBrush& InActiveFillBrush |
Styling/SlateTypes.h | ||
FSpinBoxStyle & SetArrowsImage
(
const FSlateBrush& InArrowsImage |
Styling/SlateTypes.h | ||
FSpinBoxStyle & SetBackgroundBrush
(
const FSlateBrush& InBackgroundBrush |
Styling/SlateTypes.h | ||
FSpinBoxStyle & SetForegroundColor
(
const FSlateColor& InForegroundColor |
Styling/SlateTypes.h | ||
FSpinBoxStyle & SetHoveredBackgroundBrush
(
const FSlateBrush& InHoveredBackgroundBrush |
Styling/SlateTypes.h | ||
FSpinBoxStyle & SetHoveredFillBrush
(
const FSlateBrush& InHoveredBrush |
Styling/SlateTypes.h | ||
FSpinBoxStyle & SetInactiveFillBrush
(
const FSlateBrush& InInactiveFillBrush |
Styling/SlateTypes.h | ||
FSpinBoxStyle & SetInsetPadding
(
const FMargin& InInsetPadding |
Styling/SlateTypes.h | ||
FSpinBoxStyle & SetTextPadding
(
const FMargin& InTextPadding |
Styling/SlateTypes.h | ||
void UnlinkColors () |
Unlinks all colors in this style. | Styling/SlateTypes.h |
Overridden from FSlateWidgetStyle
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetResources
(
TArray< const FSlateBrush* >& OutBrushes |
Gets the brush resources associated with this style. | Styling/SlateTypes.h | |
virtual const FName GetTypeName() |
Gets the name of this style.This method must be implemented by inherited structures. | Styling/SlateTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FSpinBoxStyle & GetDefault() |
Styling/SlateTypes.h |