Aloshi
95e1d8c7d8
Changed some help prompts.
...
Added back button to OptionListComponent in single select mode.
2014-05-16 16:21:33 -05:00
Aloshi
ac0bdb47ed
Optimized the hell out of ImageComponent.
...
(been saving this one for a rainy day...)
Fixed sort order assert triggered by std::sort when sorting help prompts.
2014-04-11 20:48:13 -05:00
Aloshi
8d67cc1053
Fix edge case with image vertex rounding leading to texture-ImageComponent size incongruencies.
2014-03-29 18:03:38 -05:00
Aloshi
3ceeca968f
Updated/added comments.
2014-01-24 16:21:10 -06:00
Aloshi
3f1fcf2400
Changed texture wrap mode to be determined as part of texture creation.
...
Should hopefully fix some of the weird artifacts at certain resolutions.
2014-01-19 12:23:01 -06:00
Aloshi
b35d365dc8
Removed the allowUpscale option for ImageComponent::setResize.
...
Added ImageComponent::setMaxSize(size).
Added "maxSize" theming option for ImageComponent.
2014-01-10 17:47:34 -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
a7359a2d08
Themes mostly stable, documentation updated
2013-11-21 16:47:26 -06:00
Aloshi
a3a4636fd5
Search for box hooked up.
...
Display thumbnails for results.
Still need to resolve boxart.
2013-09-20 18:55:05 -05:00
Aloshi
60adf05077
Use res2h-generated files for embedded resources.
...
You do not need res2h to build ES, only if you wish to modify resource
files.
Added a simple corner.png and bar.png for a border in the settings menu.
Added ImageComponent::setColorShift(unsigned int color) to change the
OpenGL color array.
2013-08-07 17:40:27 -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
fe8c592623
Merge branch 'master' into unstable
...
Conflicts:
src/components/ImageComponent.h
2013-07-03 01:30:44 -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
90af5d47ab
Created the ResourceManager, Resource, and TextureResource classes.
...
The ResourceManager provides a unified interface for accessing resource
data, embedded or from the filesystem, with
initialization/deinitialization handled automatically behind the scenes.
It also keeps from creating duplicate resources (e.g. when two
ImageComponents use the same image file).
Audio still needs to be moved over to it.
2013-06-21 11:49:29 -05:00
Aloshi
da6ae9ac10
Initial screen transition when switching systems.
2013-06-16 16:23:04 -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
826624481a
Refactored ImageComponent to use Vector2.
2013-06-02 16:05:29 -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