mcclim/status-bar-tests.lisp
Fitting is a stable prefix policy: narrower bars neither rescale text nor skip ahead to a later, shorter field.
The upper edge is exactly NDC -1; the bar does not reserve a margin.
(client)Return CLIENT's STATUS, PEER-COUNT, LAST-ERROR, and REVISION as values. This is the constant-work frame-boundary view: it neither copies nor sorts the peer collection and never touches the transport. Detailed tools which need peer identities continue to use LOBBY-CLIENT-SNAPSHOT.
(owner)Return OWNER's ordered status channel symbols. The default method supplies the application channels. A game adds sparse fields with an ordinary method which appends to CALL-NEXT-METHOD; it never has to replace the status frame or its sampling and presentation policy.
(channel owner)Return CHANNEL's compact label in OWNER's status line.
(channel owner status-bar)Return CHANNEL's cheap semantic value for OWNER and STATUS-BAR. Methods run only on the throttled frame-boundary sample, never during paint. They must inspect already-owned state and must not perform I/O or wait.
(&optional (owner (make-instance 'status-bar-test-owner))
(logical-width 900))(bar logical-width &key (now (get-internal-real-time)))Test whether two compatible scalars are equal.
An explicitly owned AVFrame.
Addition over compatible quantities.
Multiplication and scalar scaling.
(medium text)(bar medium)Test whether one compatible scalar is at most another.
Subtraction or unary negation.
The maximum of compatible quantities.
Test whether one compatible scalar is greater than another.
(bar viewport-logical-extent)Test whether one compatible scalar is less than another.
The componentwise absolute value of a raw value.
(medium x1 y1 x2 y2 radius filled)Draw the uniform-radius roundrect primitive when MEDIUM supports it.
(medium)Describe which BASIC-MEDIUM fallbacks fed MEDIUM's GPU polygon leaf. Each entry reports semantic calls, polygon points produced by McCLIM, and GPU triangles emitted by luv. Direct polygon calls are named :DIRECT-POLYGON.
A direct GPU target for an ordered LUV-GPU-MEDIUM drawing stream. An embedded mirror retains an immutable prepared CPU revision for the game's final pass; a standalone mirror renders into its native canvas drawable.
A later sample runs once, but identical semantic fields do not dirty or revise the retained stream.