Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Styling
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Styling/CoreStyle.h |
| Include | #include "Styling/CoreStyle.h" |
Syntax
class FCoreStyle
Remarks
Core slate style
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< class ISlateStyle > | |||
| const ISlateStyle & | Get () |
NOTE: Until the Editor can be fully updated, calling FCoreStyle::Get() will return the AppStyle instead of the style definied in this class. | |
| const ISlateStyle & | GetCoreStyle () |
||
| TSharedRef< const FCompositeFont > | Get the default font for Slate | ||
| FSlateFontInfo | GetDefaultFontStyle
(
const FName InTypefaceFontName, |
Get a font style using the default for for Slate | |
| const TSharedPtr< FSlateDynamicImageBrush > | GetDynamicImageBrush
(
FName BrushTemplate, |
Todo: jdale - These are only here because of UTouchInterface::Activate and the fact that GetDynamicImageBrush is non-const | |
| const TSharedPtr< FSlateDynamicImageBrush > | GetDynamicImageBrush
(
FName BrushTemplate, |
||
| const TSharedPtr< FSlateDynamicImageBrush > | GetDynamicImageBrush
(
FName BrushTemplate, |
||
| bool | |||
| bool | |||
| void | |||
| void | SetFocusBrush
(
FSlateBrush* NewBrush |
||
| void | SetInactiveSelectionColor
(
const FLinearColor& NewColor |
||
| void | SetPressedSelectionColor
(
const FLinearColor& NewColor |
||
| void | SetSelectionColor
(
const FLinearColor& NewColor |
||
| void | SetSelectorColor
(
const FLinearColor& NewColor |
Used to override the default selection colors |
Constants
| Name | Description |
|---|---|
| Instance | Singleton instances of this style. |
| RegularTextSize | |
| SmallTextSize |