![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "CoreMinimal.h"#include "Misc/Attribute.h"#include "Input/DragAndDrop.h"#include "Input/Reply.h"#include "Layout/Visibility.h"#include "Widgets/DeclarativeSyntaxSupport.h"#include "Styling/SlateColor.h"#include "Layout/Children.h"#include "Framework/MultiBox/MultiBox.h"#include "Widgets/SCompoundWidget.h"#include "Widgets/SPanel.h"#include "Widgets/SOverlay.h"#include "Widgets/Views/STableViewBase.h"#include "Widgets/Views/STableRow.h"#include "Widgets/Colors/SColorBlock.h"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 |
| 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 _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 _UseAlpha | ( | ) |
| SColorThemeBar is deprecated SColorThemesViewer now displays a standard menu with a list of available themes _UseSRGB | ( | ) |
| 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 | ( | 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
|
virtual |
The system calls this method to notify the widget that a mouse button was pressed within it. This event is bubbled.
| MyGeometry | The Geometry of the widget receiving the event |
| MouseEvent | Information about the input event |