Why use it
It provides direct, allocation-conscious access to the utility module. No exception-based error path is implied by the signature.
EPOK RUNTIME
Method · 1 overload
Performs `layout` as part of the utility module.
static void layout(ObjectBatch8 actors,Fixed item_extent,Fixed spacing,bool vertical)Performs `layout` as part of the utility module.
| Parameter | Type | Meaning |
|---|---|---|
actors | ObjectBatch8 | Value supplied for actors. Keep referenced or pointed-to data valid for the complete call. |
item_extent | Fixed | Value supplied for item_extent. Keep referenced or pointed-to data valid for the complete call. |
spacing | Fixed | Value supplied for spacing. Keep referenced or pointed-to data valid for the complete call. |
vertical | bool | Value supplied for vertical. Keep referenced or pointed-to data valid for the complete call. |
Returns: Nothing (void).
#include "utility.hpp"
// Assume these named values have been initialized with valid data:
// ObjectBatch8 actors
// Fixed item_extent
// Fixed spacing
// bool vertical
epok::FocusLibrary::layout(actors, item_extent, spacing, vertical);It provides direct, allocation-conscious access to the utility module. No exception-based error path is implied by the signature.
Call it only in the lifecycle phase described by the module. Validate indices, capacities and object state before use.
Declared in runtime/utility.hpp:171