DOKK / manpages / debian 12 / s3d-doc / s3dw_input_new.3.en
S3DW_INPUT_NEW(3) s3d Manual S3DW_INPUT_NEW(3)

s3dw_input_new - 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
s3d