Epok Engine

EPOK RUNTIME

epok::FocusLibrary::layout

Method · 1 overload

Method

Performs `layout` as part of the utility module.

Belongs to
epok::FocusLibrary
Header
utility.hpp
Overloads
1

Declaration

static
Declaration
static void layout(ObjectBatch8 actors,Fixed item_extent,Fixed spacing,bool vertical)

Performs `layout` as part of the utility module.

ParameterTypeMeaning
actorsObjectBatch8Value supplied for actors. Keep referenced or pointed-to data valid for the complete call.
item_extentFixedValue supplied for item_extent. Keep referenced or pointed-to data valid for the complete call.
spacingFixedValue supplied for spacing. Keep referenced or pointed-to data valid for the complete call.
verticalboolValue supplied for vertical. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

C++ example
#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);

Why use it

It provides direct, allocation-conscious access to the utility module. No exception-based error path is implied by the signature.

Trade-offs and warnings

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

Related members