Choose your operating system:
Windows
macOS
Linux
| FSlateControlledConstruction | ||||||
| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Runtime/AppFramework/Public/Widgets/Colors/SColorThemes.h |
Include |
#include "Widgets/Colors/SColorThemes.h" |
class SThemeColorBlocksBar : public SPanel
SThemeColorBlocksBars are panels for dragging and dropping SColorThemeBlocks onto and off of.
Name | Description | |
---|---|---|
|
SThemeColorBlocksBar() |
Name | Description | ||
---|---|---|---|
|
AddNewColorBlock ( |
Adds a new color block to the Bar |
|
|
AddRefreshCallback() |
Adds a callback to the Color Theme that this bar has a pointer to. |
|
|
Construct ( |
Most panels do not create widgets as part of their implementation, so they do not need to implement a Construct()Most panels do not create widgets as part of their implementation, so they do not need to implement a Construct() |
|
|
Refresh() |
Rebuilds the entire bar, regenerating all the constituent color blocks |
|
|
RemoveColorBlock ( |
||
|
RemoveRefreshCallback() |
Refresh Callbacks are used by Color Themes to notify widgets to refresh This removes a callback from the Color Theme that this bar has a pointer to |
|
|
SetPlaceholderGrabOffset ( |
Name | Description | ||
---|---|---|---|
|
ComputeDesiredSize ( |
A Panel's desired size in the space required to arrange of its children on the screen while respecting all of the children's desired sizes and any layout-related options specified by the user. |
|
|
FChildren &#... |
GetChildren() |
All widgets must provide a way to access their children in a layout-agnostic way. |
|
OnArrangeChildren ( |
Panels arrange their children in a space described by the AllottedGeometry parameter. |
|
|
OnDragEnter ( |
Called during drag and drop when the drag enters a widget. |
|
|
OnDragLeave ( |
Called during drag and drop when the drag leaves a widget. |
|
|
OnDragOver ( |
Called during drag and drop when the the mouse is being dragged over a widget. |
|
|
OnDrop ( |
Called when the user is dropping something onto a widget; terminates drag and drop. |
Name |
Description |
|
---|---|---|
|
FArguments |