texus / TGUI

Cross-platform modern c++ GUI
https://tgui.eu
zlib License
830 stars 94 forks source link
c-plus-plus cross-platform gamedev gui sfml tgui ui

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, GLFW and raylib.

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 :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :question:
SFML_OPENGL3 :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: N/A N/A
SDL_RENDERER :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :question:
SDL_TTF_OPENGL3 :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: N/A N/A
SDL_TTF_GLES2 :heavy_check_mark: N/A :heavy_check_mark: :heavy_check_mark: :question:
SDL_OPENGL3 :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: N/A N/A
SDL_GLES2 :heavy_check_mark: N/A
GLFW_OPENGL3 :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: N/A N/A
GLFW_GLES2 :heavy_check_mark: N/A N/A N/A
RAYLIB :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: 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

Sponsor with GitHub Donate