Loading...
Searching...
No Matches
EngineSlot Struct Reference

One slot of a face. Set zone (+ text) for a text-slot, or frame (+ draw) for a draw-slot. Never both. A text-slot with no text stays empty, and so does a draw-slot with no draw. More...

#include <engine.h>

Data Fields

GRect frame
 Draw slot layer frame.
void(*) draw (GContext *ctx, GRect bounds, const void *data)
 Draw slot paint.
const void * data
 Draw slot data.
const Zone * zone
 Text slot area and font tiers.
void(*) text (char *out, size_t n)
 Text slot, pulls and formats from a store.
uint32_t tags
 Which stores this slot reads from, for engine_mark_dirty_tags (0 means repaint on any change).

Detailed Description

One slot of a face. Set zone (+ text) for a text-slot, or frame (+ draw) for a draw-slot. Never both. A text-slot with no text stays empty, and so does a draw-slot with no draw.


The documentation for this struct was generated from the following file: