Aloshi
25a4c8a2e5
Added fastSelectBackgroundImage and menuCloseSound to ThemeData, implemented some missing sounds.
2013-11-28 13:52:21 -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
a7359a2d08
Themes mostly stable, documentation updated
2013-11-21 16:47:26 -06:00
Aloshi
3a3471cfe8
Combined FolderData and GameData into one class, FileData.
...
You don't need to dynamic_cast everywhere to check things anymore.
Folders can have metadata now (currently not set up).
Metadata is now a public member variable instead of a function that
returns a pointer to make actually using const possible.
2013-11-05 19:41:49 -06:00
Aloshi
d7a6cae4ce
Moved the fast select GUI to nine patches.
...
Luckily, no one ever used it anyway.
2013-09-14 12:32:21 -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
a15031733b
Fix crash when no fast-select font specified
2013-07-09 18:52:10 -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
Bim
94e32f198b
Make sort order changeable via fast-select menu
...
Use the left/right keys to switch it.
2013-06-30 19:24:09 +02:00
Aloshi
424fcb0329
Basic GuiComponent refactor complete.
2013-06-02 10:08:32 -05:00
Bim Overbohm
af9b9f732f
Remove the need for SDL_mixer
...
SDL_mixer is not in the standard SDL distribution. The mixing is now
done using regular SDL_Audio functions. AudioManager is converted to a
singleton and std::shared_ptrs are used for all Sound objects. Note that
for GCC "-std=c++11" might need to be added to the CMAKE_CXX_FLAGS.
2013-05-14 21:31:39 +02:00
Aloshi
ffe573d1d6
Ported to Windows.
...
Added --windowed for desktop builds.
2013-05-13 14:53:28 -05:00
Aloshi
4747d70e1f
More work.
2013-04-08 12:40:15 -05:00
Aloshi
04841ca436
More work.
...
I really am nuts.
2013-04-08 11:52:40 -05:00
Aloshi
34c3d607b5
Added fast select font tag.
2013-03-17 12:16:40 -05:00
Aloshi
3ebb819a7c
Fixed up some things that were causing compiler warnings.
2012-10-28 18:07:05 -05:00
Aloshi
aa6506aec1
Began paving the way for custom font support.
...
Font sizes might be a little different than they were before - sorry about that!
2012-10-24 10:28:37 -05:00
Aloshi
8b1e061929
Reworked opacity to be stored in that wasted color byte.
2012-10-17 13:21:56 -05:00
Aloshi
358658a36d
Initial GuiAnimation added.
2012-10-17 12:15:58 -05:00
Aloshi
65701c58c1
Added some more menu sound theming tags.
...
Menu scroll sound now also applies to the fast select menu.
2012-10-13 15:05:43 -05:00
Aloshi
b6264f4858
Fixed GuiBox/GuiFastSelect render order.
2012-10-10 08:56:34 -05:00
Aloshi
6de46003d9
Added theming tag for the Fast Select box's text color.
2012-10-10 08:51:48 -05:00
Aloshi
9b3589a22f
Added theme tags for the Fast Select GuiBox.
...
See THEMES.md for more detail.
2012-10-07 17:59:20 -05:00
Aloshi
57461ba676
More progress with GuiBox.
2012-10-07 17:25:51 -05:00
Aloshi
41f164e53b
Further work on GuiBox.
2012-10-07 16:56:33 -05:00
Aloshi
aea93748d5
Began working on GuiBox for theming of boxes (a revolutionary concept).
2012-10-05 15:04:12 -05:00
Aloshi
a3c128f4ce
GuiFastSelect is working.
...
Should be able to map a joystick input to Fast Select too, but untested.
2012-10-05 08:44:18 -05:00
Aloshi
31aebf3a7d
Added <listSelectedColor> tag.
...
Began implementing GuiFastSelect. You can see what's currently in place by holding F2 and pressing up/down.
Hopefully fixed nearest neighbor filters with GuiImage.
2012-09-30 22:29:55 -05:00