Macaw OS C reference

Function ui_image

#include <macawui.h>
int ui_image(int picture, int scale);

Shows a picture among the widgets.

Parameters

pictureint
A picture number from newpicture or loadpicture.
scaleint
How many times bigger to draw it, from 1 to 16. 0 means 1.

Returns int

1 in the frame it's clicked, 0 otherwise.

In Widgets, with ui_label, ui_heading, ui_separator, ui_button, ui_checkbox, ui_radio, ui_slider, ui_textbox, ui_textboxex, ui_listbox, ui_dropdown, ui_tabs, ui_progress, ui_swatches.