14#ifndef MALENA_ANCHORMANAGER_H
15#define MALENA_ANCHORMANAGER_H
22#include <unordered_map>
60 static std::unordered_map<Positionable*, Entry>& registry();
static std::size_t anchoredCount()
Number of objects with at least one anchor (test/introspection helper).
static void clear(Positionable *owner)
Drop all of owner's anchors (the unanchored() opt-out).
static void set(Positionable *owner, AnchorOp op, const Positionable *ref, float spacing)
static void release(const Positionable *owner)
static bool hasAnchors(const Positionable *owner)
True if owner currently has any retained anchor.
static void recordBaseline(Positionable *owner)
Trait that provides position, bounds, and animated movement.