7#include "TileView.generated.h"
34 float GetEntryHeight()
const {
return EntryHeight; }
38 float GetEntryWidth()
const {
return EntryWidth; }
44 UMG_API float GetTotalEntryHeight()
const;
45 UMG_API float GetTotalEntryWidth()
const;
51 FTileViewConstructArgs Args;
52 Args.bAllowFocus = bIsFocusable;
53 Args.SelectionMode = SelectionMode;
54 Args.bClearSelectionOnClick = bClearSelectionOnClick;
55 Args.ConsumeMouseWheel = ConsumeMouseWheel;
56 Args.bReturnFocusToSelection = bReturnFocusToSelection;
57 Args.TileAlignment = TileAlignment;
58 Args.bWrapDirectionalNavigation = bWrapHorizontalNavigation;
60 Args.ScrollBarStyle = &ScrollBarStyle;
63 if (
IsAligned() && !bEntrySizeIncludesEntrySpacing)
67 Args.EntryWidth = GetTotalEntryWidth();
68 Args.EntryHeight = GetTotalEntryHeight();
74 Args.EntryWidth = EntryWidth;
75 Args.EntryHeight = EntryHeight;
91 float EntryHeight = 128.f;
95 float EntryWidth = 128.f;
103 bool bWrapHorizontalNavigation =
false;
117 bool bEntrySizeIncludesEntrySpacing =
true;
constexpr bool IsAligned(T Val, uint64 Alignment)
Definition AlignmentTemplates.h:50
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
return true
Definition ExternalRpcRegistry.cpp:601
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define UCLASS(...)
Definition ObjectMacros.h:776
EListItemAlignment
Definition STableViewBase.h:34
USkinnedMeshComponent float
Definition SkinnedMeshComponent.h:60
ESlateVisibility
Definition SlateWrapperTypes.h:22
Definition UObjectGlobals.h:1292
Definition ListViewBase.h:40
Definition SListView.h:66
Definition STileView.h:24
Definition SharedPointer.h:692
Definition SharedPointer.h:153
UMG_API void HandleOnEntryInitializedInternal(UObject *Item, const TSharedRef< ITableRow > &TableRow)
Definition ListView.cpp:154
TSharedRef< TileViewT< UObject * > > ConstructTileView()
Definition TileView.h:49
@ false
Definition radaudio_common.h:23