Commit graph

203 commits

Author SHA1 Message Date
Jools Wills 6ffda17c4e
Merge pull request #495 from raelgc/fix-kids-unattended-mode
Fixing kids/unattended mode
2019-01-08 19:33:41 +00:00
Rael Gugelmin Cunha c98a5d6220 Fixing kids/unattended mode 2018-11-15 15:09:08 -02:00
Rael Gugelmin Cunha 464b0992ad Work with dpad and analogs 2018-11-15 14:38:20 -02:00
John Rassa a57b0ecfea create new DateTimeComponent 2018-10-15 20:40:45 -07:00
Tomas Jakobsson 3f9ffaa33d Reset "StartupSystem" to "" if the requested system doesn't exist 2018-09-20 18:49:07 +02:00
John Rassa 1fe57de7f6 add theme support for text and line spacing for logo text in system carousel 2018-06-06 14:44:54 -07:00
Rael Gugelmin Cunha cbc1d02b1b More restriction on kids mode (#431) 2018-05-30 22:38:19 -03:00
Koerty 96b0b85208 Fix md_name not fading out 2018-04-21 23:57:57 +02:00
Koerty e575f7708e Add the new metadata field md_title to grid, video and detailed views
Unlike the others, it is by default positioned offscreen
2018-04-16 19:42:41 +02:00
Jools Wills 757dd43dd8
Merge pull request #325 from pjft/favorites-syntax
Fix empty collections not showing in carousel in Full Mode.
2018-04-12 15:29:29 +01:00
John Rassa 9adb0d0c51
Merge pull request #407 from Koerty/grid-tile-background
Add GridTileComponent and base theming syntax
2018-04-11 21:00:00 -07:00
Koerty 3993ace607 Add GridTileComponent and base theming syntax
- Add the GridTileComponent which hold the image and its background
- Add base theming syntax for the ImageGrid and GridTIle
- Numerous refactoring/cleaning in ImageGridComponent
2018-04-11 14:20:59 +02:00
Koerty 24c8a910e2 Disable random game selection in retropie settings menu 2018-04-07 14:43:23 +02:00
Koerty 82e5c21da6 Add base theming syntax for the grid
- The themes can now configure following elements : pos, size
- Change some default values for them
2018-04-07 10:37:09 +02:00
Benjamin D a006650c1c Add metadata from the detailed view to the grid view
- Add the metadata from the detailed view to the grid view (minus the image, as it doesn't make sens in the grid view)
- Add a callback to the ImageGridComponent to update the metadata info panel when cursor changed
2018-04-06 15:54:34 +02:00
Jools Wills 2ff3252b21
Merge pull request #400 from Koerty/grid-fix-populateList
[GRID FIX] Update the populateList function of the GridGameListView
2018-04-05 14:42:19 +01:00
Koerty 37a16fe3ed Update the grid's help prompt
- Add a left+right shoulder button icon
- Update the outdated help prompt to match the one from the Basic view
2018-04-05 15:37:35 +02:00
Jools Wills 75844f4568
Merge pull request #390 from Koerty/grid-swap-left-right-shoulder
[GRID 1] Allow quick system swap using left/right shoulder
2018-04-05 14:28:37 +01:00
Koerty 96b1f4b514 Small fix to the populateList function of the GridGameListView
- Call the addPlaceholder function if grid is empty
- Set the header text
2018-03-31 16:01:18 +02:00
Koerty 8d9c4a20ec Rewrite the grid display code
- Grid tile number of columns and rows is now controlled by the grid size, mMargin and mTileMaxSize
- Add a variable mSelectedTileMaxSize to control the size of the selected tile
- Update the render function to display the selected tile on top of the other
2018-03-30 18:15:54 +02:00
Koerty a7c0d92766 Use shoulder buttons for quick system swap in the grid view
- Allow quick system swap using left/right shoulder in the grid view
- Update the help prompt of the grid view accordingly
2018-03-29 09:50:57 +02:00
Koerty b4feb69980 Enable the grid view for developers
- Add the remove function to GridGameListView
- Enable the grid view in ViewController
- The grid view will not be available in the menu yet, but can be enable by tweaking es_settings.cfg
2018-03-27 16:11:50 +02:00
pjft c80d30493b Fix empty collections not showing up in Carousel for Full mode
Also fixed empty favorites collection in Kiosk mode not initializing as intended after adding the first game, if empty at start.
2018-03-02 11:56:14 +00:00
John Rassa 55e578e18c
Merge pull request #362 from tomaz82/image_fix
Fix thumbnail and image to be separated
2018-01-31 22:38:58 -05:00
Tomas Jakobsson 1228e0c7bf Fix thumbnail and image to be separated as I think it was originally meant to be. 2018-01-31 21:34:55 +01:00
Tomas Jakobsson 421e4a23df The final traces of boost has been eliminated 2018-01-30 19:21:09 +01:00
John Rassa 0686b4690a
Merge pull request #352 from tomaz82/boost_filesystem
boost::filesystem replacement, step 1
2018-01-25 19:38:32 -05:00
Tomas Jakobsson c1f8e7294c Update and rename some Utils::FileSystem functions
Replace boost::filesystem::is_directory
with    Utils::FileSystem::isDirectory

Replace boost::filesystem::is_regular_file
with    Utils::FileSystem::isRegularFile

Replace boost::filesystem::is_symlink
with    Utils::FileSystem::isSymlink

Replace boost::filesystem::exists
with    Utils::FileSystem::exists

Replace boost::filesystem::create_directory
with    Utils::FileSystem::createDirectory

Replace boost::filesystem::remove
with    Utils::FileSystem::removeFile
2018-01-23 12:07:20 +01:00
jrassa e9403b6b00 implement horizontal wheel for system carousel. fix image rotation bug in carousel 2018-01-22 19:34:30 -05:00
Tomas Jakobsson 5e8d6b7f45 Eliminated the need for boost::xpressive, boost::algorithm and boost::variant 2017-12-27 18:22:26 +01:00
pjft f29452e533 Fixes favorites crashing when removing last entry
Regression somewhere down the line.
2017-12-01 17:23:28 +00:00
D. Polders 1ed075a5e4 * Add ConfirmationPopUp when switching UIMode.
* Split out UIMode controller in separate class (in es-app).
* Fix passphrase input for wX360 controllers by ignoring hat-inputs
* Fix font fallback mechanism on rpi for non ascii characters using new Unicode2Chars() method.
* Fix UIMode not being saved due to popup window.
2017-11-19 00:28:36 +01:00
Tomas Jakobsson bd0c6beed5 Silence warnings 2017-11-18 23:20:09 +01:00
Tomas Jakobsson 92b73bd847 Cleaning up a lot of math functions 2017-11-14 20:09:20 +01:00
Tomas Jakobsson 9fbe95daa3 iterator -> const_iterator 2017-11-12 00:05:19 +01:00
D. Polders 189eb05fee * Introduce KidMode: Prevent collection editing
* Introduce FileData Filtering for Kiosk and  Kid Modes to:
1. In Kiosk mode: Hide items with metadata tag `<hidden>true</hidden>`
2. In Kid mode: only show items with metadata tag `<kidgame>true</kidgame>`
* ES will auto-revert UI mode back to Full  when there is nothing at all to show.
* Changing the setting hideQuitMenuOnKidUI to true will hide this menu.
2017-11-02 21:22:41 +01:00
Tomas Jakobsson a8fc560749 Header inclusion cleanup 2017-11-02 19:16:01 +01:00
Tomas Jakobsson 8f5fbb0b26 Got rid of Matrix3x3f, Matrix4x4f, Rotation3x3f and Scale3x3f
Everything is now handled by Transform4x4f which now does it way more optimized than previous version
2017-11-01 15:02:48 +01:00
Tomas Jakobsson 44e3e39083 Add pragma once and ifndef header guards to all headers 2017-10-31 18:12:50 +01:00
Tomas Jakobsson 73a2f6b716 Replace Eigen with "inhouse" vector and matrix math 2017-10-28 22:25:01 +02:00
Jools Wills de42e1c2bd Merge pull request #257 from raelgc/master
Alow to select a system to go directly to the game list (Fixes #253)
2017-10-26 15:27:08 +01:00
Rael Gugelmin Cunha c1f836c713 Add an UI option to automatically load a system gamelist (Fixes #253) 2017-10-25 10:29:39 -02:00
Tomas Jakobsson cd2f2ee42b Use local game art ( image, marquee and video ) from romfolder/images if the gamelist didn't specify a path 2017-10-24 00:57:08 +02:00
D. Polders fd40e84ba5 Fix build warnings (mostly adding explicit type casting) 2017-10-18 16:22:27 +02:00
jrassa 24f1b969bf add support for default image path in themes 2017-10-05 21:34:32 -04:00
D. Polders 7a7550cde9 Introducing Kiosk UI mode, allowing users to hide menu items that might change system configuration settings. 2017-09-12 21:07:18 +02:00
Markus Pointner 96d7ac003d fix delete-after-use issue with temporary string 2017-08-30 12:51:48 +02:00
pjft 8670a04ec2 Revert Help Text getting string pointer 2017-08-29 15:15:00 +01:00
John Rassa 0b0e0adce6 Merge pull request #225 from jrassa/carousel-fix-single-system
properly render carousel for system configured with only 1 system
2017-08-24 20:34:00 -04:00
jrassa c6a0449be0 properly render carousel for system configured with only 1 system 2017-08-24 17:51:15 -04:00
hex007 5a62040f63 Fixes blank screen on key press while exiting game 2017-08-22 14:33:26 -07:00
John Rassa 230c6e4a97 Merge pull request #212 from jrassa/carousel-enhancements
carousel enhancements
2017-08-19 09:25:52 -04:00
jrassa c7b3db244e carousel enhancements 2017-08-18 22:03:40 -04:00
pjft 01a55ba6a2 Added support for custom Game Collection creation
- Create from a theme folder
- Create by specifying a name
- Refactored collection creation to be on-demand rather than on startup
2017-08-17 16:09:37 +01:00
John Rassa 96fbc1c277 Merge pull request #195 from jrassa/gui-component-enhancements
added origin and rotation support to guicomponent, exposed as theme o…
2017-08-11 21:35:10 -04:00
jrassa 2377175a19 added origin and rotation support to guicomponent, exposed as theme options for several components 2017-08-09 22:15:57 -04:00
hex007 45694cf1a4 Power Saver Feature
- Change Power Saver (PS) from Other Settings menu
- 4 Modes are available : Disabled, Default [default], Enhanced, Instant
- All modes work well with Screensavers and Video previews.
- PS is disabled while running Videos through VLC.
- PS is disabled while Scrapping
- Game counts are shown immidiately if in Instant Mode
- PS mode defaults if Transitions are changed while in Instant Mode
2017-07-25 12:07:35 -07:00
Jools Wills 7ad62df4df Merge pull request #168 from pjft/RetroPie-Virtual-Systems-PR
Adding support for "All", "Favorites" and "Last Played" systems
2017-07-08 07:31:39 +01:00
Jools Wills cbc8171f43 Merge pull request #177 from pjft/RetroPie-VideoZoom
Fix for lack of zoom transition on video view for systems without marquees
2017-07-08 04:44:31 +01:00
Jools Wills 394cd44758 Merge pull request #173 from jrassa/theme-variables
variable support for themes
2017-07-08 04:38:31 +01:00
pjft 92fbec47c2 Fix for lack of zoom transition on video view for systems without marquees 2017-07-07 20:48:50 +01:00
pjft d0cdbf2159 Adding support for Virtual Systems
- Refactoring System Environment data
- Added Virtual System Manager class
- Added "all", "favorites" and "last played" systems
- Added GuiInfoPopup class for notifications
- Added Favorites to metadata, as well as a shortcut to toggle favorites
- Added warning if enabling systems but themes don't support it
- Added "filter by favorites" per system
- Adjusted "Go to Random Game" behavior to account for the fact that we now have an "All Games" system
- Added "sort by system name" for the collections
2017-07-07 20:16:21 +01:00
jrassa 2bacc9c431 variable support for themes 2017-06-30 23:58:51 -04:00
hex007 64effcc69c Move Carousel transition to separate switch
- Removed Simple Slide
- Added Switch to control Carousel transition
2017-06-28 09:50:37 -07:00
pjft 59d7516a16 Random Game Screensaver, Game Name and Controls
- Final changes for VLC screensaver support as well
- ALSA de-init/re-init only when needed
- Adding screensaver options menu inside UI settings
- Slightly moved options (Show Frameskip to "Other Settings", sorting within same menu)
- Adding info popups on random video screensaver and OMX + Game Info setting
2017-06-11 19:56:05 +01:00
jrassa b3181a2c09 fix #151 zoom launch transition by extracting scale factor from transform 2017-06-01 22:25:02 -04:00
Jools Wills b078bdddd7 Merge pull request #149 from hex007/additional-transitions
Additional transitions
2017-05-31 17:56:05 +01:00
hex007 1da0c780b2 Renamed additional transitions
- instant -> simple slide
- none    -> instant
2017-05-31 09:54:11 -07:00
jrassa de643bb114 use clip rects to prevent views overflow onto other views 2017-05-30 22:41:41 -04:00
hex007 2ec037de2f Added Instant Transition 2017-05-30 19:23:07 -07:00
hex007 fb93a4d2b6 Added None Transition 2017-05-30 19:19:41 -07:00
pjft 029e8bd040 Fixes and tweaks to OMXPlayer work, by pjft
- Correct handling of zombie processes left in memory
- Add options to mute video
- Fix resizing to work with theme refactorings introduced by jdrassa and zigurana
2017-05-28 21:33:05 +01:00
fieldofcows 34ea9caa89 Adding experimental OMX video player component. Squashed from fieldofcows' work (by pjft). 2017-05-28 21:26:23 +01:00
pjft 04d080a93b Fix for Game Count display in System View when filtered 2017-05-27 08:40:18 +01:00
jrassa 2faeb50ef0 fix default z-index values for metadata fields on detail view 2017-05-24 21:26:07 -04:00
jrassa 2b907b8674 slide transition will slide vertically for vertical carousel 2017-05-20 10:02:11 -04:00
jrassa 354d3b9dec implement z-index support for themeing system view and gamelist views 2017-05-18 19:22:55 -04:00
pjft 80526c777e Fixing whitespaces and indentation (tabs) 2017-05-18 12:51:45 +01:00
pjft 4e5c1ce49e Changes to mitigate white flashes ES navigation
- Set default GL clear color to black, rather than white
- Revert changes to ImageComponent intialization that cause white flashes
- Increased ALSA buffer to prevent buffer underruns which stall CPU momentarily
- Improved carousel texture buffering based on navigation direction and speed
2017-05-17 20:53:30 +01:00
Jools Wills 884cae4c37 use 1.2f as carousel logo scale default - fixes #126 2017-05-04 18:50:11 +01:00
Jools Wills 006e716e64 Merge pull request #108 from zigurana/SelectGamelistViewType
Add Explicit Gamelist Type selection to GUI menu.
2017-05-04 16:30:23 +01:00
Jools Wills a909f10b2d Merge pull request #115 from pjft/RetroPie-master-filter-rebase
Adding generic gamelist filter funcionality for ES
2017-05-04 16:25:57 +01:00
jrassa 474891f4a3 fix black boxes appearing on gamelist after scrolling 2017-04-30 22:54:27 -04:00
pjft 7f84eeea94 Adding generic gamelist filter funcionality for ES, specifically genre, players, ratings and publisher/developer 2017-04-28 12:05:20 +01:00
Jools Wills 3e15aef1fc Merge pull request #118 from zigurana/RandomGame
Go-to Random Game feature
2017-04-26 23:25:02 +01:00
D. Polders 3c76a4b5a7 Go-to Random Game feature 2017-04-26 18:08:54 +02:00
Jools Wills 9864c4c44c Merge pull request #109 from pjft/RetroPie-master-videofolders
Adding metadata to folders
2017-04-24 23:30:09 +01:00
Jools Wills 848788d982 Merge pull request #116 from jrassa/carousel-fix
Fix for carousel theming
2017-04-07 02:54:34 +01:00
jrassa 7b8192c879 when loading carousel theme, keep checking system themes until one is found with a system view defined 2017-04-06 17:24:32 -04:00
pjft 77e09864d9 Adding metadata to folders 2017-04-04 09:20:22 +01:00
jrassa fbf349d61a fix image ratio for first image in video game list view 2017-04-03 22:24:52 -04:00
D. Polders 003d9edbf9 Add Explicit Gamelist Type selection to GUI menu.
Currently supports Basic, Detailed, Video, and Automatic types. The Automatic type checks for the availability of first video's, then screenshots, defaulting to Basic view if none are present.
2017-03-29 21:20:12 +02:00
D. Polders ac5e3ad95f System Carousel feature, now with only a single commit! 2017-03-25 21:09:12 +01:00
jrassa e2374271f2 don't enable video view if current theme doesn't support it 2017-02-24 23:19:29 -05:00
fieldofcows 6872f47277 Fix WSOD by loading textures on demand in a separate thread when a user configurable texture memory threshold is reached 2017-01-29 22:46:22 +00:00
fieldofcows 25e1067794 Add video view that is based on detail view but allows themes to include a video preview of the selected game along with a marquee image 2016-12-12 09:34:01 +00:00
Jools Wills 1c343c999b show "CONFIGURATION" instead of "X GAMES AVAILABLE" for the retropie menu 2016-11-08 19:38:10 +00:00
Jools Wills 1becb41508 Revert "Add direct launch option for systems that don't need a game list" 2016-03-29 05:03:39 +01:00
Jools Wills b17cd9942a Merge pull request #1 from taalas/direct-launch
Add direct launch option for systems that don't need a game list
2016-01-31 19:35:05 +00:00
taalas 6f602a22c9 skip game lists without games when quick selecting, handle empty game lists 2015-06-09 15:13:29 +02:00
taalas 5be78e9c53 add direct launch tag and corresponding data structures 2015-06-07 18:56:02 +02:00
Brent Atkinson 196449e5c3 Moved rom deletion to gamelist, fixed halt on removal. 2015-01-12 15:06:11 -05:00
Aloshi bc72990f39 Changed 'emulationstation' folder to 'es-app' because I forgot executables don't have extensions on Linux
Half of the ES code has been missing for 5 days because I am incompetent
2014-06-25 12:02:36 -05:00