Commit graph

1271 commits

Author SHA1 Message Date
Rael Gugelmin Cunha cbc1d02b1b More restriction on kids mode (#431) 2018-05-30 22:38:19 -03:00
John Rassa 6469ce2cbb
Merge pull request #430 from Koerty/grid-partial-last-row
Partially display the last row if grid number of row isn't an integer
2018-05-09 19:25:41 -04:00
Koerty 80456f566a Partially display the last row if grid number of row isn't an integer
- Also fix 2 bugs introduced by #428
- Also add log error message if grid dimensions are below 1
2018-05-09 17:29:21 +02:00
John Rassa ff9715dbac
Merge pull request #428 from Koerty/grid-events-refactoring
Change grid creation flow
2018-05-05 14:11:11 -04:00
John Rassa c80bb7ae8b
document color option for RatingComponent 2018-05-02 19:09:32 -04:00
Koerty a52a2f5597 Change grid creation flow
- This changes make sure the buildTiles function is called only one time, at the end of the applyTheme function.
- The buildTiles function now call calcGridDimension as both are linked to the same events
2018-05-01 05:19:45 +02:00
John Rassa 7f1dca23c5
Merge pull request #423 from Koerty/nine-patch-rewrite
Rewrite NinePatchComponent to handle images of all sizes
2018-04-28 23:38:42 -04:00
Koerty 918ecbe493 Rewrite NinePatchComponent to handle images of all sizes
- Rewrite NinePatchComponent to handle images with a different size than 48x48 px
- It's now possible to change the border sizes using setCornerSize function
2018-04-29 02:06:02 +02:00
John Rassa aa4ea2d019
Merge pull request #240 from Joemommasfat/master
add sortname to gamelist.xml to sort by a different name
2018-04-25 21:53:28 -04:00
joemommasfat ed2511e215 add sortname to gamelist.xml to sort by a different name 2018-04-24 23:07:25 -06:00
John Rassa bfddb95ba8
fix git submodule command 2018-04-24 23:33:03 -04:00
John Rassa c625c414bc
Merge pull request #424 from Koerty/fading-out-md_name
Fix md_name not fading out
2018-04-22 20:15:06 -04:00
Koerty 96b0b85208 Fix md_name not fading out 2018-04-21 23:57:57 +02:00
John Rassa 4a1e9d5f11
Merge pull request #415 from Koerty/grid-default-image
[GRID 5 & 6] Add grid default image and folder image
2018-04-16 21:30:40 -04:00
Koerty 3100fa3a6d Add grid default image and folder image
Add default game image and folder image to the grid. They can be configured by the theme with the gameImage and folderImage properties of the imagegrid.
2018-04-17 01:37:39 +02:00
John Rassa e3bebc872d
Merge pull request #417 from Koerty/help-prompt-origin
Add "origin" theming element for help prompt
2018-04-16 18:43:52 -04:00
John Rassa 36bd0a63e9
Merge pull request #410 from Koerty/grid-new-metadata-game-name
Add the new metadata field md_name to grid video and detailed views
2018-04-16 18:09:56 -04:00
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