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

#include <SlateTypes.h>

+ Inheritance diagram for FScrollBarStyle:

Public Member Functions

SLATECORE_API FScrollBarStyle ()
 
SLATECORE_API FScrollBarStyle (const FScrollBarStyle &)
 
virtual SLATECORE_API ~FScrollBarStyle ()
 
virtual SLATECORE_API void GetResources (TArray< const FSlateBrush * > &OutBrushes) const override
 
virtual const FName GetTypeName () const override
 
FScrollBarStyleSetHorizontalBackgroundImage (const FSlateBrush &InHorizontalBackgroundImage)
 
FScrollBarStyleSetVerticalBackgroundImage (const FSlateBrush &InVerticalBackgroundImage)
 
FScrollBarStyleSetVerticalTopSlotImage (const FSlateBrush &Value)
 
FScrollBarStyleSetHorizontalTopSlotImage (const FSlateBrush &Value)
 
FScrollBarStyleSetVerticalBottomSlotImage (const FSlateBrush &Value)
 
FScrollBarStyleSetHorizontalBottomSlotImage (const FSlateBrush &Value)
 
FScrollBarStyleSetNormalThumbImage (const FSlateBrush &InNormalThumbImage)
 
FScrollBarStyleSetHoveredThumbImage (const FSlateBrush &InHoveredThumbImage)
 
FScrollBarStyleSetDraggedThumbImage (const FSlateBrush &InDraggedThumbImage)
 
FScrollBarStyleSetThickness (float InThickness)
 
void UnlinkColors ()
 
- Public Member Functions inherited from FSlateWidgetStyle
SLATECORE_API FSlateWidgetStyle ()
 
virtual SLATECORE_API ~FSlateWidgetStyle ()
 

Static Public Member Functions

static SLATECORE_API const FScrollBarStyleGetDefault ()
 

Public Attributes

FSlateBrush HorizontalBackgroundImage
 
FSlateBrush VerticalBackgroundImage
 
FSlateBrush VerticalTopSlotImage
 
FSlateBrush HorizontalTopSlotImage
 
FSlateBrush VerticalBottomSlotImage
 
FSlateBrush HorizontalBottomSlotImage
 
FSlateBrush NormalThumbImage
 
FSlateBrush HoveredThumbImage
 
FSlateBrush DraggedThumbImage
 
float Thickness
 

Static Public Attributes

static SLATECORE_API const FName TypeName
 

Detailed Description

Represents the appearance of an SScrollBar

Constructor & Destructor Documentation

◆ FScrollBarStyle() [1/2]

FScrollBarStyle::FScrollBarStyle ( )

◆ FScrollBarStyle() [2/2]

FScrollBarStyle::FScrollBarStyle ( const FScrollBarStyle )
default

◆ ~FScrollBarStyle()

FScrollBarStyle::~FScrollBarStyle ( )
virtualdefault

Member Function Documentation

◆ GetDefault()

const FScrollBarStyle & FScrollBarStyle::GetDefault ( )
static

◆ GetResources()

void FScrollBarStyle::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 FScrollBarStyle::GetTypeName ( ) const
inlineoverridevirtual

Gets the name of this style.

This method must be implemented by inherited structures.

Returns
Widget style name.

Reimplemented from FSlateWidgetStyle.

◆ SetDraggedThumbImage()

FScrollBarStyle & FScrollBarStyle::SetDraggedThumbImage ( const FSlateBrush InDraggedThumbImage)
inline

◆ SetHorizontalBackgroundImage()

FScrollBarStyle & FScrollBarStyle::SetHorizontalBackgroundImage ( const FSlateBrush InHorizontalBackgroundImage)
inline

◆ SetHorizontalBottomSlotImage()

FScrollBarStyle & FScrollBarStyle::SetHorizontalBottomSlotImage ( const FSlateBrush Value)
inline

◆ SetHorizontalTopSlotImage()

FScrollBarStyle & FScrollBarStyle::SetHorizontalTopSlotImage ( const FSlateBrush Value)
inline

◆ SetHoveredThumbImage()

FScrollBarStyle & FScrollBarStyle::SetHoveredThumbImage ( const FSlateBrush InHoveredThumbImage)
inline

◆ SetNormalThumbImage()

FScrollBarStyle & FScrollBarStyle::SetNormalThumbImage ( const FSlateBrush InNormalThumbImage)
inline

◆ SetThickness()

FScrollBarStyle & FScrollBarStyle::SetThickness ( float  InThickness)
inline

◆ SetVerticalBackgroundImage()

FScrollBarStyle & FScrollBarStyle::SetVerticalBackgroundImage ( const FSlateBrush InVerticalBackgroundImage)
inline

◆ SetVerticalBottomSlotImage()

FScrollBarStyle & FScrollBarStyle::SetVerticalBottomSlotImage ( const FSlateBrush Value)
inline

◆ SetVerticalTopSlotImage()

FScrollBarStyle & FScrollBarStyle::SetVerticalTopSlotImage ( const FSlateBrush Value)
inline

◆ UnlinkColors()

void FScrollBarStyle::UnlinkColors ( )
inline

Unlinks all colors in this style.

See also
FSlateColor::Unlink

Member Data Documentation

◆ DraggedThumbImage

FSlateBrush FScrollBarStyle::DraggedThumbImage

Image to use when the scrollbar thumb is in its dragged state

◆ HorizontalBackgroundImage

FSlateBrush FScrollBarStyle::HorizontalBackgroundImage

Background image to use when the scrollbar is oriented horizontally

◆ HorizontalBottomSlotImage

FSlateBrush FScrollBarStyle::HorizontalBottomSlotImage

The image to use to represent the track below the thumb when the scrollbar is oriented horizontally

◆ HorizontalTopSlotImage

FSlateBrush FScrollBarStyle::HorizontalTopSlotImage

The image to use to represent the track above the thumb when the scrollbar is oriented horizontally

◆ HoveredThumbImage

FSlateBrush FScrollBarStyle::HoveredThumbImage

Image to use when the scrollbar thumb is in its hovered state

◆ NormalThumbImage

FSlateBrush FScrollBarStyle::NormalThumbImage

Image to use when the scrollbar thumb is in its normal state

◆ Thickness

float FScrollBarStyle::Thickness

◆ TypeName

const FName FScrollBarStyle::TypeName
static

◆ VerticalBackgroundImage

FSlateBrush FScrollBarStyle::VerticalBackgroundImage

Background image to use when the scrollbar is oriented vertically

◆ VerticalBottomSlotImage

FSlateBrush FScrollBarStyle::VerticalBottomSlotImage

The image to use to represent the track below the thumb when the scrollbar is oriented vertically

◆ VerticalTopSlotImage

FSlateBrush FScrollBarStyle::VerticalTopSlotImage

The image to use to represent the track above the thumb when the scrollbar is oriented vertically


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