s3dw_button_new(3)
create a new button in the surface
Description
S3DW_BUTTON_NEW
NAME
s3dw_button_new - create a new button in the surface
SYNOPSIS
#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 Wunderlich
Author of s3d