Skip to content

texus/TGUI

Repository files navigation

TGUI - Texus' Graphical User Interface

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.

TGUI 0.10 White theme TGUI 0.10 Black theme

Status

CI Github Actions Code coverage

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
RAYLIB ✔️ ✔️ ✔️ 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 SDL (>= 2.0.18) SDL_ttf (>= 2.0.14) SDL (>= 2.0.18)
SDL_TTF_OPENGL3 SDL (>= 2.0.6) SDL_ttf (>= 2.0.14) OpenGL (>= 3.3)
SDL_TTF_GLES2 SDL (>= 2.0.6) SDL_ttf (>= 2.0.14) OpenGL ES (>= 2.0)
SDL_OPENGL3 SDL (>= 2.0.6) FreeType (>= 2.6) OpenGL (>= 3.3)
SDL_GLES2 SDL (>= 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)
RAYLIB raylib (>= 4.2) raylib (>= 4.2) raylib (>= 4.2)

Download

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.

Learn

Contact

Name: Bruno Van de Velde

E-mail: vdv_b@tgui.eu

Discord

Donate

Patreon