SEzAbleTreeViewRowWidget.cpp 838 B

1234567891011121314151617181920212223242526
  1. // Fill out your copyright notice in the Description page of Project Settings.
  2. #include "SEzAbleTreeViewRowWidget.h"
  3. #include "SlateOptMacros.h"
  4. #define LOCTEXT_NAMESPACE "AbleTreeViewRow"
  5. BEGIN_SLATE_FUNCTION_BUILD_OPTIMIZATION
  6. void SEzAbleTreeViewRowWidget::Construct(const FArguments& InArgs, const TSharedRef<STableViewBase>& InOwnerTableView, TWeakObjectPtr<UEzAbilityState> InState, const TSharedPtr<SScrollBox>& ViewBox)
  7. {
  8. ConstructInternal(STableRow::FArguments()
  9. .Padding(5.0f)
  10. , InOwnerTableView);
  11. ChildSlot
  12. [
  13. SNew(SButton)
  14. .VAlign(VAlign_Center)
  15. .HAlign(HAlign_Center)
  16. .Text(LOCTEXT("SplitSprites", "Split Sprites"))
  17. .ToolTipText(LOCTEXT("SplitSprites_Tooltip", "Splits all sprite instances into separate sprite actors or components"))
  18. ];
  19. }
  20. END_SLATE_FUNCTION_BUILD_OPTIMIZATION
  21. #undef LOCTEXT_NAMESPACE