Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Styling
Inheritance Hierarchy
- FSlateWidgetStyle
- FSegmentedControlStyle
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Styling/SegmentedControlStyle.h |
| Include | #include "Styling/SegmentedControlStyle.h" |
Syntax
struct FSegmentedControlStyle : public FSlateWidgetStyle
Remarks
Represents the appearance of an SSegmentedControl
Variables
| Type | Name | Description | |
|---|---|---|---|
| FSlateBrush | BackgroundBrush | Background of the segmented control | |
| FCheckBoxStyle | ControlStyle | The style to use for our Center Control | |
| FCheckBoxStyle | FirstControlStyle | The style to use for our Left Control | |
| FCheckBoxStyle | LastControlStyle | The style to use for our Left Control | |
| FMargin | UniformPadding | Padding between each control |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FSegmentedControlStyle & | GetDefault () |
||
| FSegmentedControlStyle & | SetBackgroundBrush
(
const FSlateBrush& InBrush |
||
| FSegmentedControlStyle & | SetControlStyle
(
const FCheckBoxStyle& InStyle |
||
| FSegmentedControlStyle & | SetFirstControlStyle
(
const FCheckBoxStyle& InStyle |
||
| FSegmentedControlStyle & | SetLastControlStyle
(
const FCheckBoxStyle& InStyle |
||
| FSegmentedControlStyle & | SetUniformPadding
(
const FMargin& InMargin |
||
| 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 |