<--- Cannot embed stylesheet: [Errno 2] No such file or directory: '../../../../aros.css' --->

Levelmeter.mui

MUIA_Levelmeter_Label

Function

Declared label attribute without an implementation in this AROS class.

Inputs

String pointer; header declares initialize, set and get, but no local
handler implements those operations.

Notes

The constructor does not store the string, no getter returns it, and
Draw paints only the empty label background. No string ownership is
acquired. Supplying a label does not display text or change sizing;
inherited Numeric_Format also does not populate this field.

MUIC_Levelmeter

Superclass

Numeric.mui

Description

Show Numeric Value as a needle on a semicircular scale. ValueToScale
maps the current value to zero through 180 degrees, honoring
Numeric_Reverse. No periodic sampling, peak hold, decay or automatic
source binding is implemented; application code sets Value.
Construction prepends FillArea FALSE and initializes a private pen
sentinel. Setup calls Numeric and obtains a background pen from the
screen ColorMap. Cleanup releases a successfully obtained pen before
Numeric Cleanup. Complete this lifecycle before disposal; no local
disposer substitutes for Cleanup.

Methods

AskMinMax adds 53 pixels in width and 46 pixels in height to all
superclass size fields and returns TRUE. Full Draw paints frame,
background, scale marks and an empty label field. Update Draw erases the
old needle with the background pen before drawing the new one. Draw
returns FALSE without full/update flags, otherwise TRUE and ignores
superclass/drawing results.
Setup returns Numeric's result even if ObtainBestPen fails. Draw uses
the stored pen without checking the -1 failure sentinel. The class has
no mouse handler of its own and retains Numeric's raw-key handler; it is
not automatically a read-only object merely because it looks like a
meter.

Notes

The Label attribute has no implementation. Numeric_Format/Stringify are
inherited but not used to draw a numeric label. Scale artwork uses a
nominal 39 by 20 pixel area and current frame geometry. Use ordered
representable Numeric bounds and a live screen/render context. No
separate bitmap or native gadget is owned.