Make a flat button

Flat buttonis a button with flat view and used in special display like a dialog button. To create a flat button we use the following function.

ui_button_set_flat(control);

Return: True if successful

Argument control is the handle of ui_button_create(...); function.

buttonLogin = ui_button_create(32, 64, 128, ui_default, "LOG IN");
ui_button_set_flat (buttonLogin);

Changing the type of buttons buttonLogin to be flat.

results matching ""

    No results matching ""