Thank you for considering contributing to TGUI!
All contributions are highly appreciated, whether they are code patches, bug reports or suggestions. Note that while reported bugs are usually handled very quickly, suggestions can sometimes take a long time to be implemented due to TGUI being developed in the spare time of a single developer with only occasional code contributions by others.
If you have any questions about TGUI, the Discord server and the forum are the best places to get an answer.
The official TGUI style is encoded in the .clang-format file found in the root of the repository. The style was heavily influenced by SFML code, the SFML code style guide mostly matches with TGUI code, but contributions should be run through clang-format --style=file to make sure they follow the official style.
There are 3 differences that I'm aware of:
- TGUI uses
@in Doxygen documentation where SFML uses\ - Lines consisting of only slashes (to separate functions) are longer in TGUI
- TGUI code targets C++14