Skip to content

MUI_Scale

Thore Böckelmann edited this page Oct 11, 2021 · 4 revisions

Scale.mui

Super class

Area.mui

Background

A Scale object generates a percentage scale running from 0% to 100%. A good place for such an object is e.g. below a fuel gauge.

Depending on how much space is available, the scale will be more or less detailed.

Due to MUI's automatic layout system, you don't need to worry about it's size. When placed in a vertical group just below the object you want to scale, everything is fine.

Attributes

Attribute Version ISG Type
MUIA_Scale_Horiz V4 ISG BOOL

MUIA_Scale_Horiz

NAME

MUIA_Scale_Horiz -- V4 [ISG], BOOL, 0x8042919a

FUNCTION

Indicate whether you want a horizontal or a vertical scale.

Defaults to horizontal.

BUGS

Currently, only the horizontal scale is implemented.

EXAMPLE

VGroup,
  Child, GaugeObject, End,
  Child, Scaleobject, End,
  End;

Copyright © 1992-2006 by Stefan Stuntz
Copyright © 2006-2021 by Thore Böckelmann, Jens Maus
MUI for AmigaOS Homepage
MUI for AmigaOS Wiki
Updated: 11-Oct-2021
Clone this wiki locally