Macaw OS C reference

Function ui_beginex

#include <macawui.h>
void ui_beginex(int x, int y, int w, int bg);

Starts this frame's widgets, like ui_begin, but you choose where they go and what's behind them.

Parameters

xint
The left margin in pixels. -1 means 8.
yint
The top margin in pixels. -1 means 8.
wint
How wide the widgets are, in pixels. 0 is the window's width less the margins.
bgint
A colour number to clear the window to, UI_DEFAULT for the paper colour, or UI_KEEP to keep what's drawn.

In The frame and layout, with ui_begin, ui_finish, ui_row, ui_space, ui_group, ui_endgroup, ui_at, ui_disabled, ui_nexty.