Macaw OS C reference

Module The frame and layout

#include <macawui.h>

Functions

ui_begin
Starts this frame's widgets.
ui_beginex
Starts this frame's widgets, like ui_begin, but you choose where they go and what's behind them.
ui_finish
Ends this frame's widgets.
ui_row
Puts the next few widgets side by side on one line, sharing its width.
ui_space
Leaves a gap before the next widget.
ui_group
Starts a box with a title round the widgets that follow, until ui_endgroup.
ui_endgroup
Ends the box ui_group started, and draws it round the widgets inside.
ui_at
Puts the next widget at exactly this place, instead of under the last one.
ui_disabled
Greys out the widgets after it, and they stop answering the mouse and keys.
ui_nexty
Tells you where the next widget would go, so you can draw something of your own under a form.