Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 961 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 961 Bytes

SFML Widgets

doc/demo_program.png

A simple GUI module for SFML.

Run make to build the library (lib/libsfml-widgets.a) and the demo program.

You can then run the demo: ./sfml-widgets-demo

Widgets

  • gui::Button: a simple press button
  • gui::Checkbox: a button with enabled/disabled state
  • gui::Image: displays an SFML texture
  • gui::Label: a text element
  • gui::OptionsBox: a list of label/value pairs
  • gui::ProgressBar: a simple horizontal progress bar
  • gui::Slider: provides a vertical or horizontal slider
  • gui::TextBox: a one-line text editor
  • Layouts:
    • gui::HBoxLayout: lines up widgets horizontally
    • gui::VBoxLayout: lines up widgets vertically
    • gui::FormLayout: manages forms of input widgets and their associated labels