Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/texus/tgui

Cross-platform modern c++ GUI
https://github.com/texus/tgui

c-plus-plus cross-platform gamedev gui sfml tgui ui

Last synced: 3 days ago
JSON representation

Cross-platform modern c++ GUI

Awesome Lists containing this project

README

        

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](https://tgui.eu).

TGUI 0.10 White theme TGUI 0.10 Black theme

Status
------

[![CI Github Actions](https://github.com/texus/TGUI/workflows/CI/badge.svg?branch=1.x)](https://github.com/texus/TGUI/actions)
[![Code coverage](https://codecov.io/gh/texus/TGUI/branch/1.x/graph/badge.svg)](https://codecov.io/gh/texus/TGUI/branch/1.x)

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](https://github.com/texus/TGUI/tree/1.x): [Download ZIP](https://github.com/texus/TGUI/archive/1.x.zip)

Precompiled libraries for some compilers are available for each [release](https://github.com/texus/TGUI/releases).

Learn
-----

* [Widgets overview](https://tgui.eu/tutorials/1.0/widgets-overview/)
* [Tutorials](https://tgui.eu/tutorials/1.0/)
* [Documentation](https://tgui.eu/documentation/1.0/)
* [Examples](https://tgui.eu/examples/1.0/)
* [Forum](https://forum.tgui.eu)

Contact
-------

Name: Bruno Van de Velde

E-mail: [email protected]

[![Discord](https://img.shields.io/badge/chat-on_discord-7389D8.svg?logo=discord&logoColor=ffffff&labelColor=6A7EC2)](https://discord.gg/Msf4vyx)

[![Sponsor with GitHub](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/texus) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/texusius)