wiki:Documentation/API/MUI_Rectangle

Rectangle.mui

Super class

Area.mui

Background

Rectangle class seems kind of useless since it doesn't define any attributes or methods itself. However, objects of this type are frequently used in every application. They allow insertion of space to control MUI's layout process.

Attributes

Attribute Version ISG Type
MUIA_Rectangle_BarTitle V11I.GSTRPTR
MUIA_Rectangle_HBar V7I.GBOOL
MUIA_Rectangle_VBar V7I.GBOOL


MUIA_Rectangle_BarTitle

NAME

MUIA_Rectangle_BarTitle — V11 [I.G], STRPTR, 0x80426689

FUNCTION

This attribute describes a text string which will be displayed in group title style centered in the rectangle. Really only makes sense for MUIA_Rectangle_HBar type objects.

SEE ALSO

MUIA_Rectangle_HBar

MUIA_Rectangle_HBar

NAME

MUIA_Rectangle_HBar — V7 [I.G], BOOL, 0x8042c943

FUNCTION

When set to TRUE, MUI draws a horizontal bar in the middle of the rectangle. Such bars can be used instead of group frames to seperate objects in a window.

EXAMPLE

/* draw a two pixel high bar in the middle
   of an 8 pixel high rectangle */
RectangleObject, MUIA_Rectangle_HBar, TRUE, MUIA_FixHeight, 8, End;

SEE ALSO

MUIA_Rectangle_VBar

MUIA_Rectangle_VBar

NAME

MUIA_Rectangle_VBar — V7 [I.G], BOOL, 0x80422204

FUNCTION

When set to TRUE, MUI draws a vertical bar in the middle of the rectangle. Such bars can be used instead of group frames to seperate objects in a window.

EXAMPLE

/* draw a two pixel wide bar in the middle
   of an 8 pixel wide rectangle */
RectangleObject, MUIA_Rectangle_HBar, TRUE, MUIA_FixWidth, 8, End;

SEE ALSO

MUIA_Rectangle_HBar


Copyright © 1992-2006 by Stefan Stuntz
Copyright © 2006-2017 by Thore Böckelmann, Jens Maus

MUI for AmigaOS - MUI-Autodocs

Updated: 12-Oct-2017

Last modified 7 months ago Last modified on Mar 27, 2017, 4:08:29 PM