Aloshi
8eb9800127
Added color tag to ImageComponent (for colorshift).
...
Changed TextComponent's truncation from ".." to "...".
Updated documentation.
2014-01-23 15:30:32 -06:00
Aloshi
fa8e60b7b5
Changed "center" property of textlist to "alignment".
...
TextListComponent can now be aligned either left, right, or center.
2014-01-21 20:43:33 -06:00
Aloshi
43972c5be9
Added developer, publisher, genre, and number of players metadata.
...
Updated TheGamesDB scraper to retrieve said metadata, still need to do the
archive.vg scraper.
TextComponent now abbreviates text if the component's size is single-line and the text is too long.
DateTimeComponent now correctly updates its size.
2014-01-19 17:24:56 -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
0cfa38fcf9
Mostly reimplemented the fast select GUI.
...
Still not sure how I want to store sort state. I'd kind of like to move
sorting out of the FileData tree altogether and into the display classes.
2013-11-25 14:49:02 -06:00
Aloshi
4b4fff39ef
Optimized the hell out of TextListComponent (and TextComponent a bit)
2013-11-21 16:47:35 -06:00
Aloshi
e247326b51
Better opacity support for TextComponent
2013-10-10 16:14:33 -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
3105073e50
Work on scraper UI integration (about there, just need a real scraper
...
now).
2013-09-19 18:41:14 -05:00
Aloshi
77fb840a4b
Added a basic ButtonComponent class.
2013-08-22 15:29:50 -05:00
Aloshi
df897c0b5a
Finally implemented TextCaches for TextComponent and TextEditComponent.
...
Huge boost in performance with rendering game descriptions.
(It's About Damn Time (TM))
2013-08-21 20:08:36 -05:00
Aloshi
421797929d
New generic metadata backend.
2013-08-14 07:16:49 -05:00
Aloshi
8d78052808
Finally use parenting in GuiGameList.
...
Added setCentered(bool) to TextComponent.
Fixed Font::sizeWrappedText to return an accurate width.
2013-07-23 01:27:28 -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
ed384e057b
Move scrolling out of TextComponent and into a generic
...
ScrollableContainer.
2013-07-02 20:01:58 -05:00
Sir_Leon
b4e554153a
Moved Opacity logic to GuiComponent
...
Moved Opacity logic from ImageComponent to GuiComponent so any extender
of GuiComponent che implement its opacity logic.
Implemented Opacity logic for TextComponent (now text can have fade
animation)
2013-07-02 16:51:33 +02:00
Aloshi
ec7ad28fdc
Finally added scrolling description text. :)
2013-07-02 00:57:31 -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
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