Commit Graph

2618 Commits

Author SHA1 Message Date
Tatsuya79 ad0a36b825 XMB thumbnails vertical disposition. 2018-04-05 00:52:46 +02:00
twinaphex 015facee70 (XMB) Cleanups 2018-04-01 18:23:37 +02:00
Tatsuya79 0c0cad8630 XMB Right Thumbnail rework. 2018-03-30 23:53:16 +02:00
twinaphex 92b46a8275 Some cleanups 2018-03-30 15:50:27 +02:00
Brad Parker ecd42f1aa8 C89 buildfix, correct spacing 2018-03-29 22:15:16 -04:00
twinaphex 58df2e6427 update 2018-03-30 02:50:18 +02:00
alfrix 647abd6aba Buildfix 2018-03-29 14:07:22 -03:00
alfrix 0777a6d625 Do not draw the thumbnail if there is no space available 2018-03-29 13:45:54 -03:00
alfrix 5076569c81 Limit right thumb width 2018-03-29 13:45:54 -03:00
Tatsuya79 8859fa0213 XMB Left thumb dynamic positioning and scaling. 2018-03-29 16:39:38 +02:00
alfrix a84facf636 Add Left Thumbnails
Fix behaviour when right thumb is off and use as fallback in filebrowser
Remove update_left_thumbnail_path
Fix dual image in imageviewer
Remove xmb_left_thumbnails_ident
Requested Changes
Fix last warning and button not switching thumb
Better scaling
Limit vertical size without changing position
Change thumb cycling behaviour
Remove update_left_thumbnail_image it was causing problems
2018-03-29 10:38:23 -03:00
twinaphex 3fe6ecbce7 More static analyzer warning fixes 2018-03-29 14:19:24 +02:00
Tatsuya79 1aaaa116d1
XMB scale the mouse cursor too. 2018-03-25 00:48:05 +01:00
Tatsuya79 35ae907899 Fix XMB thumbnail height limit again. 2018-03-24 23:22:42 +01:00
Tatsuya79 a32880fd22 Fix XMB thumbnail height limit. 2018-03-24 18:43:15 +01:00
Twinaphex 5c82ef3ee3
Merge pull request #6423 from markwkidd/playlist-core-reset
"reset associated core" feature for playlists
2018-03-22 21:40:19 +01:00
markwkidd e373d82a58 cherry-pick menu code for core association reset 2018-03-22 13:27:37 -04:00
twinaphex f78f5c27ce Try to silence more Coverity warnings 2018-03-19 14:18:39 +01:00
twinaphex 6bf011a700 Silence another warning 2018-03-19 12:25:56 +01:00
twinaphex 72dc03a1c6 Try to fix Coverity warnings 2018-03-19 06:58:36 +01:00
Rob Loach ddb0f81cf2
xmb: Add Morning Blue theme 2018-03-11 20:37:49 -04:00
Tatsuya79 5dda583a94
Fix MaterialUI scaling bug in long lists, lower res devices. 2018-03-07 12:17:10 +01:00
twinaphex 14e6d42935 (XMB) Get rid of some unnecessary pointer passing 2018-03-06 15:55:06 +01:00
twinaphex aa57331569 (MaterialUI) Attempt to make things more readable 2018-03-06 15:34:58 +01:00
Tatsuya79 4c561a2de1
Move variable. 2018-03-04 01:56:29 +01:00
Twinaphex 340a368465
Merge pull request #6340 from Tatsuya79/master
XMB Dynamic Scaling Mod. (For Testing)
2018-03-04 01:08:59 +01:00
Tatsuya79 28a7357fca
Thumbnails height limitation. Linear Image scaling. 2018-03-04 01:06:02 +01:00
twinaphex b4a743fff4 Split up menu display drivers for D3D8/D3D9 into separate drivers;
split up d3d_common into separate files
2018-03-03 15:28:58 +01:00
Twinaphex ae6e410de1 Remove unused variables 2018-03-01 22:28:26 +01:00
twinaphex 8b8b08aefd - Simplify video_shader_parse_type
- Fix welcome screen
2018-03-01 15:58:06 +01:00
Tatsuya79 4ab8fb9423 Dynamic Scaling Mod. 2018-02-27 19:01:15 +01:00
twinaphex b4733fd6c2 Cleanups 2018-02-26 00:13:01 +01:00
twinaphex 7a3d7e784a (menu_generic.c) Get rid of hashes 2018-02-25 22:27:05 +01:00
twinaphex 36f9d359c2 Combine menu_list and menu_entries 2018-02-25 00:39:20 +01:00
radius fd767f65bd subsystem fix 2018-02-17 12:28:19 -05:00
twinaphex 5888718c04 (Zarch) Buildfix 2018-02-16 21:47:42 +01:00
twinaphex 35f1c9ba33 (menu display driver) Get rid of remaining pointer grabbing 2018-02-16 19:42:13 +01:00
twinaphex 407d7e2c4e (menu display) Get rid of more pointer grabbing 2018-02-16 19:25:19 +01:00
twinaphex a0ba515337 Update 2018-02-16 19:08:16 +01:00
twinaphex b25e2ce4e8 reduce more calls to video_driver_get_ptr 2018-02-16 17:54:39 +01:00
twinaphex 964e9db588 Reduce calls to video_driver_get_ptr - set it once for
video_frame_info_t
2018-02-16 17:19:55 +01:00
twinaphex f5efddb7ec Cleanup 2018-02-15 21:10:10 +01:00
twinaphex b01ac41c5f (XMB) C89 fixes 2018-02-14 05:42:42 +01:00
radius 9a23ee8017 subsystem part 3: remove more globals 2018-02-12 02:39:25 -05:00
radius 2a9046c06f subsystem part 3: cleanups 2018-02-12 02:39:25 -05:00
radius 1951adeb5b subsystem part 2: add LABELS 2018-02-12 02:39:24 -05:00
radius 788bb4de50 subsystem part 1: proper labels for each entry 2018-02-12 02:39:24 -05:00
radius 597e0ce1ec subsystem part 1: get the required data to load content 2018-02-12 02:39:23 -05:00
aliaspider a8ee5f6c44 restore some changes made in 9dc597cf6c. 2018-02-09 16:59:48 +01:00
twinaphex 9dc597cf6c Undo all menu hash related changes - was causing more harm
than good - apologies to radius since we now have to recode
his shader changes PR
2018-02-09 01:51:37 +01:00
Twinaphex 24ea73b218
Merge pull request #6240 from aliaspider/master
add basic support for arabic.
2018-02-05 21:25:48 +01:00
aliaspider 45580cb9a8 add basic support for arabic. 2018-02-05 20:54:55 +01:00
twinaphex e8941ec437 Get rid of more hashes in menu_generic.c 2018-02-05 17:14:03 +01:00
twinaphex 27c6e3c5c4 (Zarch) Buildfix 2018-02-05 01:52:11 +01:00
twinaphex 3aaab43736 Should fix Emscripten build 2018-02-04 19:57:31 +01:00
twinaphex df1c131520 Prevent more Coverity warnings 2018-02-04 19:45:47 +01:00
twinaphex 3d0e768e71 Silence some Coverity errors 2018-02-04 19:30:34 +01:00
twinaphex 43a6213b68 (MaterialUI) prevent crashes when font driver is NULL 2018-02-03 16:58:37 +01:00
twinaphex 4dfda8743c (XMB) Prevent crash when no font driver loaded 2018-02-03 16:55:24 +01:00
twinaphex 204f9aa484 (360) More buildfixes 2018-01-25 15:35:07 +01:00
twinaphex 8422e44a2d Start moving d3dx fonts code to d3d_common.c 2018-01-25 14:13:21 +01:00
twinaphex 282853873b (360) Some buildfixes 2018-01-25 12:35:46 +01:00
aliaspider 8354ffd452 (D3D12) add support for scaling/rotation im menu display driver. 2018-01-25 01:34:53 +01:00
twinaphex 6bbfcdd069 Cleanups 2018-01-23 22:19:55 +01:00
twinaphex ba8050ae2c Cleanup xmb_context_reset_background 2018-01-23 21:34:54 +01:00
twinaphex 5fba9fe25a (XMB) Cleanups 2018-01-23 21:18:44 +01:00
twinaphex 3d5bb2af17 (XMB) Turn background_file_path into char pointer 2018-01-23 05:56:41 +01:00
twinaphex 86b64c34aa Make xmb->thumbnail_file_path a char pointer 2018-01-23 05:38:02 +01:00
twinaphex 0c9b4a60a2 Start reducing amount of times xmb->thumbnail_file_path is
written to
2018-01-23 05:30:41 +01:00
twinaphex a6ff88a094 Catch another edge case - this function is a mess and a minefield -
we need additional helpers to file_path.c and we need to properly
clean this up
2018-01-23 04:49:36 +01:00
twinaphex 4a7bfa463f Create tmp_new2 - avoid scenario where fill_pathname_join
tries to join itself - create path first with tmp_new2,
then copy this back to xmb->thumbnail_file_path
2018-01-23 04:40:40 +01:00
Twinaphex 7902fdafd8
Merge pull request #6155 from fr500/master
attempt to fix #6154
2018-01-23 04:31:06 +01:00
twinaphex b957e5aff4 Cleanup 2018-01-23 04:30:47 +01:00
twinaphex f36dfda328 Fix Coverity resource leak warning 2018-01-23 04:29:45 +01:00
radius fb4bf99a31 attempt to fix #6154 2018-01-22 21:48:17 -05:00
twinaphex 6a47669d21 Prevent some heap corruptions/exceptions 2018-01-23 03:41:25 +01:00
twinaphex 27f34bf420 Some stability fixes 2018-01-23 03:23:49 +01:00
twinaphex e1ec0e578c (XUI) Use new d3d format function too 2018-01-20 16:47:59 +01:00
twinaphex 897c1654ab Reduce usage of string_is_not_equal_fast 2018-01-17 01:03:48 +01:00
Brad Parker daf0b55f80 fix heap buffer overflow
==16726== ERROR: AddressSanitizer: heap-buffer-overflow on address 0x600400139d99 at pc 0x5cb4d8 bp 0x7ffc88a3a050 sp 0x7ffc88a3a048
READ of size 1 at 0x600400139d99 thread T0
    #0 0x5cb4d7 in xmb_update_savestate_thumbnail_path /home/bp/RetroArch/menu/drivers/xmb.c:1071
2018-01-16 10:32:45 -05:00
Twinaphex f4250a1ad5 Silence unused variable warnings 2018-01-05 14:13:58 +01:00
twinaphex 298e8b6326 Remove C++ comments 2018-01-02 07:13:09 +01:00
twinaphex 74120c47e7 Remove C++ comment 2018-01-02 06:20:31 +01:00
Twinaphex 88311acad3
Merge pull request #6027 from meepingsnesroms/master
Add all xmb menu options to rgui and glui, 3ds warning fix, move start directory to top of load content
2018-01-02 06:19:48 +01:00
meepingsnesroms 4f60966dd5 Make glui support disabling all menu entrys too
Also remove hide settings from non xmb drivers, I was using it wrong.
2018-01-01 15:56:48 -08:00
meepingsnesroms 657f5aa2a2 Fix copy to self causing abort on OSX 2018-01-01 15:18:24 -08:00
meepingsnesroms 7ac985e9be Add all xmb menu options to rgui and glui, 3ds warning fix, move start directory to top of load content 2018-01-01 10:38:16 -08:00
Rob Loach 6c02686f84
Revert "xmb: Add a few icons to the menu" 2017-12-31 00:20:40 -05:00
Rob Loach 0a65875956
xmb: Add a few icons to the menu 2017-12-29 02:18:40 -05:00
Rob Loach a1467346f5
theme: Add Monochrome Inverted icon theme 2017-12-28 09:10:58 -05:00
Twinaphex 321285811f
Merge pull request #5973 from RobLoach/light
XMB: Add Light theme
2017-12-28 05:40:59 +01:00
Rob Loach 60702e3871
xmb: Remove gradient on Light theme 2017-12-27 19:41:46 -05:00
Rob Loach d71a2db781
XMB: Add Light theme 2017-12-27 17:33:39 -05:00
Rob Loach b4d2ed3421
Merge branch 'xmb-font-color' of github.com:RobLoach/RetroArch into xmb-font-color 2017-12-27 17:03:52 -05:00
Rob Loach 85f9eb402e
font-color: Remove XMB from the Font Color naming scheme 2017-12-27 17:03:39 -05:00
Rob Loach 9efc0d2a78
font-color: Remove reference to config.def.h 2017-12-27 16:51:05 -05:00
Rob Loach f96b285715
font-color: Use the settings for the color 2017-12-27 16:38:36 -05:00
Rob Loach 29c9afa609
font-color: Update the font color to reflect in the menu 2017-12-27 16:21:56 -05:00
twinaphex c7c4b723d6 Move path_file_exists to filestream and do away with filestream
dependencies in file/file_path
2017-12-14 20:05:46 +01:00
Rob Loach cd2ae18ec1
Replace double quotes in thumbnail names 2017-12-12 13:08:24 -05:00
gblues 6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex 542235ffd7 (XMB) Get rid of hashes 2017-12-06 21:55:21 +01:00
radius bada13a215 let it snow 2017-12-02 22:47:44 -05:00
twinaphex 09c39a91d7 Cleanups 2017-11-27 04:49:21 +01:00
twinaphex 2dc9c8ead7 Comment out unused code 2017-11-27 04:43:13 +01:00
Rob Loach 7e7c17596d
Add Add To Favorites Playlist icon id 2017-11-25 12:51:12 -05:00
GameDragon2k cfe59bcf2a Cheevos badges 2017-11-23 08:04:54 -05:00
GameDragon2k 8b9ad28ecb channges to populate and apply badges. 2017-11-23 07:56:47 -05:00
GameDragon2k 84e80e47df Initial test for badge icon 2017-11-23 07:53:24 -05:00
Alfrix 1bd65c8f3e Add Retrosystem theme 2017-11-17 19:42:55 -03:00
twinaphex 5879e551a5 Pass video_info to font driver functions 2017-11-13 10:42:40 +01:00
rz5 0d7f9c7cf0
(xmb) De-hardcode the size of 'tabs' array
As per @bparker06's recommendation.

First element of the enum is forced to be zero, so we can add a tail to the enum that we can use to query its max length.
2017-11-06 20:20:14 +00:00
Twinaphex 5136ec2df0 Updates 2017-11-06 05:37:32 +01:00
rz5 82de482b9f
(xmb) Fixed array index out of bounds
Caught by asan:

menu/drivers/xmb.c:3491:16: runtime error: index 8 out of bounds for type 'uint8_t [8]'
menu/drivers/xmb.c:1149:23: runtime error: index 8 out of bounds for type 'uint8_t [8]'
2017-11-06 01:06:13 +00:00
twinaphex bb051f185b MSVC/C89 buildfixes 2017-10-22 05:13:22 +02:00
Brad Parker 338723bc31 fix some null pointer accesses with empty strings 2017-10-15 00:39:55 -04:00
Twinaphex 01f8e4e74f Merge pull request #5539 from Brunnis/master
XMB: Fix playlist entry graphic update issue when all system tabs except Main Menu are disabled
2017-10-12 14:08:38 +02:00
Brunnis a87cf6d2e7 Fix issue in XMB where playlist entry graphic wouldn't update when scrolling through the first playlist tab, if all system tabs except the Main Menu tab were disabled. 2017-10-12 09:49:59 +02:00
radius 840e772b16 move scissor test to nuklear driver exclusively 2017-10-11 22:48:13 -05:00
Brunnis cc3d2b0084 Merge branch 'master' into kiosk-mode-setting 2017-10-11 11:40:05 +02:00
Brunnis 39619d1245 Implemented new Kiosk Mode setting which hides all configuration related settings/tabs in XMB. 2017-10-11 11:30:53 +02:00
radius 5ccdc8811c update nuklear.h
fix window clipping
remove dead code
2017-10-10 18:08:53 -05:00
Brunnis b1a6753976 Merge branch 'master' into quick-menu-show-hide-options 2017-10-09 12:05:04 +02:00
Mikael Brunnhede e286c5dda2 Implemented new settings menu view: User Interface -> Views -> Quick Menu.
Implemented setting for showing/hiding the "Take Screenshot" option in the Quick Menu.
2017-10-09 08:14:52 +02:00
Mikael Brunnhede 83991d6c36 Implemented setting for showing/hiding the "Reboot" option in XMB. The setting is only shown on Lakka. 2017-10-06 09:40:41 +02:00
Mikael Brunnhede 9db0e9dbc6 Implemented setting for showing/hiding the "Quit RetroArch" option in XMB. The setting is only shown on Lakka. 2017-10-06 09:27:42 +02:00
Mikael Brunnhede f073d5167a Implemented setting for showing/hiding the "Help" option in XMB. 2017-10-06 08:28:45 +02:00
Mikael Brunnhede 7ee1797fa1 Implemented setting for showing/hiding the "Configurations" option in XMB. 2017-10-06 08:18:39 +02:00
Mikael Brunnhede 19b313c221 Implemented setting for showing/hiding the "Information" option in XMB. 2017-10-05 14:30:15 +02:00
Mikael Brunnhede 0eb5566dea Implemented setting for showing/hiding the "Load Content" option in XMB. 2017-10-05 09:26:25 +02:00
Mikael Brunnhede cc3b64f951 Implemented setting for showing/hiding the "Load Core" option in XMB. 2017-10-05 09:14:05 +02:00
twinaphex 032109512a Fix more Coverity errors 2017-10-04 08:37:21 +02:00
twinaphex 8238545bef Cleanups 2017-10-04 06:53:47 +02:00
Higor Eurípedes fca48021aa (xmb) Fix whitespace 2017-10-03 21:16:11 -03:00
Higor Eurípedes 6ed9f28656 (xmb) Set selection_ptr_old to zero when animations are off 2017-10-03 21:15:35 -03:00
twinaphex 79908ec8d4 Cleanups 2017-10-03 05:34:05 +02:00
Twinaphex 9c89b3e546 Merge pull request #5496 from Brunnis/master
Add setting for showing/hiding the ability to rename playlist items
2017-10-02 22:37:50 +02:00
twinaphex bb2702ef2f (Xbox) Some buildfixes 2017-10-02 22:35:06 +02:00
Mikael Brunnhede af7df0cba3 Add setting for showing/hiding the ability to rename playlist items. 2017-10-02 22:17:44 +02:00
twinaphex 721afe22d8 (MSVC 2010) Compile griffin.c as C 2017-10-02 22:06:32 +02:00
twinaphex cdb24aff1c (RGUI) Silence warning 2017-10-02 20:33:46 +02:00
twinaphex 8d850dc0bd CXX_BUILD fixes 2017-10-02 07:07:18 +02:00
Hans-Kristian Arntzen 43b4c65b1e Fix crash in MaterialUI on reinit.
Can't cache pointers. Cache the index instead.
2017-10-01 20:00:20 +02:00
twinaphex 1d960e0c42 Try to silence Coverity error 2017-10-01 18:23:40 +02:00
twinaphex 2b55e5858e Remove menu_entries_get_actiondata_at_offset 2017-10-01 17:25:41 +02:00
twinaphex e66ef15580 Remove another useless wrapper function 2017-10-01 17:17:53 +02:00
twinaphex a87bef6ed0 Remove useless wrapper function 2017-10-01 17:11:09 +02:00
twinaphex 3cac2a6df8 (MUI) Fix memory leak 2017-10-01 16:51:09 +02:00
Brad Parker a11d04f252 xmb: check that node exists before dereferencing it 2017-10-01 02:08:41 -04:00
twinaphex 849538b15c (MUI) Do texture unload before loading the new wallpaper 2017-09-30 20:03:51 +02:00