s3dw_input_new(3) create a new input in the surface


#include <s3dw.h>

s3dw_input *s3dw_input_new(const s3dw_surface *surface, float width, float posx, float posy);


Creates a new input-box on the surface with a input width of "width", the upper left corner at (posx,posy) on the surface. The input-box is empty on creation and can be change with s3dw_input_change_text, and received with s3dw_input_gettext

See s3dw_input for information about callbacks which may be defined.


Simon Wunderlich

Author of s3d