TGUI is a cross-platform modern c++ GUI library.
Although originally a library for SFML, it now also has backends for SDL and GLFW.
For more information, take a look at the website.
OS support for each backend:
Windows | Linux | macOS | Android | iOS | |
---|---|---|---|---|---|
SFML_GRAPHICS | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ ❓ |
SFML_OPENGL3 | ✔️ | ✔️ | ✔️ | N/A | N/A |
SDL_RENDERER | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ ❓ |
SDL_TTF_OPENGL3 | ✔️ | ✔️ | ✔️ | N/A | N/A |
SDL_TTF_GLES2 | ✔️ | N/A | ✔️ | ✔️ ❓ | |
SDL_OPENGL3 | ✔️ | ✔️ | ✔️ | N/A | N/A |
SDL_GLES2 | ✔️ | N/A | |||
GLFW_OPENGL3 | ✔️ | ✔️ | ✔️ | N/A | N/A |
GLFW_GLES2 | ✔️ | N/A | N/A | N/A |
Dependencies for each backend:
Window backend | Font backend | Rendering backend | |
---|---|---|---|
SFML_GRAPHICS | sfml-window (>= 2.5) | sfml-graphics (>= 2.5) | sfml-graphics (>= 2.5) |
SFML_OPENGL3 | sfml-window (>= 2.5) | FreeType (>= 2.6) | OpenGL (>= 3.3) |
SDL_RENDERER | SDL2 (>= 2.0.18) | SDL2_ttf (>= 2.0.14) | SDL2 (>= 2.0.18) |
SDL_TTF_OPENGL3 | SDL2 (>= 2.0.6) | SDL2_ttf (>= 2.0.14) | OpenGL (>= 3.3) |
SDL_TTF_GLES2 | SDL2 (>= 2.0.6) | SDL2_ttf (>= 2.0.14) | OpenGL ES (>= 2.0) |
SDL_OPENGL3 | SDL2 (>= 2.0.6) | FreeType (>= 2.6) | OpenGL (>= 3.3) |
SDL_GLES2 | SDL2 (>= 2.0.6) | FreeType (>= 2.6) | OpenGL ES (>= 2.0) |
GLFW_OPENGL3 | GLFW (>= 3.2) | FreeType (>= 2.6) | OpenGL (>= 3.3) |
GLFW_GLES2 | GLFW (>= 3.2) | FreeType (>= 2.6) | OpenGL ES (>= 2.0) |
You can download the source code of the current development version from the git repository: Download ZIP
Precompiled libraries for some compilers are available for each release.
Name: Bruno Van de Velde
E-mail: vdv_b@tgui.eu