Commit graph

4004 commits

Author SHA1 Message Date
John Rassa 6902ac2cb8
Merge pull request #416 from Koerty/grid-fix-calcGridDimension
Fix calcGridDimension being called before mScrollDirection
2018-04-16 17:56:14 -04: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
Koerty 1b4a545c90 Add "origin" theming element for help prompt 2018-04-15 21:01:54 +02:00
Koerty 4a587ca347 Fix calcGridDimension being called before mScrollDirection 2018-04-15 15:20:49 +02:00
Jools Wills b622a4272e
Merge pull request #413 from jrassa/windows-fixes
fix for several small issues in Windows build
2018-04-14 19:52:40 +01:00
John Rassa 7c396541d4
Merge pull request #411 from Koerty/grid-clean-imagegrid-code
Clean ImageGridComponent code
2018-04-13 17:00:05 -07:00
John Rassa 99f7330475 fix for several small issues in Windows build 2018-04-13 16:53:39 -07:00
Koerty deeaf438c7 Clean ImageGridComponent code
- Separated private methods and attributes in 3 groups :
  - images & entries
  - tiles
  - miscellaneous
- Renamed some methods :
  - buildImages -> buildTiles
  - updateImages -> updateTiles
- Moved private methods implementation so they respect the same order as their declaration
- Changed some methods internal variable names and other smalls clean
2018-04-13 15:24:32 +02:00
John Rassa c7c828e47a
Merge pull request #412 from Koerty/crop-image-and-minsize
Add cropping and minSize to ImageComponent
2018-04-12 19:15:13 -07:00
John Rassa 48187d2acb
Merge pull request #408 from Koerty/grid-horizontal-scroll
Add scroll direction to the grid
2018-04-12 19:14:38 -07:00
Koerty f946801006 Add scroll direction to the grid
Vertical by default, but can be set to horizontal by the theme
2018-04-13 03:41:50 +02:00
Koerty d23d5dbc59 Add cropping and minSize to ImageComponent
- A call to cropTop(0.2) will crop 20% of the top of the image
- A call to minSIze(0.2, 0.2) will resize the image smallest side to 0.2 without breaking aspect ratio, but crop the extra lenght of the biggest side.
- Call minSize(0.2, 0.2) and then uncrop() to define an image size by its smallest side
2018-04-13 02:57:43 +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
Jools Wills dd7f6e4a24
Merge pull request #406 from Koerty/disable-random-selection-retropie
Disable random game selection in retropie settings menu
2018-04-11 17:56:45 +01: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
John Rassa 61da776b71
Merge pull request #401 from Koerty/grid-base-theming-syntax
[GRID 3.2] Add base theming syntax for the grid
2018-04-07 05:10:34 -07: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
John Rassa 016956703a
Merge pull request #404 from Koerty/grid-metadata
[GRID 4] Add metadata from the detailed view to the grid view
2018-04-06 19:34:21 -07:00
John Rassa e82895ffca
Merge pull request #403 from Koerty/grid-display-bottom-row
[GRID FIX] Bad tile position when close to the last row and last row is full
2018-04-06 19:18:44 -07: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
Jools Wills f0a4311991
Merge pull request #391 from Koerty/grid-icon-left-right-shoulder
[GRID 1.1] Update the outdated help prompt of the grid
2018-04-05 14:41:47 +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 c25eaab7fb Fix bad tile position when close to the last row and last row is full 2018-04-04 20:11:47 +02:00
Jools Wills 4e6dcde5a5
Merge pull request #398 from pjft/fix-theme-collection-crash
Fix crash when changing theme
2018-04-01 16:46:22 +01:00
Jools Wills 6878aad784
Merge pull request #402 from Koerty/fix-image-flipY
Fix ImageComponent flipY
2018-04-01 16:45:25 +01:00
Koerty 87a9c7318a Fix ImageComponent flipY 2018-04-01 17:18:12 +02: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
John Rassa 560ca045cd
Merge pull request #396 from Koerty/grid-display-code-rewrite
[GRID 3] Rewrite the grid view display code
2018-03-30 20:35:59 -07: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
Jools Wills 5bd40476f6
Merge pull request #397 from mmatyas/smurfs
Remove leftover debug code
2018-03-28 14:52:13 +01:00
Mátyás Mustoha 63f4806ac5 Remove leftover debug code 2018-03-28 09:31:10 +02:00
John Rassa 9382507e17
Merge pull request #392 from Koerty/grid-enable-for-developers
[GRID 2] Enable the grid for developers
2018-03-27 16:39:31 -07: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
John Rassa 43a1d3d992
Merge pull request #393 from Koerty/grid-size-rename
[GRID] Rename gridSize to gridDimension in ImageGridComponent.h
2018-03-26 14:30:46 -07:00
John Rassa 2c11c7ff5e
Merge pull request #395 from PokeEngineer/master
Fixed a quirk in the Clion PR
2018-03-25 10:54:01 -07:00
Jacob Mullins 565b519693 Fixed a quirk in the Clion PR
@Koerty accidentally excluded all .cmake files instead of the specific files that Clion generated, and was getting in my way of developing a new feature... So, I fixed it.
2018-03-25 12:33:23 -04:00
John Rassa c972e729e4
Merge pull request #394 from Koerty/git-ignore-clion-files
Add automatically generated Clion files to gitignore
2018-03-24 05:21:48 -07:00
Koerty 715ac69445 Add automatically generated Clion files to gitignore 2018-03-23 10:54:46 +01:00
Koerty 41729f8cb8 Rename gridSize to gridDimension in ImageGridComponent.h 2018-03-23 10:25:33 +01:00
pjft a585c00744 Fix crash when changing theme from within a collection that'll no longer be present at the carousel level 2018-03-15 20:46:09 +00:00
Jools Wills 99cc97680d
Merge pull request #387 from pjft/fix-paths
Fixing path generation on the Pi for getDirContents
2018-03-09 18:11:38 +00:00
Jools Wills f7b58527eb
Merge pull request #386 from pjft/scraper-crash
Fix crash when scraping folders
2018-03-09 17:15:42 +00:00
pjft f6649ec070 Fixing path generation on the Pi for getDirContents 2018-03-09 17:06:39 +00:00
pjft 25f31d154c Fix crash when scraping folders 2018-03-09 16:41:55 +00:00
Jools Wills 1e668d8e3f
Merge pull request #384 from pjft/path-fixes
Fixing common path detection
2018-03-02 22:27:53 +00:00