Commit graph

  • 9955261a1e Changed Window to cache the framerate string as a TextCache instead of regenerate it every frame which was significantly impacting the framerate because I am dumb. Aloshi 2014-04-11 19:42:04 -0500
  • 1b66150fe7 Help prompts are now sorted, to the order [dpad] [face buttons] [start/select]. Aloshi 2014-04-06 19:24:01 -0500
  • e5bada7f51 Some styling changes, a little refactoring of RatingComponent. Aloshi 2014-04-06 19:15:02 -0500
  • 062a004e4a Added support for automatic rasterization sizes (leave width or height as 0). Aloshi 2014-04-06 18:55:57 -0500
  • cafa1b5b8d Fixed dpad_all.svg. Added "DebugText" setting that causes TextComponents to draw a background of their size + the area of their TextCache. It can be toggled with Ctrl-T when running with --debug. Added std::cout output when specifying overriding home path. Aloshi 2014-04-05 12:48:38 -0500
  • 9acfda6e1a New "GuiGamelistOptions" to replace fast select. Aloshi 2014-04-05 00:41:08 -0500
  • c1385d4834 Updated nanosvg. Aloshi 2014-04-04 15:00:54 -0500
  • 480b19dcca Fixed some missing settings. Aloshi 2014-04-04 14:12:28 -0500
  • 526c0bb038 Fixed an error with GuiInputConfig initialization that was triggering an assert. Aloshi 2014-03-29 18:42:40 -0500
  • 8d67cc1053 Fix edge case with image vertex rounding leading to texture-ImageComponent size incongruencies. Aloshi 2014-03-29 18:03:38 -0500
  • aa65a80039 Redid SystemView to keep "selected" versions of logos. Should make SVG logos look better + no more pixelated text. Aloshi 2014-03-29 16:55:32 -0500
  • e719a867be Updated nanosvg. Aloshi 2014-03-29 08:51:59 -0500
  • 6f64e647b9 GuiScraperMulti now reports the number of games scraped. Added proper horizontal padding to GuiMsgBox. Aloshi 2014-03-28 20:58:45 -0500
  • 391e299f79 Give an error message if a scrape is started with no games selected. Aloshi 2014-03-28 20:08:59 -0500
  • b3dcdb52eb Added vram usage tracking (font textures + normal textures). Aloshi 2014-03-27 16:47:25 -0500
  • 58452b4e70 Updated help SVGs with better spacing. Fixed NinePatchComponent not accepting sizes less than the original texture. Design tweaks to GuiTextEditPopup. Statistics are no longer displayed in GuiMetaDataEd. Aloshi 2014-03-25 18:41:50 -0500
  • 45428dd17b Added new TextEditComponent graphics. Aloshi 2014-03-25 18:10:35 -0500
  • 41d8263086 Finishing touches on ScraperSearchComponent. Aloshi 2014-03-25 17:47:36 -0500
  • e931a51017 Can now press Ctrl-G to toggle show all borders on all ComponentGrids. Aloshi 2014-03-25 17:46:58 -0500
  • 98eda43bab More design tweaks. Fixed some DateTime sizing stuff to be less weird. Aloshi 2014-03-25 14:14:09 -0500
  • 4fafd58da0 More design tweaks. Aloshi 2014-03-25 12:51:40 -0500
  • b44703c716 More design tweaks. Aloshi 2014-03-25 12:13:41 -0500
  • 719483864c Made ScraperSearchComponent use ComponentList callbacks instead of manually intercepting input. Tweaked IList and ComponentList for this. Aloshi 2014-03-24 17:55:36 -0500
  • 0464776e62 Fixed console spam when an ImageComponent has an invalid texture. Aloshi 2014-03-24 16:29:56 -0500
  • 7875c2271c Fixed camera scrolling for ComponentLists to always be by row heights. Aloshi 2014-03-24 15:34:38 -0500
  • 2203e9ff81 Fixed crash when RatingComponent's size was 0. Aloshi 2014-03-24 14:45:27 -0500
  • 7ca0b0fe72 Help is now horizontal instead of vertical. Shortened most help texts. Aloshi 2014-03-23 20:33:27 -0500
  • c3d6933298 Some more re-styling. Fixed a crash with SVGResource (durr). Aloshi 2014-03-22 19:48:48 -0500
  • cf836c0f8a Fixed SliderComponent going beyond its min/max values. Defensive measures against a possible SVG reinitialization bug. Aloshi 2014-03-22 18:17:14 -0500
  • d18140536a Fixed on.svg. Updated CREDITS.md. Aloshi 2014-03-22 18:03:01 -0500
  • f084f29e61 Improved input config styling a little. Aloshi 2014-03-22 17:37:40 -0500
  • 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. Aloshi 2014-03-22 16:55:18 -0500
  • 1d17bd9938 Design tweaks. Fixed dpad_right.svg. Aloshi 2014-03-22 16:02:25 -0500
  • ec4ee70259 Fixed incorrect star texture path. RatingComponent now rasterizes SVGs to the ideal size. TextComponent's text is now vertically centered always. Aloshi 2014-03-22 14:31:13 -0500
  • 2aa72928e5 Fixed fonts not being centered. Aloshi 2014-03-22 14:24:32 -0500
  • f2bd7004e1 Added SVGs for most resources. Aloshi 2014-03-22 13:04:14 -0500
  • d0261dcc5a Added "fade" transition between views in ViewController. You can change the "transition style" in the UI options. Added "string" type to "Settings". Fixed problems with loading settings when --home-path was not the exactly first argument supplied. Aloshi 2014-03-22 11:44:57 -0500
  • 98b17bf246 Try to guess the proper inputConfig entry from deviceName if deviceGUID is missing. Aloshi 2014-03-22 11:43:33 -0500
  • 3c5fa89eaf Added "PRESS ANYTHING" and "ALREADY TAKEN" notifications to GuiInputConfig. Aloshi 2014-03-21 20:38:16 -0500
  • 980a2c4ec6 InputManager mostly redone to handle rolling joystick changes instead of completely deinitializing/reinitializing itself every time a change is detected. Some other slight changes to better fit with SDL2's joystick improvements. Completely redid GuiDetectDevice and GuiInputConfig. Inching closer and closer to beta. Aloshi 2014-03-21 20:12:57 -0500
  • 9a3b0af337 ComponentList elements can now choose not to be inverted when selected. TextComponent now has a proper "alignment" setting (left, center, and right). Did some more styling on GuiMetaDataEd. Aloshi 2014-03-21 14:51:25 -0500
  • b4f5577bd5 Hooked up the "INPUT" button on scraper searches. Aloshi 2014-03-21 13:07:17 -0500
  • 9fe7ceeb72 Changed makeButtonGrid() to return a pre-padded ComponentGrid so every GUI doesn't have to do its own thing for vertical padding. Aloshi 2014-03-21 11:54:48 -0500
  • 91546ac2bc Added new text editing style to GuiMetaDataEd as per UI concepts. Aloshi 2014-03-21 11:10:19 -0500
  • ada4f83089 Fixed ComponentList not passing focus to entries. Some improvements to TextEditComponent: - cursor now repeats if you hold left/right - use FONT_PATH_LIGHT instead of regular to match UI concepts - added some horizontal and vertical padding to the text area - cursor is a little thinner and not as freakishly tall Aloshi 2014-03-20 21:47:45 -0500
  • a82ef25886 Added .svg vector graphics file support. Should "just work" for any TextureResource::get("*.svg"). dynamic_cast it to an SVGResource and call rasterizeAt(w, h) if you need to re-rasterize it. Only supports scaling that maintains aspect ratio. Aloshi 2014-03-19 20:13:59 -0500
  • 07edad611f "Fixed" the long-time weird rendering artifacts that are apparently caused by vertex coordinates not being integers. A better fix would be to move to OpenGL 3/GLES 2 and do rounding in the shader. But I don't have time for that. Aloshi 2014-03-19 15:03:23 -0500
  • daa62123d1 Changed Font::getHeight to return a float like it should. Added minimum message height to GuiMsgBox. TextComponent now vertically centers text. Fixed a bug that would cause ScraperSearchComponent to return results continuously until another search was started. Aloshi 2014-03-19 13:10:30 -0500
  • 8e5c910de3 Fixed a sneaky crash. Added metadata display to ScraperSearchComponent. Aloshi 2014-03-19 11:21:21 -0500
  • 1e8b040f73 Replaced AsyncReqComponent with some handles. UI is no longer completely blocked during asynchronous operations. Aloshi 2014-03-18 19:55:37 -0500
  • dbde900629 Redid Scrapers to return ScraperSearchHandles for async searches. This allows for much better error handling and doesn't take over the UI. Redid GuiScraperLog to fit new UI concept. Aloshi 2014-03-18 16:05:56 -0500
  • 3c05d6bc21 Added the OpenSans Hebrew Condensed Light font. OptionListComponent and SliderComponent now use it. SliderComponent suffix is now vertically centered properly. Aloshi 2014-03-16 19:52:15 -0500
  • 08dfc32f89 Added the new help images. Still need to redo HelpComponent to be better. Added some more back buttons. Forced text in OptionListComponent to be all capitals. Aloshi 2014-03-15 17:06:16 -0500
  • 613787931a Added a border above buttons on GuiMsgBox. Reluctantly changed button font to FONT_SIZE_MEDIUM because FONT_SIZE_SMALL has messed up sizing for some unknown reason. Aloshi 2014-03-15 13:39:19 -0500
  • 088b146fe9 Redid message boxes. Aloshi 2014-03-15 12:18:50 -0500
  • 45ffbf978c Added --home-path [path] argument that redirects calls to getHomePath() to some directory [path]. Aloshi 2014-03-13 22:14:49 -0500
  • 18b428f79a Fixed help system being broken for MenuComponent. Still missing in a few places. Added some "BACK" buttons to various GUIs. Aloshi 2014-03-13 14:09:50 -0500
  • 5039b38d8d Split old, big settings into three submenus from the main menu. Window now only draws the bottom and top of the GuiStack, instead of everything (hides windows-behind-windows and is faster). Aloshi 2014-03-12 18:24:34 -0500
  • bbb8aeeac3 Completely rewrote ComponentGrid to use shared pointers, have support for borders, work better with nested components, and generally suck less. Split the scraper screen into a "ScraperSearchComponent" so it can be reused in other menus (what could this possibly mean for the future?!). Re-designed the ScraperSearchComponent to fit UI concepts. Added the ability to put a row of buttons at the bottom of a MenuComponent. Redid GuiMetaDataEd to use a MenuComponent instead of ComponentGrid. Redid GuiGameScraper to use a ComponentGrid containing a ScraperSearchComponent. Fixed Renderer::pushClipRect not clipping new rects to be within the bounds of the existing clipRect stack. A ton of little fixes that I forgot to mention. It's a good thing I'm the only developer currently, or I would have to actually break this into multiple commits. Aloshi 2014-03-11 22:00:08 -0500
  • 0626f61905 Update THEMES.md examples to use "logo" instead of "header". Aloshi 2014-03-08 13:08:37 -0600
  • 70b3408823 Renamed all theme "header" elements to "logo" (and "headerText" to "logoText"). Documentation updated to reflect the change. Aloshi 2014-03-08 13:07:16 -0600
  • 6db26742ff Renamed all the internal "Settings" identifiers to be consistent in capitalization style. Probably should delete your old es_settings.cfg file. Removed --dimtime as an argument since you can set it internally now. Aloshi 2014-03-08 13:00:18 -0600
  • b2165dd17b Redid scraper start menu. Aloshi 2014-03-08 12:19:21 -0600
  • 671dbc62c1 New button style. Started redoing GuiMsgBoxs to use the new style. Aloshi 2014-03-08 11:48:47 -0600
  • 1c3135b726 Use checkbox graphics for switches. Slight optimization to TextComponent (by guaranteeing always having a font). Aloshi 2014-03-07 19:35:16 -0600
  • 076131f35c New slider art. Aloshi 2014-03-07 18:16:08 -0600
  • 5da0f01472 Fixed a grammar error in THEMES.md. Aloshi 2014-03-06 21:52:55 -0600
  • a4f33914bc Added some more information to THEMES.md. Aloshi 2014-03-06 21:47:43 -0600
  • 5d6733991a Removed the overly-complicated "common" view. Replaced it with the ability to specify multiple views in a theme tag, just like for elements. Aloshi 2014-03-06 21:35:13 -0600
  • 3ba7cd1247 Finished re-implementing OptionListComponent. More new art to go with it (thanks Nils!). Aloshi 2014-03-06 13:45:03 -0600
  • d0dfe480fa Work on new OptionListComponent. Aloshi 2014-03-05 19:49:32 -0600
  • 8928ce49ec Small UI tweaks. Replaced arrow text with an image. Better frame.png (thanks Nils!). Aloshi 2014-03-04 16:48:33 -0600
  • e97dd8ff36 ComponentList now only scrolls if content > size. ComponentList now has a default input handler behavior (forward to rightmost component in row). ComponentList now updates the currently selected row. GuiSettingsMenu has been redone to use the new MenuComponent/ComponentList scheme. GuiMenu refactored slightly to be less needlessly ridiculous. Aloshi 2014-03-02 12:36:23 -0600
  • fdbbf96d5e Added scrolling to ComponentList. --no-exit works again. Changed default screen dim time from 30 seconds to 120 seconds. Aloshi 2014-03-02 10:41:02 -0600
  • c525d994d3 First implementation of the new ComponentList stuff. Aloshi 2014-03-01 15:02:44 -0600
  • 139fc720ac Moved Guis from src/components to src/guis. Renamed ComponentListComponent to ComponentGrid. Changed some older files' #ifdefs to #pragma once to be more consistent. Aloshi 2014-02-28 18:52:32 -0600
  • 8e8c2fed6b Tweaked some system view constants. Centering still screwy. Aloshi 2014-02-28 18:48:11 -0600
  • 64aaac050f Fix centering of logos in SystemView (text is still a bit wonky). Added a band beneath the logo carousel to improve visibility. Revert CMakeLists.txt because I didn't mean to commit it yet. Aloshi 2014-02-27 15:25:30 -0600
  • 4c3b4834be Replaced hard-coded background + title in SystemView with a ThemeExtras layer. Aloshi 2014-02-27 14:20:31 -0600
  • 0266b2e802 More work on system carousel, added title + background image. Aloshi 2014-02-24 19:26:58 -0600
  • fcb8623b3d First form of the new system select carousel. Aloshi 2014-02-20 22:20:10 -0600
  • 2886e8e8d8 Compile on Linux/gcc again This better not have broken VS Aloshi 2014-02-17 11:40:31 -0600
  • 816247ac20 Changed scroll gradient to a radial gradient and made the display full screen instead of just inside the list. Embedded the OpenSans font as the default font instead of relying on a platform-dependent system default. Aloshi 2014-02-16 12:27:58 -0600
  • a592dd4cf5 Added title overlay when scrolling through lists. Aloshi 2014-02-13 17:10:28 -0600
  • 63749d2d9d Scroll after updating tier so isScrolling() returns accurately. Aloshi 2014-02-07 22:17:24 -0600
  • 1aa291ebe7 ImageGridComponent & TextListComponent have had common list functionality refactored into IList. Aloshi 2014-02-07 21:45:28 -0600
  • 7699a4f9be First IList implementation Aloshi 2014-02-07 20:15:48 -0600
  • 5c12395442 Fix the crash from writing files when the gamelist.xml contains games that do not exist on the filesystem. Write that ES has cleanly shut down to the log file instead of standard output. Aloshi 2014-01-30 17:19:32 -0600
  • ac57e111d2 Work around for boost::assign::map_list_of and gcc Aloshi 2014-01-26 16:20:21 -0600
  • 4ef5f64ff3 Added on-screen help system. Very intrusive right now. You can turn it off in the Settings menu until that gets worked out. Aloshi 2014-01-25 17:34:29 -0600
  • 752746b020 Fixed some formatting. Aloshi 2014-01-24 19:27:11 -0600
  • 612b196b11 Added the ability to theme multiple elements of the same type simultaneously. Aloshi 2014-01-24 19:25:15 -0600
  • 420dc912e0 If no keyboard input config is found, load a default. (Previously would only load the keyboard default if *no* input configs were found.) Aloshi 2014-01-24 18:29:53 -0600
  • 253ea2b5d3 Metadata now fades out while scrolling. TextListComponent::isScrolling() now only returns true if the key has been held down long enough for scrolling to really start. Fixed opacity for RatingComponent and DateTimeComponent. Exposed some more of AnimationController. Aloshi 2014-01-24 18:10:13 -0600
  • 3ceeca968f Updated/added comments. Aloshi 2014-01-24 16:21:10 -0600
  • 8eb9800127 Added color tag to ImageComponent (for colorshift). Changed TextComponent's truncation from ".." to "...". Updated documentation. Aloshi 2014-01-23 15:30:32 -0600
  • 305e91c9f8 Fixed detailed view launch animation targetting wrong point when game image is not at origin 0.5 0.5. Tweaked launch animation to zoom a little faster so that images that the camera doesn't overstep the bounds of the UI when the image is closer to the edge. Aloshi 2014-01-22 17:40:31 -0600
  • dd0c37ac23 Fix DateTimeComponent relative display for days. Aloshi 2014-01-22 17:12:38 -0600
  • ea009315e9 Added horizontal margins to textlist. Updated and corrected documentation (center -> alignment for textlist, not text!). Aloshi 2014-01-21 21:10:49 -0600
  • fa8e60b7b5 Changed "center" property of textlist to "alignment". TextListComponent can now be aligned either left, right, or center. Aloshi 2014-01-21 20:43:33 -0600