Macaw OS C reference

Module Widgets

#include <macawui.h>

Functions

ui_label
Shows some text, wrapped onto more lines if it's too long for the width.
ui_heading
Shows a heading, with a line under it.
ui_separator
Draws a line across, to divide one part of a form from the next.
ui_button
Shows a button.
ui_checkbox
Shows a tick box.
ui_radio
Shows one choice of a set, where only one can be picked.
ui_slider
Shows a slider for picking a number between two others.
ui_textbox
Shows a box to type text in.
ui_textboxex
Shows a box to type text in, like ui_textbox, with a few more choices.
ui_listbox
Shows a list to pick from.
ui_dropdown
Shows a drop-down menu: a box with the picked item, which opens a list when it's clicked.
ui_tabs
Shows a row of tabs.
ui_progress
Shows a progress bar, for how far through something you are.
ui_swatches
Shows squares of colour to pick one from.
ui_image
Shows a picture among the widgets.