UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SColorThemes.h File Reference

Go to the source code of this file.

Classes

struct  FColorInfo
 
class  FColorTheme
 
class  SThemeColorBlock
 

Functions

 DECLARE_DELEGATE_OneParam (FOnCurrentThemeChanged, TSharedPtr< FColorTheme >) class UE_DEPRECATED(5.6
 
SColorThemeBar is deprecated SColorThemesViewer now displays a standard menu with a list of available themes _OnCurrentThemeChanged ()
 
SColorThemeBar is deprecated SColorThemesViewer now displays a standard menu with a list of available themes _ShowTrashCallback ()
 
SColorThemeBar is deprecated SColorThemesViewer now displays a standard menu with a list of available themes _HideTrashCallback ()
 
SColorThemeBar is deprecated SColorThemesViewer now displays a standard menu with a list of available themes _UseSRGB ()
 
SColorThemeBar is deprecated SColorThemesViewer now displays a standard menu with a list of available themes _UseAlpha ()
 
void Construct (const FArguments &InArgs)
 
virtual FReply OnMouseButtonDown (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent)
 

Variables

SColorThemeBar is deprecated SColorThemesViewer now displays a standard menu with a list of available themes SColorThemeBar
 

Function Documentation

◆ _HideTrashCallback()

SColorThemeBar is deprecated SColorThemesViewer now displays a standard menu with a list of available themes _HideTrashCallback ( )

◆ _OnCurrentThemeChanged()

SColorThemeBar is deprecated SColorThemesViewer now displays a standard menu with a list of available themes _OnCurrentThemeChanged ( )

◆ _ShowTrashCallback()

SColorThemeBar is deprecated SColorThemesViewer now displays a standard menu with a list of available themes _ShowTrashCallback ( )

◆ _UseAlpha()

SColorThemeBar is deprecated SColorThemesViewer now displays a standard menu with a list of available themes _UseAlpha ( )

◆ _UseSRGB()

SColorThemeBar is deprecated SColorThemesViewer now displays a standard menu with a list of available themes _UseSRGB ( )

◆ Construct()

void Construct ( const FArguments &  InArgs)

The color theme that this bar is displaying Event to be called when the current theme changes Callback to pass down to the FColorDragDrop for it to show the trash Callback to pass down to the FColorDragDrop for it to hide the trash Whether to display sRGB color Whether the ability to pick the alpha value is enabled

◆ DECLARE_DELEGATE_OneParam()

DECLARE_DELEGATE_OneParam ( FOnCurrentThemeChanged  ,
TSharedPtr< FColorTheme  
)

SColorThemeBars include a ThemeColorBlocksBar in addition to a label. Clicking on one will select it and set the currently used color theme to it

◆ OnMouseButtonDown()

virtual FReply OnMouseButtonDown ( const FGeometry MyGeometry,
const FPointerEvent MouseEvent 
)
virtual

The system calls this method to notify the widget that a mouse button was pressed within it. This event is bubbled.

Parameters
MyGeometryThe Geometry of the widget receiving the event
MouseEventInformation about the input event
Returns
Whether the event was handled along with possible requests for the system to take action.

Variable Documentation

◆ SColorThemeBar

SColorThemeBar is deprecated SColorThemesViewer now displays a standard menu with a list of available themes SColorThemeBar