25class SThemeColorBlocksBar;
96class UE_DEPRECATED(5.6,
"SColorTrash is deprecated. SThemeColorBlocksBar now uses a simple SButton for its delete button.")
SColorTrash
207 void OnColorBlockRename();
208 FText GetLabel() const;
216 FText GetRedText() const;
217 FText GetGreenText() const;
218 FText GetBlueText() const;
219 FText GetAlphaText() const;
220 FText GetHueText() const;
221 FText GetSaturationText() const;
222 FText GetValueText() const;
230 bool OnReadShowBackgroundForAlpha() const;
242 TWeakPtr<SThemeColorBlocksBar> ParentPtr;
316 FText GetThemeName() const;
355 void Construct(
const FArguments& InArgs);
363 UE_DEPRECATED(5.6,
"SetUseAlpha is deprecated. Set the UseAlpha attribute of SThemeColorBlocksBar to control the opacity of theme colors.")
367 static void LoadColorThemesFromIni();
370 static void SaveColorThemesToIni();
376 return CurrentThemeChangedEvent;
379 UE_DEPRECATED(5.6,
"bSRGBEnabled is deprecated. Set the UseSRGB attribute of SThemeColorBlocksBar to control the sRGB display of theme colors.")
380 static bool bSRGBEnabled;
382 UE_DEPRECATED(5.6,
"MenuToStandardNoReturn is deprecated. SColorThemesViewer completely manages its own ToolsMenu.")
383 void MenuToStandardNoReturn();
386 bool IsRecentsThemeActive()
const;
399 void RefreshMenuWidget();
401 void NewColorTheme();
402 void DuplicateColorTheme();
403 void DeleteColorTheme();
407 void UpdateThemeNameFromTextBox();
413 void OnMenuOpenChanged(
bool bIsOpen);
424 static FString MakeUniqueThemeName(
const FString&
ThemeName);
455class SThemeColorBlocksBar :
public SPanel
495 SThemeColorBlocksBar();
497 void Construct(const FArguments& InArgs);
520 bool IsRecentsThemeActive() const;
530 void RemoveRefreshCallback();
533 void AddRefreshCallback();
544 void ShowDeleteButton();
547 void HideDeleteButton();
551 FReply OnAddButtonClicked();
554 void OnThemeChanged();
593 bool bShowDeleteButton =
false;
631 void MarkForDelete();
656 UE_DEPRECATED(5.6,
"OriginBar is deprecated. This operation no longer needs direct access to the SThemeColorBlocksBar widget.")
657 TWeakPtr<SThemeColorBlocksBar> OriginBar;
660 int32 OriginBarPosition;
669 bool bSetForDeletion;
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define SLATE_ATTRIBUTE(AttrType, AttrName)
Definition DeclarativeSyntaxSupport.h:192
#define SLATE_ARGUMENT_DEPRECATED(ArgType, ArgName, DeprecationVersion, DeprecationMessage)
Definition DeclarativeSyntaxSupport.h:215
#define SLATE_BEGIN_ARGS(InWidgetType)
Definition DeclarativeSyntaxSupport.h:63
#define SLATE_ATTRIBUTE_DEPRECATED(AttrType, AttrName, DeprecationVersion, DeprecationMessage)
Definition DeclarativeSyntaxSupport.h:199
#define SLATE_EVENT(DelegateName, EventName)
Definition DeclarativeSyntaxSupport.h:458
#define SLATE_END_ARGS()
Definition DeclarativeSyntaxSupport.h:116
#define DECLARE_DELEGATE_RetVal(ReturnValueType, DelegateName)
Definition DelegateCombinations.h:41
#define DECLARE_EVENT(OwningType, EventName)
Definition DelegateCombinations.h:32
#define DECLARE_DELEGATE_OneParam(DelegateName, Param1Type)
Definition DelegateCombinations.h:48
#define DRAG_DROP_OPERATOR_TYPE(TYPE, BASE)
Definition DragAndDrop.h:207
return true
Definition ExternalRpcRegistry.cpp:601
T * New(FMemStackBase &Mem, int32 Count=1, int32 Align=DEFAULT_ALIGNMENT)
Definition MemStack.h:259
EColorBlockAlphaDisplayMode
Definition SColorBlock.h:16
SColorThemeBar is deprecated SColorThemesViewer now displays a standard menu with a list of available themes _UseAlpha()
Definition SColorThemes.h:281
SColorThemeBar is deprecated SColorThemesViewer now displays a standard menu with a list of available themes SColorThemeBar
Definition SColorThemes.h:277
void Construct(const FArguments &InArgs)
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()
virtual FReply OnMouseButtonDown(const FGeometry &MyGeometry, const FPointerEvent &MouseEvent)
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 _UseSRGB()
#define KINDA_SMALL_NUMBER
Definition UnrealMathUtility.h:67
Definition ArrangedChildren.h:15
Definition ChildrenBase.h:27
Definition SColorThemes.h:52
FString Name
Definition SColorThemes.h:76
FRefreshEvent & OnRefresh()
Definition SColorThemes.h:79
const TArray< TSharedPtr< FColorInfo > > & GetColors() const
Definition SColorThemes.h:58
DECLARE_EVENT(FColorTheme, FRefreshEvent)
int32 RemoveColor(const TSharedPtr< FLinearColor > InColor)
Definition SColorThemes.cpp:135
void InsertNewColor(TSharedPtr< FLinearColor > InColor, int32 InsertPosition)
Definition SColorThemes.cpp:108
int32 FindApproxColor(const FLinearColor &InColor, float Tolerance=KINDA_SMALL_NUMBER) const
Definition SColorThemes.cpp:115
void RemoveAll()
Definition SColorThemes.cpp:129
Definition IDelegateInstance.h:14
Definition DragAndDrop.h:141
Definition DragAndDrop.h:21
Definition SEditableTextBox.h:29
Definition SErrorText.h:37
Definition STextBlock.h:45
Definition SColorThemes.h:154
SLATE_BEGIN_ARGS(SThemeColorBlock)
Definition SColorThemes.h:157
Definition Attribute.h:17
Definition SharedPointer.h:692
Definition SharedPointer.h:153
Definition Children.h:836
Definition SharedPointer.h:1295
Definition SlateEnums.h:289
Type
Definition SlateEnums.h:291
@ false
Definition radaudio_common.h:23
Definition Visibility.h:12
Definition SColorThemes.h:29
FColorInfo(TSharedPtr< FLinearColor > InColor, FText InLabel)
Definition SColorThemes.h:40
FColorInfo(TSharedPtr< FLinearColor > InColor)
Definition SColorThemes.h:34
TSharedPtr< FLinearColor > Color
Definition SColorThemes.h:30
FText Label
Definition SColorThemes.h:32
Definition SlateBrush.h:239
Definition Optional.h:131