S3DW_LABEL_NEW(3)
β¨ S3DW_LABEL_NEW(3) β¨
okay bestie, welcome to the s3d Manual, section 3 (that's the library-calls girlies π
). today we're talking about s3dw_label_new, and honestly? it's giving "tiny function, huge main character energy". let's go π«Ά
πΈ NAME πΈ
s3dw_label_new β create a new label in the surface β¨
π SYNOPSIS π
#include <s3dw.h>
s3dw_label *s3dw_label_new(const s3dw_surface *surface,
const char *text, float posx, float posy);
π DESCRIPTION π
so like. this one literally just creates a new label on the surface, no cap. the label has "text" written on it π and its upper left corner sits at (posx,posy) on the surface. that's it. that's the whole vibe. posx and posy are float, so yes, you can be as precise as you want, she supports it π§
also bestie, go look at s3dw_label for info about callbacks which may be defined β that's where the extra lore lives π₯
π AUTHOR π
Simon Wunderlich β author of s3d π«‘ icon behaviour fr fr
k bye bestie, this was s3d, the s3d Manual, S3DW_LABEL_NEW(3) β same section, same energy, always ππ
π¦ 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