-
Notifications
You must be signed in to change notification settings - Fork 0
MUI_Rectangle
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.
Attribute | Version | ISG | Type |
---|---|---|---|
MUIA_Rectangle_BarTitle | V11 | I.G | STRPTR |
MUIA_Rectangle_HBar | V7 | I.G | BOOL |
MUIA_Rectangle_VBar | V7 | I.G | BOOL |
MUIA_Rectangle_BarTitle -- V11 [I.G], STRPTR
, 0x80426689
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.
MUIA_Rectangle_HBar -- V7 [I.G], BOOL
, 0x8042c943
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.
/* draw a two pixel high bar in the middle
of an 8 pixel high rectangle */
RectangleObject, MUIA_Rectangle_HBar, TRUE, MUIA_FixHeight, 8, End;
MUIA_Rectangle_VBar -- V7 [I.G], BOOL
, 0x80422204
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.
/* draw a two pixel wide bar in the middle
of an 8 pixel wide rectangle */
RectangleObject, MUIA_Rectangle_HBar, TRUE, MUIA_FixWidth, 8, 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 |