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