LEAP Documentation 40220
Documentation for the LEAP project
AdvancedVerticalBox.h
Go to the documentation of this file.
1// Copyright Blue Isle Studios Inc 2018. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Components/VerticalBox.h"
7#include "AdvancedVerticalBox.generated.h"
8
9UCLASS()
10class PROJECTX_API UAdvancedVerticalBox : public UVerticalBox
11{
12 GENERATED_BODY()
13
14public:
15 UFUNCTION(BlueprintCallable, Category = "Panel")
16 class UVerticalBoxSlot* InsertChildAtIndex(int32 Index, UWidget* Content);
17
18 //Will sort all child widgets into order specified by NewOrder. Will ignore any widgets not already within this box.
19 UFUNCTION(BlueprintCallable, Category = "Panel")
20 void SortChildWidgets(const TArray<UWidget*>& NewOrder);
21
22 UFUNCTION(BlueprintCallable, Category = "Panel")
23 void GetAllChildWidgets(TArray<UWidget*>& ChildWidgets) const;
24};
Definition: AdvancedVerticalBox.h:11