Aloshi
5f55288495
Fixed SVGs being cut off by scaling based on height instead of width.
...
Fixed buttons not being quite vertically centered.
Hooked up new switch graphics.
Updated slider logic to only move in multiples of the specified increment.
2014-03-22 16:55:18 -05:00
Aloshi
1d17bd9938
Design tweaks.
...
Fixed dpad_right.svg.
2014-03-22 16:02:25 -05:00
Aloshi
f2bd7004e1
Added SVGs for most resources.
2014-03-22 13:04:14 -05:00
Aloshi
1c3135b726
Use checkbox graphics for switches.
...
Slight optimization to TextComponent (by guaranteeing always having a font).
2014-03-07 19:35:16 -06:00
Aloshi
4ef5f64ff3
Added on-screen help system.
...
Very intrusive right now. You can turn it off in the Settings menu until
that gets worked out.
2014-01-25 17:34:29 -06:00
Aloshi
a6dbaa2dea
Moved Font.h/.cpp to the "resources" directory (since it's a Reloadable).
2013-10-04 18:24:41 -05:00
Aloshi
b510aa8cd4
Moved ResourceManager to be a singleton.
...
The character count of the average Font::get decreased by 310%...
2013-10-04 18:10:39 -05:00
Aloshi
542d41c682
Move from homegrown Vector2 class to Eigen.
...
Pass a matrix (Eigen::Affine3f) in GuiComponent::render instead of doing
glTranslate behind the scenes.
2013-07-10 06:29:43 -05:00
Aloshi
c8900f4099
Moved to class-individualized static gets for resources.
...
See issue #95 for discussion.
2013-07-09 00:44:24 -05:00
Aloshi
6b373924d2
Moved Fonts to be Resources.
...
Moved Renderer::drawText stuff to the Font class.
Fonts are now used as std::shared_ptrs.
2013-07-03 02:54:55 -05:00
Aloshi
1534cec865
Added ComponentListComponent for laying out elements in a grid and
...
navigating through them.
Added SliderComponent for selecting from a range of values.
Added SwitchComponent for selecting an "ON" or "OFF" value.
2013-06-18 20:12:30 -05:00