class
ATileView
- Module
- Arc
- Header
#include "Arc/Widgets/ATileView.h"- Namespace
Arcf- Template
template<typename ItemType>
Type aliases
| Alias | Description |
|---|---|
using COnGenerateTile = std::function<TSharedPtr<AWidget>(const ItemType&, uint32_t )> | |
using COnRefreshTile = std::function<void(const TSharedPtr<AWidget>& , const ItemType&, uint32_t )> |
Properties
| Type | Name | Description |
|---|---|---|
ArcDelegate<void(const ItemType&, uint32_t)> | OnSelectionChanged | |
ArcDelegate<void(const ItemType&, uint32_t)> | OnItemActivated |
Public functions
| Returns | Name | Description |
|---|---|---|
ARC_WIDGET_ARGS | ||
void | Construct | |
void | SetItems | |
const std::vector<ItemType>& | GetItems | |
void | SetOnGenerateTile | |
void | SetOnRefreshTile | |
int32_t | GetColumnCount | |
int32_t | GetAnchorIndex | |
bool | IsSelected | |
int32_t | GetSelectionCount | |
float | GetScrollOffset | |
uint64_t | GetGeneratedTileCount | |
uint64_t | GetRefreshedTileCount | |
int32_t | GetLiveTileCount | |
void | SetSelectedIndex | |
ArcRect | GetTileRect | Absolute rect of tile index as the last arrange placed it. |
int32_t | IndexAt | |
ArcVec2 | ComputeDesiredSize | |
bool | CanCacheDesiredSize | |
bool | DesiredSizeDependsOnChildren | |
bool | CanSkipArrange | |
bool | CanRetainPaint | |
void | ArrangeChildren | |
int32_t | OnPaint | |
CReply | OnMouseWheel | |
CReply | OnMouseButtonDown | |
CReply | OnMouseButtonDoubleClick | |
CReply | OnKeyDown | |
void | ScrollIntoView | |
bool | IsFocusable | |
int32_t | GetNumChildren | |
TSharedPtr<AWidget> | GetChildAt | |
const char* | GetTypeName |
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.0fConstruct
C++
void Construct(const CArguments& args)SetItems
C++
void SetItems(const std::vector<ItemType>& items)GetItems
C++
const std::vector<ItemType>& GetItems() constSetOnGenerateTile
C++
void SetOnGenerateTile(COnGenerateTile func)SetOnRefreshTile
C++
void SetOnRefreshTile(COnRefreshTile func)GetColumnCount
C++
int32_t GetColumnCount() constGetAnchorIndex
C++
int32_t GetAnchorIndex() constIsSelected
C++
bool IsSelected(int32_t index) constGetSelectionCount
C++
int32_t GetSelectionCount() constGetScrollOffset
C++
float GetScrollOffset() constGetGeneratedTileCount
C++
uint64_t GetGeneratedTileCount() constGetRefreshedTileCount
C++
uint64_t GetRefreshedTileCount() constGetLiveTileCount
C++
int32_t GetLiveTileCount() constSetSelectedIndex
C++
void SetSelectedIndex(int32_t index)GetTileRect
C++
ArcRect GetTileRect(int32_t index) constAbsolute rect of tile index as the last arrange placed it.
IndexAt
C++
int32_t IndexAt(const ArcVec2& absolutePosition) constComputeDesiredSize
C++
ArcVec2 ComputeDesiredSize(float) const overrideCanCacheDesiredSize
C++
bool CanCacheDesiredSize() const overrideDesiredSizeDependsOnChildren
C++
bool DesiredSizeDependsOnChildren() const overrideCanSkipArrange
C++
bool CanSkipArrange() const overrideCanRetainPaint
C++
bool CanRetainPaint() const overrideArrangeChildren
C++
void ArrangeChildren(const CGeometry& geo) overrideOnPaint
C++
int32_t OnPaint(const CArcPaintArgs& args, const CGeometry& geo, CArcUIRenderer& renderer, int32_t layerId) const overrideOnMouseWheel
C++
CReply OnMouseWheel(const CGeometry& geo, const CPointerEvent& event) overrideOnMouseButtonDown
C++
CReply OnMouseButtonDown(const CGeometry& geo, const CPointerEvent& event) overrideOnMouseButtonDoubleClick
C++
CReply OnMouseButtonDoubleClick(const CGeometry& geo, const CPointerEvent& event) overrideOnKeyDown
C++
CReply OnKeyDown(const CGeometry& geo, const CKeyEvent& event) overrideScrollIntoView
C++
void ScrollIntoView(const CGeometry& geo, int32_t index)IsFocusable
C++
bool IsFocusable() const overrideGetNumChildren
C++
int32_t GetNumChildren() const overrideGetChildAt
C++
TSharedPtr<AWidget> GetChildAt(int32_t index) const overrideGetTypeName
C++
const char* GetTypeName() const overrideGenerated from Arc/Widgets/ATileView.h via arc.json · Nov 5, 2026Version 1.0.0