bzt 2d5023a029 Allow to specify font on command line in widgets.c | il y a 3 mois | |
---|---|---|
.. | ||
Makefile | il y a 4 mois | |
README.md | il y a 4 mois | |
demo.c | il y a 4 mois | |
draw.c | il y a 4 mois | |
events.c | il y a 4 mois | |
helloworld.c | il y a 4 mois | |
multiwin.c | il y a 4 mois | |
skin.png | il y a 4 mois | |
ssfn.c | il y a 4 mois | |
table.c | il y a 4 mois | |
widgets.c | il y a 3 mois |
This directory contains various usage examples and test cases. If no backend repo found for static linking, then links with GLFW3 dynamically.
Command | Description |
---|---|
make |
Compile all examples |
make static-glfw3 |
Download GLFW for static linking |
make static-sdl3 |
Download SDL3 for static linking |
make static-sdl2 |
Download and patch the legacy SDL2 for static linking |
make clean |
Clean the executables |
make distclean |
Clean the executables as well as the backend libraries |
DEBUG=1 make |
Compile with debug information |
If ssfn.h
exists, then ssfn.c
also compiled, which is the Hello World example but with SSFN fonts.
If stb_image.h
exists, then widgets.c
also compiled into skin
, which uses skin.png for SMGUI skinning.