Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Styling
Inheritance Hierarchy
- FSlateWidgetStyle
- FScrollBarStyle
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h |
| Include | #include "Styling/SlateTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FScrollBarStyle : public FSlateWidgetStyle
Remarks
Represents the appearance of an SScrollBar
Variables
| Type | Name | Description | |
|---|---|---|---|
| FSlateBrush | DraggedThumbImage | Image to use when the scrollbar thumb is in its dragged state | |
| FSlateBrush | HorizontalBackgroundImage | Background image to use when the scrollbar is oriented horizontally | |
| FSlateBrush | HorizontalBottomSlotImage | The image to use to represent the track below the thumb when the scrollbar is oriented horizontally | |
| FSlateBrush | HorizontalTopSlotImage | The image to use to represent the track above the thumb when the scrollbar is oriented horizontally | |
| FSlateBrush | HoveredThumbImage | Image to use when the scrollbar thumb is in its hovered state | |
| FSlateBrush | NormalThumbImage | Image to use when the scrollbar thumb is in its normal state | |
| float | Thickness | ||
| FSlateBrush | VerticalBackgroundImage | Background image to use when the scrollbar is oriented vertically | |
| FSlateBrush | VerticalBottomSlotImage | The image to use to represent the track below the thumb when the scrollbar is oriented vertically | |
| FSlateBrush | VerticalTopSlotImage | The image to use to represent the track above the thumb when the scrollbar is oriented vertically |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FScrollBarStyle
(
const FScrollBarStyle& |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FScrollBarStyle & | GetDefault () |
||
| FScrollBarStyle & | SetDraggedThumbImage
(
const FSlateBrush& InDraggedThumbImage |
||
| FScrollBarStyle & | SetHorizontalBackgroundImage
(
const FSlateBrush& InHorizontalBackgroundImage |
||
| FScrollBarStyle & | SetHorizontalBottomSlotImage
(
const FSlateBrush& Value |
||
| FScrollBarStyle & | SetHorizontalTopSlotImage
(
const FSlateBrush& Value |
||
| FScrollBarStyle & | SetHoveredThumbImage
(
const FSlateBrush& InHoveredThumbImage |
||
| FScrollBarStyle & | SetNormalThumbImage
(
const FSlateBrush& InNormalThumbImage |
||
| FScrollBarStyle & | SetThickness
(
float InThickness |
||
| FScrollBarStyle & | SetVerticalBackgroundImage
(
const FSlateBrush& InVerticalBackgroundImage |
||
| FScrollBarStyle & | SetVerticalBottomSlotImage
(
const FSlateBrush& Value |
||
| FScrollBarStyle & | SetVerticalTopSlotImage
(
const FSlateBrush& Value |
||
| 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 |