class

ATileView

Module
Arc
Header
#include "Arc/Widgets/ATileView.h"
Namespace
Arcf
Template
template<typename ItemType>

Type aliases

AliasDescription
using COnGenerateTile = std::function<TSharedPtr<AWidget>(const ItemType&, uint32_t )>
using COnRefreshTile = std::function<void(const TSharedPtr<AWidget>& , const ItemType&, uint32_t )>

Properties

TypeNameDescription
ArcDelegate<void(const ItemType&, uint32_t)>OnSelectionChanged
ArcDelegate<void(const ItemType&, uint32_t)>OnItemActivated

Public functions

Function details

ARC_WIDGET_ARGS

C++
ARC_WIDGET_ARGS(ATileView) ARC_ARG(float, TileWidth) ARC_ARG(float, TileHeight) ARC_ARG(float, Gap) ARC_WIDGET_ARGS_END() static constexpr float SCROLLBAR_GUTTER = 12.0f

Construct

C++
void Construct(const CArguments& args)

SetItems

C++
void SetItems(const std::vector<ItemType>& items)

GetItems

C++
const std::vector<ItemType>& GetItems() const

SetOnGenerateTile

C++
void SetOnGenerateTile(COnGenerateTile func)

SetOnRefreshTile

C++
void SetOnRefreshTile(COnRefreshTile func)

GetColumnCount

C++
int32_t GetColumnCount() const

GetAnchorIndex

C++
int32_t GetAnchorIndex() const

IsSelected

C++
bool IsSelected(int32_t index) const

GetSelectionCount

C++
int32_t GetSelectionCount() const

GetScrollOffset

C++
float GetScrollOffset() const

GetGeneratedTileCount

C++
uint64_t GetGeneratedTileCount() const

GetRefreshedTileCount

C++
uint64_t GetRefreshedTileCount() const

GetLiveTileCount

C++
int32_t GetLiveTileCount() const

SetSelectedIndex

C++
void SetSelectedIndex(int32_t index)

GetTileRect

C++
ArcRect GetTileRect(int32_t index) const

Absolute rect of tile index as the last arrange placed it.

IndexAt

C++
int32_t IndexAt(const ArcVec2& absolutePosition) const

ComputeDesiredSize

C++
ArcVec2 ComputeDesiredSize(float) const override

CanCacheDesiredSize

C++
bool CanCacheDesiredSize() const override

DesiredSizeDependsOnChildren

C++
bool DesiredSizeDependsOnChildren() const override

CanSkipArrange

C++
bool CanSkipArrange() const override

CanRetainPaint

C++
bool CanRetainPaint() const override

ArrangeChildren

C++
void ArrangeChildren(const CGeometry& geo) override

OnPaint

C++
int32_t OnPaint(const CArcPaintArgs& args, const CGeometry& geo, CArcUIRenderer& renderer, int32_t layerId) const override

OnMouseWheel

C++
CReply OnMouseWheel(const CGeometry& geo, const CPointerEvent& event) override

OnMouseButtonDown

C++
CReply OnMouseButtonDown(const CGeometry& geo, const CPointerEvent& event) override

OnMouseButtonDoubleClick

C++
CReply OnMouseButtonDoubleClick(const CGeometry& geo, const CPointerEvent& event) override

OnKeyDown

C++
CReply OnKeyDown(const CGeometry& geo, const CKeyEvent& event) override

ScrollIntoView

C++
void ScrollIntoView(const CGeometry& geo, int32_t index)

IsFocusable

C++
bool IsFocusable() const override

GetNumChildren

C++
int32_t GetNumChildren() const override

GetChildAt

C++
TSharedPtr<AWidget> GetChildAt(int32_t index) const override

GetTypeName

C++
const char* GetTypeName() const override
Generated from Arc/Widgets/ATileView.h via arc.json · Nov 5, 2026Version 1.0.0