bzt 2d5023a029 Allow to specify font on command line in widgets.c | hai 2 meses | |
---|---|---|
.. | ||
Makefile | hai 4 meses | |
README.md | hai 4 meses | |
demo.c | hai 3 meses | |
draw.c | hai 3 meses | |
events.c | hai 3 meses | |
helloworld.c | hai 3 meses | |
multiwin.c | hai 3 meses | |
skin.png | hai 4 meses | |
ssfn.c | hai 3 meses | |
table.c | hai 3 meses | |
widgets.c | hai 2 meses |
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.