├── .clang-format ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── compile_flags.txt ├── demo ├── demo.cpp ├── sfml.png ├── tahoma.ttf ├── texture-default.png ├── texture-win98.png └── themed-button.png ├── doc ├── button.png ├── checkbox.png ├── optionsbox.png ├── progress-bar.png ├── slider.png └── textbox.png ├── lint.sh ├── main.cpp ├── sfml-widgets.cbp └── src └── Gui ├── Button.cpp ├── Button.hpp ├── CheckBox.cpp ├── CheckBox.hpp ├── ComboBox.hpp ├── ComboBox.inl ├── Enums └── Enums.hpp ├── Gui.hpp ├── Image.cpp ├── Image.hpp ├── Label.cpp ├── Label.hpp ├── Layouts ├── FormLayout.cpp ├── FormLayout.hpp ├── HBoxLayout.cpp ├── HBoxLayout.hpp ├── Layout.cpp ├── Layout.hpp ├── VBoxLayout.cpp └── VBoxLayout.hpp ├── Menu.cpp ├── Menu.hpp ├── OptionsBox.hpp ├── OptionsBox.inl ├── ProgressBar.cpp ├── ProgressBar.hpp ├── Slider.cpp ├── Slider.hpp ├── SpriteButton.cpp ├── SpriteButton.hpp ├── TextBox.cpp ├── TextBox.hpp ├── Theme.cpp ├── Theme.hpp ├── Utils ├── Arrow.cpp ├── Arrow.hpp ├── Box.cpp ├── Box.hpp ├── Cross.cpp ├── Cross.hpp ├── ItemBox.hpp └── ItemBox.inl ├── Widget.cpp └── Widget.hpp /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/.clang-format -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/README.md -------------------------------------------------------------------------------- /compile_flags.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/compile_flags.txt -------------------------------------------------------------------------------- /demo/demo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/demo/demo.cpp -------------------------------------------------------------------------------- /demo/sfml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/demo/sfml.png -------------------------------------------------------------------------------- /demo/tahoma.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/demo/tahoma.ttf -------------------------------------------------------------------------------- /demo/texture-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/demo/texture-default.png -------------------------------------------------------------------------------- /demo/texture-win98.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/demo/texture-win98.png -------------------------------------------------------------------------------- /demo/themed-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/demo/themed-button.png -------------------------------------------------------------------------------- /doc/button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/doc/button.png -------------------------------------------------------------------------------- /doc/checkbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/doc/checkbox.png -------------------------------------------------------------------------------- /doc/optionsbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/doc/optionsbox.png -------------------------------------------------------------------------------- /doc/progress-bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/doc/progress-bar.png -------------------------------------------------------------------------------- /doc/slider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/doc/slider.png -------------------------------------------------------------------------------- /doc/textbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/doc/textbox.png -------------------------------------------------------------------------------- /lint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | clang-format $(find src -type f) -i 4 | echo "Done" 5 | -------------------------------------------------------------------------------- /main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/main.cpp -------------------------------------------------------------------------------- /sfml-widgets.cbp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/sfml-widgets.cbp -------------------------------------------------------------------------------- /src/Gui/Button.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Button.cpp -------------------------------------------------------------------------------- /src/Gui/Button.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Button.hpp -------------------------------------------------------------------------------- /src/Gui/CheckBox.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/CheckBox.cpp -------------------------------------------------------------------------------- /src/Gui/CheckBox.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/CheckBox.hpp -------------------------------------------------------------------------------- /src/Gui/ComboBox.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/ComboBox.hpp -------------------------------------------------------------------------------- /src/Gui/ComboBox.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/ComboBox.inl -------------------------------------------------------------------------------- /src/Gui/Enums/Enums.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Enums/Enums.hpp -------------------------------------------------------------------------------- /src/Gui/Gui.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Gui.hpp -------------------------------------------------------------------------------- /src/Gui/Image.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Image.cpp -------------------------------------------------------------------------------- /src/Gui/Image.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Image.hpp -------------------------------------------------------------------------------- /src/Gui/Label.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Label.cpp -------------------------------------------------------------------------------- /src/Gui/Label.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Label.hpp -------------------------------------------------------------------------------- /src/Gui/Layouts/FormLayout.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Layouts/FormLayout.cpp -------------------------------------------------------------------------------- /src/Gui/Layouts/FormLayout.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Layouts/FormLayout.hpp -------------------------------------------------------------------------------- /src/Gui/Layouts/HBoxLayout.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Layouts/HBoxLayout.cpp -------------------------------------------------------------------------------- /src/Gui/Layouts/HBoxLayout.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Layouts/HBoxLayout.hpp -------------------------------------------------------------------------------- /src/Gui/Layouts/Layout.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Layouts/Layout.cpp -------------------------------------------------------------------------------- /src/Gui/Layouts/Layout.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Layouts/Layout.hpp -------------------------------------------------------------------------------- /src/Gui/Layouts/VBoxLayout.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Layouts/VBoxLayout.cpp -------------------------------------------------------------------------------- /src/Gui/Layouts/VBoxLayout.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Layouts/VBoxLayout.hpp -------------------------------------------------------------------------------- /src/Gui/Menu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Menu.cpp -------------------------------------------------------------------------------- /src/Gui/Menu.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Menu.hpp -------------------------------------------------------------------------------- /src/Gui/OptionsBox.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/OptionsBox.hpp -------------------------------------------------------------------------------- /src/Gui/OptionsBox.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/OptionsBox.inl -------------------------------------------------------------------------------- /src/Gui/ProgressBar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/ProgressBar.cpp -------------------------------------------------------------------------------- /src/Gui/ProgressBar.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/ProgressBar.hpp -------------------------------------------------------------------------------- /src/Gui/Slider.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Slider.cpp -------------------------------------------------------------------------------- /src/Gui/Slider.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Slider.hpp -------------------------------------------------------------------------------- /src/Gui/SpriteButton.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/SpriteButton.cpp -------------------------------------------------------------------------------- /src/Gui/SpriteButton.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/SpriteButton.hpp -------------------------------------------------------------------------------- /src/Gui/TextBox.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/TextBox.cpp -------------------------------------------------------------------------------- /src/Gui/TextBox.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/TextBox.hpp -------------------------------------------------------------------------------- /src/Gui/Theme.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Theme.cpp -------------------------------------------------------------------------------- /src/Gui/Theme.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Theme.hpp -------------------------------------------------------------------------------- /src/Gui/Utils/Arrow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Utils/Arrow.cpp -------------------------------------------------------------------------------- /src/Gui/Utils/Arrow.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Utils/Arrow.hpp -------------------------------------------------------------------------------- /src/Gui/Utils/Box.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Utils/Box.cpp -------------------------------------------------------------------------------- /src/Gui/Utils/Box.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Utils/Box.hpp -------------------------------------------------------------------------------- /src/Gui/Utils/Cross.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Utils/Cross.cpp -------------------------------------------------------------------------------- /src/Gui/Utils/Cross.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Utils/Cross.hpp -------------------------------------------------------------------------------- /src/Gui/Utils/ItemBox.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Utils/ItemBox.hpp -------------------------------------------------------------------------------- /src/Gui/Utils/ItemBox.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Utils/ItemBox.inl -------------------------------------------------------------------------------- /src/Gui/Widget.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Widget.cpp -------------------------------------------------------------------------------- /src/Gui/Widget.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abodelot/sfml-widgets/HEAD/src/Gui/Widget.hpp --------------------------------------------------------------------------------