https://github.com/pmiddend/rucksack
Generic library to align rectangles in a hierarchy (layout them)
https://github.com/pmiddend/rucksack
Last synced: 9 months ago
JSON representation
Generic library to align rectangles in a hierarchy (layout them)
- Host: GitHub
- URL: https://github.com/pmiddend/rucksack
- Owner: pmiddend
- Created: 2011-10-17T21:36:56.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-07-21T16:23:48.000Z (almost 14 years ago)
- Last Synced: 2025-09-01T06:06:17.858Z (9 months ago)
- Language: C++
- Homepage:
- Size: 199 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
rucksack
========
This is just a short description for now, a larger one will follow.
What does it do?
----------------
rucksack does one "simple" thing: Reposition and resize rectangles relative to
one another. This is a fundamental task in creating GUIs (which consist of just
that: rectangles) as well as ingame user interfaces (think a HUD for example).
The library, however, is defined very generically. You define a tree of layout
"widgets" (a term borrowed from the GUI frameworks) and tell them to align
themselves. You can extract the resulting position and size from them.
Dependencies
------------
rucksack depends on [boost](http://boost.org) and [fcppt](http://fcppt.net). It
also integrates with [sge](http://github.com/freundlich/spacegameengine).
Contact
-------
You can visit me (Phillemann) and the other developers at:
#sge-sanguis on irc.freenode.org