Commit graph

2285 commits

Author SHA1 Message Date
John Rassa 86a2cb7840 set curl to follow redirects to fix scraper error
update to use legacy thegamesdb url
2018-06-05 19:00:42 -07:00
John Rassa 27670e48d6
Merge pull request #441 from pjft/image-fix
Fix for image resize flicker when using MaxSize
2018-06-04 14:28:17 -07:00
John Rassa 401b184615
Merge pull request #435 from raelgc/431-improve-kids-mode
Improving kids mode
2018-06-04 14:17:25 -07:00
pjft 68dff607c8 Fix for image resize flicker when using MaxSize 2018-06-04 21:25:45 +01:00
Koerty bdc3054423 Fix horizontal scrolling grid bugs
This fix 2 bugs with the horizontal scrolling grid :
- The grid is now positioned correctly (bug introduced by the buffer of the dynamic image loader)
- The right column contain the partial tile in horizontal mod, not the bottom row
2018-06-03 01:03:14 +02:00
Rael Gugelmin Cunha cbc1d02b1b More restriction on kids mode (#431) 2018-05-30 22:38:19 -03:00
John Rassa aecd004e43
Merge pull request #419 from Koerty/grid-enable-for-users
[GRID 8] Enable the grid view for everyone
2018-05-22 15:44:29 -07:00
John Rassa f6aaf2ab16
Merge pull request #418 from Koerty/grid-dynamic-image-loader
[GRID 7] Dynamic image loader
2018-05-22 15:37:50 -07:00
Koerty 5913c9465e Add extra buffer rows to the grid to load images ahead 2018-05-21 22:06:00 +02:00
John Rassa 0928498ef2 Fix for Windows build 2018-05-18 19:32:09 -07:00
John Rassa d85f3b8a42
Merge pull request #433 from Koerty/grid-tile-background-padding
Add 3 new theming properties to the grid tile background
2018-05-17 18:58:29 -07:00
Koerty 9f10b61dfa Add 3 new theming properties to the grid tile background
Add 3 new theming properties to the grid tile background : - backgroundCornerSize
- backgroundCenterColor
- backgroundEdgeColor
2018-05-18 01:20:58 +02:00
John Rassa ffe591e239
Merge pull request #434 from Koerty/ninepatch-origin
NinePatch now position correctly when origin is different from 0 0
2018-05-17 16:03:18 -07:00
Koerty c080ffb2c3 NinePatch now position correctly when origin is different from 0 0 2018-05-10 23:43:08 +02: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
Koerty fef505639f Enable the grid view for everyone 2018-05-06 19:27:14 +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