FWindowStyle

Represents the appearance of an [SWindow](API\Runtime\SlateCore\Widgets\SWindow)

Windows
MacOS
Linux

Inheritance Hierarchy

FSlateWidgetStyle

FWindowStyle

References

Module

SlateCore

Header

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

Include

#include "Styling/SlateTypes.h"

Syntax

struct FWindowStyle : public FSlateWidgetStyle

Remarks

Represents the appearance of an SWindow

Variables

Name Description

Public variable

FSlateBrush

 

ActiveTitleBrush

Brush used to draw the window title area when the window is active

Public variable

FSlateBrush

 

BackgroundBrush

Brush used to draw the window background

Public variable

FSlateColor

 

BackgroundColor

Color used to draw the window background

Public variable

FSlateBrush

 

BorderBrush

Brush used to draw the window border

Public variable

FSlateBrush

 

ChildBackgroundBrush

Brush used to draw the background of child windows

Public variable

FButtonStyle

 

CloseButtonStyle

Style used to draw the window close button

Public variable

FSlateBrush

 

FlashTitleBrush

Brush used to draw the window title area when the window is flashing

Public variable

FSlateBrush

 

InactiveTitleBrush

Brush used to draw the window title area when the window is inactive

Public variable

FButtonStyle

 

MaximizeButtonStyle

Style used to draw the window maximize button

Public variable

FButtonStyle

 

MinimizeButtonStyle

Style used to draw the window minimize button

Public variable

FSlateBrush

 

OutlineBrush

Brush used to draw the window outline

Public variable

FSlateColor

 

OutlineColor

Color used to draw the window outline

Public variable

FButtonStyle

 

RestoreButtonStyle

Style used to draw the window restore button

Public variable

FTextBlockStyle

 

TitleTextStyle

Style used to draw the window title text

Constructors

Name Description

Public function

FWindowStyle()

Destructors

Name Description

Public function Virtual

~FWindowStyle()

Functions

Name Description

Public function Static

const FWindo...

 

GetDefault()

Public function

FWindowStyle...

 

SetActiveTitleBrush

(
    const FSlateBrush& InActiveTitleBr...
)

Public function

FWindowStyle...

 

SetBackgroundBrush

(
    const FSlateBrush& InBackgroundBru...
)

Public function

FWindowStyle...

 

SetBackgroundColor

(
    const FSlateColor& InBackgroundCol...
)

Public function

FWindowStyle...

 

SetBorderBrush

(
    const FSlateBrush& InBorderBrush
)

Public function

FWindowStyle...

 

SetChildBackgroundBrush

(
    const FSlateBrush& InChildBackgrou...
)

Public function

FWindowStyle...

 

SetCloseButtonStyle

(
    const FButtonStyle& InCloseButtonS...
)

Public function

FWindowStyle...

 

SetFlashTitleBrush

(
    const FSlateBrush& InFlashTitleBru...
)

Public function

FWindowStyle...

 

SetInactiveTitleBrush

(
    const FSlateBrush& InInactiveTitle...
)

Public function

FWindowStyle...

 

SetMaximizeButtonStyle

(
    const FButtonStyle& InMaximizeButt...
)

Public function

FWindowStyle...

 

SetMinimizeButtonStyle

(
    const FButtonStyle& InMinimizeButt...
)

Public function

FWindowStyle...

 

SetOutlineBrush

(
    const FSlateBrush& InOutlineBrush
)

Public function

FWindowStyle...

 

SetOutlineColor

(
    const FSlateColor& InOutlineColor
)

Public function

FWindowStyle...

 

SetRestoreButtonStyle

(
    const FButtonStyle& InRestoreButto...
)

Public function

FWindowStyle...

 

SetTitleTextStyle

(
    const FTextBlockStyle& InTitleText...
)

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