FScrollBarStyle

Represents the appearance of an [SScrollBar](API\Runtime\Slate\Widgets\Layout\SScrollBar)

Windows
MacOS
Linux

Inheritance Hierarchy

FSlateWidgetStyle

FScrollBarStyle

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h

Include

#include "Styling/SlateTypes.h"

Syntax

struct FScrollBarStyle : public FSlateWidgetStyle

Remarks

Represents the appearance of an SScrollBar

Variables

Name Description

Public variable

FSlateBrush

 

DraggedThumbImage

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

Public variable

FSlateBrush

 

HorizontalBackgroundImage

Background image to use when the scrollbar is oriented horizontally

Public variable

FSlateBrush

 

HorizontalBottomSlotImage

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

Public variable

FSlateBrush

 

HorizontalTopSlotImage

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

Public variable

FSlateBrush

 

HoveredThumbImage

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

Public variable

FSlateBrush

 

NormalThumbImage

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

Public variable

FSlateBrush

 

VerticalBackgroundImage

Background image to use when the scrollbar is oriented vertically

Public variable

FSlateBrush

 

VerticalBottomSlotImage

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

Public variable

FSlateBrush

 

VerticalTopSlotImage

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

Constructors

Name Description

Public function

FScrollBarStyle()

Destructors

Name Description

Public function Virtual

~FScrollBarStyle()

Functions

Name Description

Public function Static

const FScrol...

 

GetDefault()

Public function

FScrollBarSt...

 

SetDraggedThumbImage

(
    const FSlateBrush& InDraggedThumbI...
)

Public function

FScrollBarSt...

 

SetHorizontalBackgroundImage

(
    const FSlateBrush& InHorizontalBac...
)

Public function

FScrollBarSt...

 

SetHorizontalBottomSlotImage

(
    const FSlateBrush& Value
)

Public function

FScrollBarSt...

 

SetHorizontalTopSlotImage

(
    const FSlateBrush& Value
)

Public function

FScrollBarSt...

 

SetHoveredThumbImage

(
    const FSlateBrush& InHoveredThumbI...
)

Public function

FScrollBarSt...

 

SetNormalThumbImage

(
    const FSlateBrush& InNormalThumbIm...
)

Public function

FScrollBarSt...

 

SetVerticalBackgroundImage

(
    const FSlateBrush& InVerticalBackg...
)

Public function

FScrollBarSt...

 

SetVerticalBottomSlotImage

(
    const FSlateBrush& Value
)

Public function

FScrollBarSt...

 

SetVerticalTopSlotImage

(
    const FSlateBrush& Value
)

Public function

void

 

UnlinkColors()

Unlinks all colors in this style.

Overridden from FSlateWidgetStyle

Name Description

Public function Virtual Const

void

 

GetResources

(
    TArray< const FSlateBrush* >&...
)

Gets the brush resources associated with this style.

Public function Virtual Const

const FName

 

GetTypeName()

Gets the name of this style.

This method must be implemented by inherited structures.

Constants

Name

Description

TypeName

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss