wiki:Documentation/API/MUI_Scale

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 V4ISGBOOL


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-2017 by Thore Böckelmann, Jens Maus

MUI for AmigaOS - MUI-Autodocs

Updated: 13-Dec-2017

Last modified 9 months ago Last modified on Mar 27, 2017, 4:09:05 PM