Skip to content

MUI_Rectangle

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

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 V11 I.G STRPTR
MUIA_Rectangle_HBar V7 I.G BOOL
MUIA_Rectangle_VBar V7 I.G BOOL

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-2021 by Thore Böckelmann, Jens Maus
MUI for AmigaOS Homepage
MUI for AmigaOS Wiki
Updated: 11-Oct-2021
Clone this wiki locally