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