table of contents
S3DW_BUTTON_NEW(3) | s3d Manual | S3DW_BUTTON_NEW(3) |
NAME¶
s3dw_button_new - create a new button in the surfaceSYNOPSIS¶
#include <s3dw.h>
s3dw_button
*s3dw_button_new(const s3dw_surface *surface,
const char *text, float posx,
float posy);
DESCRIPTION¶
Creates a new button on the surface, with "text" written on it and the upper left corner at (posx,posy) on the surface. See s3dw_button for information about callbacks which may be defined.AUTHOR¶
Simon WunderlichAuthor of s3d
s3d |