Module |
|
Header |
/Engine/Source/Runtime/AppFramework/Public/Widgets/Colors/SColorThemes.h |
Include |
#include "Widgets/Colors/SColorThemes.h" |
Source |
/Engine/Source/Runtime/AppFramework/Private/Widgets/Colors/SColorThemes.cpp |
static TSharedRef< FColorDragDrop > New
(
FLinearColor InColor,
bool bSRGB,
bool bUseAlpha,
FSimpleDelegate TrashShowCallback,
FSimpleDelegate TrashHideCallback,
TSharedPtr< SThemeColorBlocksBar > Origin,
int32 OriginPosition
)
Makes a new FColorDragDrop to hold on to
Parameter |
Description |
---|---|
InColor |
The color to be dragged and dropped |
bSRGB |
Whether the color is sRGB |
bUseAlpha |
Whether the colors alpha is important |
TrashShowCallback |
Called when this operation is created |
TrashHideCallback |
Called when this operation is dropped |
Origin |
The SThemeColorBlockBar that this operation is from |
OriginPosition |
The position in it's origin that it is from |