s3dw_button_new
create a new button in the surface
- Provided by: s3d-doc (Version: 0.2.2.1-3build1)
- Source: s3d
- Report a bug
create a new button in the surface
#include <s3dw.h>
s3dw_button *s3dw_button_new(const s3dw_surface *surface, const char *text, float posx, float posy);
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.
Simon Wunderlich