Epok Engine

EPOK RUNTIME

epok::layout_list

Function · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Function

List layout in native HUD pixels; anchoring remains the RectTransform system.

Belongs to
epok
Header
utility.hpp
Overloads
1

Declaration

Declaration
inline void layout_list(DataHandle* children,size_t count,Fixed item_extent,Fixed spacing,bool vertical=true)

List layout in native HUD pixels; anchoring remains the RectTransform system.

ParameterTypeMeaning
childrenDataHandle *Not documented; consult the linked header.
countsize_tNot documented; consult the linked header.
item_extentFixedNot documented; consult the linked header.
spacingFixedNot documented; consult the linked header.
verticalboolNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "utility.hpp"

// Assume these named values have been initialized with valid data:
// DataHandle * children
// size_t count
// Fixed item_extent
// Fixed spacing
// bool vertical

epok::layout_list(children, count, item_extent, spacing, vertical);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/utility.hpp:135

Related members