Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Styling/StyleColors.h |
Include |
#include "Styling/StyleColors.h" |
enum EStyleColor
{
Black,
Background,
Title,
WindowBorder,
Foldout,
Input,
InputOutline,
Recessed,
Panel,
Header,
Dropdown,
DropdownOutline,
Hover,
Hover2,
White,
White25,
Highlight,
Primary,
PrimaryHover,
PrimaryPress,
Secondary,
Foreground,
ForegroundHover,
ForegroundInverted,
ForegroundHeader,
Select,
SelectInactive,
SelectParent,
SelectHover,
Notifications,
AccentBlue,
AccentPurple,
AccentPink,
AccentRed,
AccentOrange,
AccentYellow,
AccentGreen,
AccentBrown,
AccentBlack,
AccentGray,
AccentWhite,
AccentFolder,
Warning,
Error,
Success,
User1,
User2,
User3,
User4,
User5,
User6,
User7,
User8,
User9,
User10,
User11,
User12,
User13,
User14,
User15,
User16,
MAX,
}
Name |
Description |
---|---|
Black |
|
Background |
|
Title |
|
WindowBorder |
|
Foldout |
|
Input |
|
InputOutline |
|
Recessed |
|
Panel |
|
Header |
|
Dropdown |
|
DropdownOutline |
|
Hover |
|
Hover2 |
|
White |
|
White25 |
|
Highlight |
|
Primary |
|
PrimaryHover |
|
PrimaryPress |
|
Secondary |
|
Foreground |
|
ForegroundHover |
|
ForegroundInverted |
|
ForegroundHeader |
|
Select |
|
SelectInactive |
|
SelectParent |
|
SelectHover |
|
Notifications |
|
AccentBlue |
|
AccentPurple |
|
AccentPink |
|
AccentRed |
|
AccentOrange |
|
AccentYellow |
|
AccentGreen |
|
AccentBrown |
|
AccentBlack |
|
AccentGray |
|
AccentWhite |
|
AccentFolder |
|
Warning |
|
Error |
|
Success |
|
User1 |
Only user colors should be below this line To use user colors: |
User2 |
|
User3 |
|
User4 |
|
User5 |
|
User6 |
|
User7 |
|
User8 |
|
User9 |
|
User10 |
|
User11 |
|
User12 |
|
User13 |
|
User14 |
|
User15 |
|
User16 |
|
MAX |
If you add another color here, you should update the Dark.json theme file in Engine & FUMGColors in UMGCoreStyle.cpp for consistency