Aloshi
b7b2998720
Added center theme option for TextListComponent.
2014-01-10 14:24:07 -06:00
Aloshi
8d1ac3087e
Changed the sound cache to be part of the Sound class instead of
...
ThemeData.
2014-01-03 10:48:34 -06:00
Aloshi
8a52866ca6
Added support for theme "extras".
...
Fixed a few crashes (e.g. TextListComponent::applyTheme).
2014-01-03 08:26:39 -06:00
Aloshi
e6d0da998b
Theme applicators have become the virtual method
...
GuiComponent::applyTheme(theme, view, element, properties).
Applying fonts works now.
2013-12-31 23:39:22 -06:00
Aloshi
7f46e50688
First part of the theming system rewrite.
2013-12-30 17:23:34 -06:00
Aloshi
93f850df75
Maybe fix the Linux compile errors
2013-12-22 16:56:11 -06:00
Aloshi
12ee215873
Refactored duplicate functionality in GridGameList and BasicGameList into
...
ISimpleGameList.
BasicGameList and DetailedGameList now automatically switch as metadata
changes.
2013-12-22 16:16:01 -06:00
Aloshi
4b4fff39ef
Optimized the hell out of TextListComponent (and TextComponent a bit)
2013-11-21 16:47:35 -06:00
Aloshi
a7359a2d08
Themes mostly stable, documentation updated
2013-11-21 16:47:26 -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
b76413137e
Hopefully fix trying to showing too many entries in TextListComponent.
2013-08-23 11:21:00 -05:00
Aloshi
bd940c56b4
Added new game launch/return effect.
2013-08-06 08:15:20 -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
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
3971fdc674
Fix last entry not showing (issue #90 )
2013-06-29 20:57:14 -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
Aloshi
19eb1c412f
Merge remote-tracking branch 'origin/unstable' into unstable
2013-06-16 16:24:17 -05:00
Aloshi
da6ae9ac10
Initial screen transition when switching systems.
2013-06-16 16:23:04 -05:00
Aloshi
1b71abd44c
Fixed marquee effect staying on when changing systems.
2013-06-15 13:06:52 -05:00
Aloshi
861297ae25
Added initial TextComponent.
...
Reworked GuiGameList to use a TextComponent for description.
Changed set/clearClipRect to push/popClipRect.
Fixed Y coordinate in the clip rect functions.
Sorta fixed AnimationComponent being totally out of whack with VSync off.
2013-06-14 10:48:13 -05:00
Aloshi
7faf9fca53
Added Size and getSize() to GuiComponent.
...
Added setClipRect and clearClipRect to Renderer.
TextListComponent finally has a marquee. :)
2013-06-02 17:33:49 -05:00
Aloshi
24512c0c9f
Component rendering now uses OpenGL translation.
...
You don't need to take into account offset when rendering anymore.
2013-06-02 14:34:50 -05:00
Aloshi
424fcb0329
Basic GuiComponent refactor complete.
2013-06-02 10:08:32 -05:00