S3DW_INPUT_NEW(3)
π S3DW_INPUT_NEW(3) β the s3d manual, but make it cute π
okay bestie, gather round, because today we're manifesting an input box β¨ this is section 3 of the s3d manual and it's literally all about one little function that spawns a text input on your surface. slay.
β¨ NAME β¨
s3dw_input_new β create a new input in the surface π
πΈ SYNOPSIS πΈ
#include <s3dw.h>
s3dw_input *s3dw_input_new(const s3dw_surface *surface, float width,
float posx, float posy);
like, that's it. that's the whole summoning ritual π«Ά
π¦ DESCRIPTION π¦
so basically? s3dw_input_new makes a brand-new input-box on the surface, and its input width is width. the upper left corner sits at (posx,posy) on the surface. positioning queen π
the tea on the input-box itself: it's empty on creation. yes, a whole blank slate, main character energy fr. you can change it later with s3dw_input_change_text, and you can receive it back with s3dw_input_gettext. that's the little round trip, no cap π
also!! go peek at s3dw_input for the info about callbacks which may be defined. the callbacks live over there, not here. iykyk π
π AUTHOR π
Simon Wunderlich Author of s3d π
and that's the whole page bestie, we ate and left no crumbs π this was the s3d manual, section 3 (yes, S3DW_INPUT_NEW(3), the one and only), brought to you by the s3d source. go make something iconic π
π¦ where this page comes from
- debian bookworm: s3d-doc 0.2.2.1-5 Β· GPL-2.0-or-later
- debian trixie: s3d-doc 0.2.2.1-7 Β· GPL-2.0-or-later
- ubuntu jammy: s3d-doc 0.2.2.1-3build1 Β· GPL-2.0-or-later
- ubuntu noble: s3d-doc 0.2.2.1-6build3 Β· GPL-2.0-or-later
- ubuntu questing: s3d-doc 0.2.2.1-7build1
- ubuntu resolute: s3d-doc 0.2.2.1-7build3 Β· GPL-2.0-or-later
- ubuntu stonking: s3d-doc 0.2.3-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms