A simple GUI module for SFML.
- Author: Alexandre Bodelot [email protected]
- License: MIT License (See LICENSE file)
Run make
to build the library (lib/libsfml-widgets.a
) and the demo program.
You can then run the demo: ./sfml-widgets-demo
gui::Button
: a simple press buttongui::Checkbox
: a button with enabled/disabled stategui::Image
: displays an SFML texturegui::Label
: a text elementgui::OptionsBox
: a list of label/value pairsgui::ProgressBar
: a simple horizontal progress bargui::Slider
: provides a vertical or horizontal slidergui::TextBox
: a one-line text editor- Layouts:
gui::HBoxLayout
: lines up widgets horizontallygui::VBoxLayout
: lines up widgets verticallygui::FormLayout
: manages forms of input widgets and their associated labels