| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Runtime/AppFramework/Public/Widgets/Colors/SColorThemes.h |
Include |
#include "Widgets/Colors/SColorThemes.h" |
class FColorDragDrop : public FDragDropOperation
This operation is a color which can be dragged and dropped between widgets. Represents a SThemeColorBlock that is dragged around, and can be dropped into a color trash.
Name | Description | ||
---|---|---|---|
|
BlockSize |
The size of the drag and drop color block |
|
|
bSetForDeletion |
Flag which ensures that OnDrop will not replace this block in it's origin |
|
|
bUseAlpha |
Whether or not the color uses Alpha or not |
|
|
bUseSRGB |
Whether or not the color uses SRGB or not |
|
|
Color |
The color currently held onto by this drag drop operation |
|
|
FSimpleDelegate |
HideTrash |
Callback to hide the trash when this widget is dropped |
|
OriginBar |
The origin is the SThemeColorBlockBar where this operation is from. |
|
|
OriginBarPosition |
The origin position |
|
|
FSimpleDelegate |
ShowTrash |
Callback to show the trash when this widget is created |
Name | Description | ||
---|---|---|---|
|
const FStrin... |
GetTypeId() |
|
|
TSharedRef< ... |
New ( |
Makes a new FColorDragDrop to hold on to |
Name | Description | ||
---|---|---|---|
|
TSharedPtr< ... |
GetDefaultDecorator() |
Gets the widget that will serve as the decorator unless overridden. |
|
IsOfTypeImpl ( |
Checks whether this drag and drop operation can cast safely to the specified type. |
|
|
OnDragged ( |
Called when the mouse was moved during a drag and drop operation |
|
|
OnDrop ( |
Invoked when the drag and drop operation has ended. |