Commit Graph

2001 Commits

Author SHA1 Message Date
twinaphex 2c6ca88575 (XMB) Use path_is_valid instead of filestream_exists 2019-05-28 17:10:50 +02:00
jdgleaver 20aff2a05a Add optional 'on demand' thumbnail downloads 2019-05-24 12:03:26 +01:00
twinaphex a0fcb1b694 (task_image.c) Cleanups 2019-05-22 06:17:08 +02:00
twinaphex eed2ea7a99 string_is_empty check is already being done by path_is_valid/file stat
path cb function
2019-05-22 03:05:31 +02:00
radius 95dbb040b0 add restart menu option
add sublabels

Add .gitlab-ci.yml

Update .gitlab-ci.yml
2019-05-21 04:25:34 +02:00
jdgleaver 98889e1652 Ensure that displayed thumbnails are always refreshed correctly after selecting 'Download Thumbnails' from quick menu 2019-05-20 16:09:59 +01:00
jdgleaver dde0160468 (XMB/Ozone) Ensure old thumbnails are cleared when selecting playlist entry with 'broken' thumbnails 2019-05-20 12:23:55 +01:00
twinaphex ffe1ee4636 Don't use return value of menu_entries_get_title 2019-05-18 19:10:10 +02:00
jdgleaver 05c8694e1c Add 'Download Thumbnails' option to quick menu 2019-05-16 14:34:01 +01:00
twinaphex 7ea74548b1 Reduce duration of easing out bounce otherwise we get glitches 2019-05-14 14:52:40 +02:00
twinaphex 6730d05918 (XMB) Animation settings - Main Menu opening/closing, Horizontal
highlight, Move up/down
2019-05-13 09:44:52 +02:00
Twinaphex fbec6b84e8
Merge pull request #8529 from huwpascoe/mame_overlay
video_layout (mame artwork)
2019-05-13 00:42:26 +02:00
twinaphex 48142476aa (XMB) Cleanup 2019-05-12 18:07:37 +02:00
twinaphex 5c5c1ee84d (XMB) Cleanups 2019-05-12 17:44:40 +02:00
twinaphex 71feec72b4 Cleanup xmb_list_open_new 2019-05-12 07:26:53 +02:00
twinaphex 8cf34c3fe6 (XMB) Add some comments 2019-05-12 07:12:41 +02:00
Huw Pascoe 078cdd269f video_layout menus 2019-05-11 09:58:47 +01:00
twinaphex 74388d8490 Remove string_concat 2019-05-10 18:05:58 +02:00
Nathan S 775c272029 Menu widgets stuff + vulkan sanity check (#8710)
* task_screenshot: fix hang with menu widgets

* word_wrap: add max_lines parameter

* vulkan: better instance creation sanity check
2019-05-06 21:10:57 +02:00
natinusala 872e8ffb99 Fix multiple CXX warning 2019-05-04 22:24:59 +02:00
alfrix 19f3be21c2 XMB extra battery icons 2019-05-01 13:42:00 -03:00
twinaphex 9ee33a6a1d (Menu) Merge menu_entry into menu_entries.c 2019-05-01 11:41:13 +02:00
twinaphex 39eadbab6f Use string_concat in more performance critical areas 2019-04-30 21:17:51 +02:00
jdgleaver 55737ba127 Standardise menu powerstate access + add battery indicator to RGUI 2019-04-30 15:57:38 +01:00
twinaphex 4c3e0d44b8 Revert "Start using string_is_equal_memcmp and"
This reverts commit 26d6aee1eb.
2019-04-29 04:04:33 +02:00
twinaphex 26d6aee1eb Start using string_is_equal_memcmp and
string_is_equal_memcmp_fast
2019-04-28 17:23:11 +02:00
twinaphex e1b11593fc (file_list.c) Cleanups/optimizations 2019-04-27 07:32:40 +02:00
twinaphex 7201d0bf22 Revert "Use path_is_valid instead of filestream_exists where possible -"
This reverts commit 88e3abd6fd.
2019-04-26 13:46:21 +02:00
twinaphex 88e3abd6fd Use path_is_valid instead of filestream_exists where possible -
stat should be faster than fopen
2019-04-26 13:33:25 +02:00
twinaphex c854d0916b (XMB) XMB honors the 'show menu sublabels' setting now - was previously
RGUI only
2019-04-24 01:48:28 +02:00
twinaphex 6268d979c0 Cleanups 2019-04-23 19:20:49 +02:00
Mark W. Kidd 8771e5b958 use PLAYLISTS_TAB enum instead of COLLECTION_LIST 2019-03-22 08:17:31 -04:00
jdgleaver 26f7503959 (XMB) Fix display glitches when refreshing current menu 2019-03-15 11:27:49 +00:00
twinaphex 6f284a1d43 Build fix 2019-03-15 01:08:09 +01:00
twinaphex 643cd1923e CXX_BUILD / C89_BUILD buildfixes 2019-03-14 14:14:44 +01:00
jdgleaver 28bb7c67af (RGUI/XMB) Enable thumbnail display on mixed content playlists (history, favourites, etc.)
Move thumbnail path handling code to reusable menu_thumbnail_path.h/.c file

(XMB) Bug fixes:

- Show thumbnails correctly when 'Show associated cores in playlists' is enabled

- Prevent each thumbnail from being loaded twice (!) when changing current selection
2019-03-14 11:53:16 +00:00
Brad Parker 10df615d14 add "Send Debug Info" option under Help 2019-03-07 19:17:54 -05:00
Twinaphex adc9ecf4cc
Merge pull request #8335 from natinusala/master
Reintroduce menu widgets (only runloop_msg_queue for now)
2019-02-23 14:22:31 +01:00
Brad Parker 4f0d61a2ac update copyright 2019-02-22 19:13:36 -05:00
natinusala 6e20d216bd Avoid redefining the ticker spacer in each menu driver 2019-02-21 20:58:22 +01:00
orbea f4a374a209 Fix CXX_BUILD. 2019-02-15 09:36:25 -08:00
natinusala f481c594e8 menu_animation: use milliseconds as a unit 2019-02-14 19:24:31 +01:00
jdgleaver 27694b6b31 Add optional 'looping' menu text ticker 2019-02-14 15:10:07 +00:00
Twinaphex a702e0d59d
Merge pull request #8270 from alfrix/master
Use the mame thumbnail repo for all the mame playlists
2019-02-14 07:05:30 +01:00
orbea ee98a595ca xmb: Prevent crashes when resizing to a tiny window.
If the user resized their RetroArch window while using xmb it would
initiate a context_reset to scale xmb. When the window is too small
this would result in invalid pointers and a crash in the video driver.

This makes it so that when the window is too small it will skip the
context_reset and not crash. The window at this size is not really
useful to scale anyways.

Fixes https://github.com/libretro/RetroArch/issues/8260
2019-02-13 10:58:04 -08:00
Alfredo Monclus 2b5a2f0b3d Use the mame thumbnail repo for all the mame playlists 2019-02-12 13:52:53 -03:00
natinusala f3ff7f2a89 menu_animations: make animations menu independent 2019-02-08 20:02:45 +01:00
twinaphex 59ded50d59 (Menu) Add back get_load_content_animation_data 2019-02-08 08:24:33 +01:00
twinaphex 7022786f34 Revert parts of menu_widgets that were causing breakage, but leave
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01:00
natinusala c20ab3864d First version of menu widgets (gl only) 2019-02-06 20:48:24 +01:00
orbea 28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
alfrix 9d52729e70 Color back monochrome and automatic to the original color f2f2f2 2019-02-01 15:06:33 -03:00
alfrix 69e7a2dff2 Invert colors in the driver and add automatic-inverted theme 2019-02-01 15:06:33 -03:00
natinusala bf98664b15 menu_entry: hide password values 2019-01-29 10:34:58 +01:00
orbea 4722d41b0b xmb: Fix segfault when appending disk images. 2019-01-24 08:10:24 -08:00
twinaphex b13777e9fc Header cleanups 2019-01-20 03:16:58 +01:00
Twinaphex 7c4fcb4960 Fix Xcode warnings 2019-01-20 02:37:05 +01:00
twinaphex c98b2e2292 Buildfixes and more static code analysis warning fixes 2019-01-10 22:24:43 +01:00
twinaphex b74b24e648 Change to C comment 2019-01-08 20:22:44 +01:00
Twinaphex 40997473ed
Merge branch 'master' into orbis2 2019-01-08 20:18:08 +01:00
Alfredo Monclus 628fc8a690 Fix #7934 2019-01-08 07:52:17 -03:00
alfrix c92136015a a couple more icons 2019-01-06 01:03:27 -03:00
alfrix ac8d3d7a51 Simplify the icon search and handle incomplete themes better 2019-01-06 01:03:27 -03:00
alfrix e83b3adc20 More Icons 2019-01-06 01:03:27 -03:00
psxdev 11186dd5e0 [ORBIS] Workaround weird behaviour with task with bg.png in xmb 2019-01-03 21:23:44 +01:00
orbea 45c85aa6fe xmb: Don't show a black background without assets.
This also now only hides the time icon instead of the entire time
without assets.

Fixes https://github.com/libretro/RetroArch/issues/7795
2018-12-22 15:51:43 -08:00
radius c70e322496 cleanup 2018-12-21 18:19:48 -05:00
radius 6c936274b7 make file copy operation a function
add sublabels

improve localization
2018-12-16 16:55:12 -05:00
radius bfd23150b5 add core sideloading option 2018-12-16 12:42:09 -05:00
radius 45228d0307 massive subsystem cleanup & use the proper data in each instance 2018-12-10 23:01:21 -05:00
radius cad5ae287f fix https://github.com/libretro/fbalpha/issues/24#issuecomment-445803876 2018-12-10 22:09:42 -05:00
alfrix cd2d2f8807 Add icons for apply on toggle and autoapply 2018-11-30 18:10:28 -03:00
Twinaphex 4578b82027
Merge pull request #7681 from alfrix/master
Menu drivers asset handling updates
2018-11-30 09:35:06 +01:00
alfrix ab34b21f8d XMB asset handling refactors also do not show black boxes 2018-11-29 14:49:39 -03:00
M4xw 8764d7be28 [LIBNX] Implement Over-/Downclocking and minor fixes 2018-11-29 18:42:44 +01:00
twinaphex a24a788e52 Fix subsystem for ozone 2018-11-29 12:12:00 +01:00
twinaphex 2777ee2fa4 Fix memory leak 2018-11-28 09:49:28 +01:00
Twinaphex 02e7b16461
Merge pull request #7643 from fr500/subsystem
WIP: try to load subsystems without loading content
2018-11-27 18:56:41 +01:00
twinaphex 48dcd9640e Remove this 2018-11-26 01:48:26 +01:00
natinusala 94211bf833 xmb: fix hang when resizing with threaded video driver 2018-11-26 00:16:25 +01:00
twinaphex de903c650d Reinitialize context in a different way 2018-11-25 20:34:50 +01:00
radius 77faf4ac4a [subsystem] try to load subsystems without loading content 2018-11-24 23:34:51 -05:00
twinaphex 4e796ae86e (XMB) Cleanups 2018-11-25 05:29:40 +01:00
twinaphex 8be504e5e5 Don't reupload the textures all the time 2018-11-25 03:39:46 +01:00
twinaphex 0486979bc9 Should now work across core context resets 2018-11-25 03:01:41 +01:00
twinaphex 006a002f19 Revert "Should now correctly rescale after resolution changes"
This reverts commit c9bb537cdd.
2018-11-25 02:48:14 +01:00
twinaphex c9bb537cdd Should now correctly rescale after resolution changes 2018-11-25 02:45:13 +01:00
Alfrix 1356577c2e Add more icons 2018-11-24 13:21:43 -03:00
Alfrix 780d77e29e Relax the warning in XMB 2018-11-17 12:00:01 -03:00
Alfrix f4b6dcb6a1 Add missing assets warning to xmb 2018-11-17 10:34:37 -03:00
natinusala f493c114b5 ozone: fix visual issues, add fade in/out to messagebox 2018-11-14 14:18:14 +01:00
natinusala 28b415f9f2 ozone: implement bind_init 2018-11-13 12:54:06 +01:00
Twinaphex 1ef286ec7c
Merge pull request #7583 from alfrix/input_icons
Input icons (User Binds)
2018-11-12 21:53:07 +01:00
Alfrix 989ddb35a8 Cleanup 2018-11-12 00:54:24 -03:00
Alfrix 53e89f6bd1 Fix shutdown icon and add restart 2018-11-12 00:38:12 -03:00
Alfrix e5c7de8607 Input icons (User binds) 2018-11-12 00:30:09 -03:00
natinusala 20a8e1b40f ozone: fancy new cursor 2018-11-09 16:51:34 +01:00
Alfrix 0b29a93bf3 Add more icons OZONE/XMB 2018-11-08 19:43:42 -03:00
natinusala b5f869bf25 ozone: implement messagebox and OSK 2018-11-08 12:00:06 +01:00
Alfrix e1f97646ee More icons XMB 2018-11-07 15:10:13 -03:00
Alfrix a1213f372c Do not draw icons in the dropdown (only the checkmark) 2018-11-07 08:42:16 -03:00
Alfrix 2c7f24590a Add checkmark to XMB dropdown lists 2018-11-06 22:48:38 -03:00
Alfrix 6292c8ed2e Input icons (Quickmenu) 2018-11-04 17:15:30 -03:00
Alfrix 1b39b73b61 add some Lakka icons 2018-11-04 15:11:19 -03:00
radius 8f2b91d95e [cheevos] fix badges 2018-10-28 19:46:23 -05:00
Nay Slayer 6b96ff82de Fix xmb.c and stripes.c menu drivers texture memory leak 2018-10-25 19:40:24 +03:00
twinaphex 63eff7f236 Create menu_animation_get_delta_time 2018-10-17 06:55:49 +02:00
twinaphex 4692e95fd8 Refactor 'kill by tag' and 'kill by subject' 2018-10-17 06:49:24 +02:00
twinaphex 131d77875e Create menu_displaylist_setting 2018-10-17 05:33:22 +02:00
Alfrix 304b4f3f57 Use subsetting as placeholder until themes are updated 2018-10-09 20:31:19 -03:00
Alfrix fa03a634d0 New Netplay icons 2018-10-09 19:52:28 -03:00
Brad Parker 262634739c xmb: increase sublabel size limit to handle longer strings (especially CJK languages) 2018-10-08 23:29:17 -04:00
Twinaphex c29654b504
Merge pull request #7332 from grimpunch/master
Date Time setting for AM:PM as an option
2018-10-07 02:31:21 +02:00
natinusala 8250007b8e Added Lakka Switch menu entries 2018-10-06 15:44:37 +02:00
twinaphex 57c77a9a28 Silence more warnings 2018-10-04 16:32:40 +02:00
=Christian Murphy b3cf7150d5 Date Time setting for AM:PM as an option 2018-09-30 18:01:43 +01:00
Alfrix 7a66be2346 Add Recording and Streaming icons 2018-09-27 17:18:04 -03:00
twinaphex 7aea66677b Merge menu_input.c and menu_event.c 2018-09-25 16:46:15 +02:00
Twinaphex 6463f7005b
Merge pull request #7174 from stuartcarnie/sgc-metal
Fix crashes for metal; buffer overflow in xmb; Metal fullscreen issue
2018-09-02 21:55:10 +02:00
Stuart Carnie 611e484633 fix(xmb): Fix buffer overflow 2018-09-02 12:49:44 -07:00
Twinaphex d4cb24f8d1
Merge pull request #7148 from alfrix/master
Add neoactive and retroactive to menu icons
2018-09-02 03:42:03 +02:00
twinaphex 9d43f7f036 Fix French 2018-08-29 21:25:47 +02:00
Alfrix 107cc364b5 Add neoactive and retroactive to menu icons 2018-08-28 19:43:02 -03:00
Alfrix 6d1e04dd9c Cleanup 2018-08-27 10:45:07 -03:00
Alfrix aa0889ec29 Fallback to default icon in custom playlists 2018-08-27 10:43:31 -03:00
Alfrix 461dbf39ba Fix themes without menu icons 2018-08-26 20:00:36 -03:00
Alfrix 8dfeaba30b Add automatic and systematic to menu themes 2018-08-24 16:10:19 -03:00
Alfrix c39ce0e04b Add Automatic theme
It has been in the assets folder a long time by now
2018-08-23 16:41:07 -03:00
Alfrix fb15edebc3 Add Retrosystem to the support list of menu icons 2018-08-22 19:52:27 -03:00
Alfrix 947113d007 Change start core icon 2018-08-22 16:31:02 -03:00
Alfrix 8984162e0f Change Reset core association icon to undo 2018-08-21 14:19:35 -03:00
alfrix 105fba6abe XMB add an option to show desktop ui aka WIMP 2018-08-18 15:10:40 -03:00
alfrix b35914fcc0 Fix Stop Netplay Host 2018-08-13 19:41:18 -03:00
alfrix ae562614c4 Add dot-art to the supported list in the new XMB icons 2018-08-13 18:42:46 -03:00
alfrix 6e64a39044 Add icons to XMB (limited to Monochrome for now)
Add monochrome inverted to the menu icons
Allow the extra XMB icons in custom theme
Add subsettings
2018-08-13 12:37:45 -03:00
alfrix 8bbc0cb115 Cleanup 2018-08-13 12:37:45 -03:00
twinaphex 6ae4350883 (XMB) Add back XMB ribbon - was probably not meant to be removed 2018-07-22 21:18:11 +02:00
Rob Loach aba179a910
Merge branch 'master' into stripes 2018-07-22 13:30:47 -04:00
Jean-André Santoni 2a2e732a79 (Menu) Add a setting to hide the shutdown option 2018-06-23 12:01:13 +07:00
Jean-André Santoni 6868670136 (XMB) Code cleaning 2018-06-22 22:31:06 +07:00
twinaphex d27b6265a0 Add more HAVE_MPV ifdefs 2018-06-20 04:50:58 +02:00
Mikael Brunnhede 0813de0392 Hide thumbnails in Quick Menu sub-menus. 2018-06-06 23:48:07 +02:00
Mikael Brunnhede 75330a142d Implement fix for thumbnails not showing up in Quick Menu as well as "Run" menu after closing content. Also implement fix for savestate thumbnail being hidden behind boxart/screenshot thumbnails. With this fix, boxart/screenshot thumbnails are not shown on the right hand side if there is a savestate screenshot being rendered. 2018-06-05 10:51:51 +02:00
radius 0a0365e49a add menu entries 2018-05-13 22:33:06 -05:00
radius aa86d78183 add quick menu action to pause / resume hardcore mode for current session 2018-05-13 13:40:30 -05:00
Tatsuya79 0737b90080
XMB fix crash with scale factor under 100 2018-04-25 10:54:04 +02:00
Tatsuya79 d851cbf3d5 Fix console layout case. 2018-04-24 18:14:18 +02:00
Tatsuya79 31415f760a XMB PSP layout thumbnail scaling. 2018-04-24 17:47:02 +02:00
twinaphex 265ae728dd (XMB) Add XMB menu layout - ability to switch between PS3 (Console)
and PSP (Handheld) layouts
2018-04-24 07:38:53 +02:00
twinaphex af351932bd (XMB) Cleanups 2018-04-24 07:19:29 +02:00
twinaphex 5370c59201 Cleanups/style nits 2018-04-23 12:03:50 +02:00
twinaphex bac0d22ce9 Create menu_display_osk_ptr_at_pos 2018-04-23 11:58:18 +02:00
twinaphex 8bc3283bd5 Create menu_display_draw_keyboard 2018-04-23 11:42:55 +02:00
twinaphex f8ccf50fd4 Make materialui_render_keyboard and xmb_render_keyboard identical 2018-04-23 11:36:15 +02:00
twinaphex 54ec4e47e8 Silence another warning 2018-04-23 11:31:39 +02:00
twinaphex a7ad6e2024 (XMB) Add icons for shader/shader presets 2018-04-18 08:22:01 +02:00
Ryunam 712a2fcc1d Add toggle to show/hide Playlist tabs 2018-04-17 17:53:24 +02:00
twinaphex 1836d08b33 Revert "Start passing around menu_driver_data around properly"
This reverts commit 7c314a9165.
2018-04-11 06:12:14 +02:00
twinaphex 6c99acb23e Revert "Pass around void pointer data - menu handle"
This reverts commit b4a2bd5156.
2018-04-11 06:11:54 +02:00
twinaphex fdffb7059d Revert "Less pointer grabbbing - reduce usage of RARCH_MENU_CTL_DRIVER_DATA_GET"
This reverts commit fbf03df8be.
2018-04-11 06:11:45 +02:00
twinaphex fbf03df8be Less pointer grabbbing - reduce usage of RARCH_MENU_CTL_DRIVER_DATA_GET 2018-04-10 19:57:33 +02:00
twinaphex b4a2bd5156 Pass around void pointer data - menu handle 2018-04-10 19:32:50 +02:00
twinaphex 7c314a9165 Start passing around menu_driver_data around properly 2018-04-10 19:17:51 +02:00
twinaphex 6e299065ce Remove RARCH_MENU_CTL_PLAYLIST_ calls - use playlist_init_cached,
playlist_get_cached, and playlist_free_cached from now on (defined
in playlist.h) - no more menu dependencies on cached playlists
2018-04-10 17:51:40 +02:00
twinaphex 00da860681 Cleanup 2018-04-10 16:34:33 +02:00
twinaphex f3e0a627af Get rid of one MSVC warning 2018-04-09 19:11:06 +02:00
twinaphex f00a75ec84 Get rid of some spurious code in XMB - catched by Clang 2018-04-09 17:02:44 +02:00
Twinaphex 08a54e45f2 Get rid of a lot of implicit conversions 2018-04-09 15:56:45 +02:00
Jean-André Santoni 7601b740cc [stripes] Remove ribbon 2018-04-08 10:49:02 +07:00
Tatsuya79 299c808e22 Shorten text when 2nd thumb is on the right. 2018-04-06 22:47:49 +02:00
Tatsuya79 de080151cc Remove excessive blend calling. 2018-04-06 16:25:32 +02:00
Tatsuya79 1fadc2e148 Fix image preview sometimes on both thumbs. 2018-04-06 00:59:35 +02:00
Tatsuya79 e78aedbb6c
undo copyright change 2018-04-05 17:08:33 +02:00
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
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
markwkidd e373d82a58 cherry-pick menu code for core association reset 2018-03-22 13:27:37 -04:00
Rob Loach ddb0f81cf2
xmb: Add Morning Blue theme 2018-03-11 20:37:49 -04:00
twinaphex 14e6d42935 (XMB) Get rid of some unnecessary pointer passing 2018-03-06 15:55:06 +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 ae6e410de1 Remove unused variables 2018-03-01 22:28:26 +01:00
Tatsuya79 4ab8fb9423 Dynamic Scaling Mod. 2018-02-27 19:01:15 +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 35f1c9ba33 (menu display driver) Get rid of remaining pointer grabbing 2018-02-16 19:42:13 +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
aliaspider 45580cb9a8 add basic support for arabic. 2018-02-05 20:54:55 +01:00
twinaphex 3d0e768e71 Silence some Coverity errors 2018-02-04 19:30:34 +01:00
twinaphex 4dfda8743c (XMB) Prevent crash when no font driver loaded 2018-02-03 16:55:24 +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 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 298e8b6326 Remove C++ comments 2018-01-02 07:13:09 +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 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
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
Brunnis 39619d1245 Implemented new Kiosk Mode setting which hides all configuration related settings/tabs in XMB. 2017-10-11 11:30:53 +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
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 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
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 1d960e0c42 Try to silence Coverity error 2017-10-01 18:23:40 +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
Brad Parker a11d04f252 xmb: check that node exists before dereferencing it 2017-10-01 02:08:41 -04:00
twinaphex 455b202142 Fix another Coverity error 2017-09-30 17:09:52 +02:00
twinaphex b46f2ba35f Fix Coverity error 2017-09-30 17:05:26 +02:00
twinaphex 4dd6c7fac7 Fix crash 2017-09-30 16:55:50 +02:00
twinaphex 2a8b74eeb9 Fix some Coverity errors 2017-09-30 16:52:41 +02:00
twinaphex b0de197da4 Memset this variable 2017-09-30 07:43:37 +02:00
twinaphex e376bd75c0 Fix crash with savestate thumbnails 2017-09-30 07:10:58 +02:00
twinaphex 638a441530 (XMB) Be safer 2017-09-30 06:40:54 +02:00
twinaphex 94fdf314f2 Cleanup conditionals 2017-09-30 06:11:18 +02:00
twinaphex d6b385d0b8 Try to be more safe 2017-09-30 05:08:11 +02:00
Twinaphex 66de49c987 Fix memory leaks and crashes 2017-09-29 21:19:07 +02:00
twinaphex f398f44253 Rewrite xmb_draw_item 2017-09-29 21:00:56 +02:00
twinaphex 238de4aa57 Prevent memory leak 2017-09-29 20:56:54 +02:00
twinaphex 7f80ecbe93 (XMB) xmb_free - prevent memory leaks 2017-09-29 19:57:23 +02:00
twinaphex 8e01424450 Refactor and rewrite big char arrays 2017-09-29 19:55:06 +02:00
twinaphex efde859e17 Rewrite menu_entry_get_rich_label 2017-09-29 18:46:53 +02:00
twinaphex 9c90f97792 No longer use menu_entry_alloc 2017-09-29 18:37:04 +02:00
twinaphex 05d5def6c2 Simplify xmb_draw_item 2017-09-29 18:12:17 +02:00
twinaphex 51d98ef0c0 (XMB) Reduce stack usage 2017-09-29 16:54:57 +02:00
twinaphex 8bf741257c (XMB) Reduce stack usage 2017-09-29 16:47:30 +02:00
twinaphex dc11a02e61 Cleanup 2017-09-29 16:34:20 +02:00
twinaphex b2932d5270 Split up function into two - create xmb_draw_item 2017-09-29 16:32:30 +02:00
twinaphex 5379b12e7c FIx some new Coverity errors 2017-09-29 05:39:06 +02:00
twinaphex 270f35753a reorder XMB variables 2017-09-28 08:42:12 +02:00
twinaphex dfe6035ade Put menu_entry_t on heap inside xmb_draw_items 2017-09-28 07:26:43 +02:00
twinaphex f914a91944 Use menu_entry_get_type_new 2017-09-28 07:15:29 +02:00
twinaphex c5255b1bff Simplify menu_entry_get_rich_label 2017-09-28 06:19:34 +02:00
twinaphex 2f10fd14d6 Create menu_entry_init/menu_entry_free 2017-09-28 06:02:14 +02:00
twinaphex bb6e4a6633 xmb_draw_items - small cleanups 2017-09-28 05:37:19 +02:00
twinaphex a616fa16f3 Small cleanups 2017-09-28 05:00:22 +02:00
twinaphex 7633141bd6 Try to prevent potential memory leak 2017-09-28 03:53:48 +02:00
twinaphex 8b5f8d8c64 menu_displaylist_info - rewrite path 2017-09-28 03:06:54 +02:00
twinaphex 08ecfc74ec Rewrite info.label 2017-09-28 02:45:03 +02:00
twinaphex 72f42b602f menu_displaylist_info - reduce stack usage - exts no longer
a fixed size path
2017-09-28 01:38:05 +02:00
Mikael Brunnhede a1e9027fe2 Added XMB menu option to show the Settings tab if it has previously been hidden. 2017-09-26 14:41:07 +02:00
twinaphex a532ef3cea (XMB) Prevent memory leak 2017-09-12 04:47:37 +02:00
twinaphex a25f9d291e (XMB) Reduce stack usage 2017-09-12 04:37:58 +02:00
twinaphex 632225ee73 Reduce stack usage 2017-09-11 04:40:35 +02:00
twinaphex ea5538d955 (XMB) Reduce stack size cleanups 2017-09-11 02:37:53 +02:00
twinaphex f722e26167 Cleanups 2017-09-10 23:22:09 +02:00
twinaphex 155d6a23b9 Start using menu_displaylist_info_free 2017-09-10 22:57:26 +02:00
twinaphex 6ec9d643f6 (XMB) Reduce size of sysname 2017-09-09 07:59:53 +02:00
Twinaphex 6d65c5157a remove unused variables 2017-09-09 07:22:25 +02:00
twinaphex 8e53ce6184 (XMB) Get rid of for loops for iterating over shadow coordinates 2017-09-09 06:52:49 +02:00
twinaphex 03009d618e Get rid of loop inside xmb_frame 2017-09-09 06:48:31 +02:00
twinaphex ca32013665 Reduce size of some variables 2017-09-08 23:09:16 +02:00
twinaphex 582b688121 Silence some warnings for PS3 2017-09-06 00:21:20 +02:00
Brad Parker 8d525f711a msvc2003 buildfixes 2017-09-03 23:39:25 -04:00
twinaphex 80dc96a8fb CXX_BUILD buildfix 2017-09-04 03:49:23 +02:00
Higor Eurípedes 455349880e (xmb) Fix crash when browsing to small lists 2017-09-03 18:06:38 -03:00
Higor Eurípedes eac68b9d41 (xmb) Limit selection_buf_old to visible items 2017-09-03 16:30:45 -03:00
Higor Eurípedes 6c7a354822 (xmb) Remove xmb->menu_stack_old 2017-09-03 14:51:14 -03:00
twinaphex 67710daf4b Fix initialization from incompatible pointer type 2017-09-03 15:45:18 +02:00
Higor Eurípedes 718eeb4a39 (xmb) Fix memleak
Due to file_list_free()'s behavior of free()ing userdata as if it was a
simple, contiguous structure xmb_node_t's fullpath member wasn't being
free()'d.
2017-09-03 10:25:15 -03:00
Higor Eurípedes a7e6b02107 (xmb) Refactor xmb_copy_node()
xmb_node_t is nowhere as big as it used to be, so copying is fine now.
2017-09-03 10:19:03 -03:00
Higor Eurípedes 65ec1e973a (xmb) Add xmb_free_list_nodes()
Fixes some node->fullpath memleaks.
2017-09-03 09:48:31 -03:00
Higor Eurípedes 1a1e5047e8 (xmb) Fix crash while scanning 2017-09-02 20:21:02 -03:00
Higor Eurípedes 4bfc8f8243 (xmb) Fix crash when toggling the menu 2017-08-31 14:52:54 -03:00
Higor Eurípedes f521a32c00 (xmb) Don't animate more than needed when switching lists 2017-08-30 22:23:29 -03:00
Higor Eurípedes bd96c75bfe (xmb) Make xmb_node_t smaller
Each xmb_node_t instance used over 4KiB of memory even when it didn't
need to. In big list like MAME (30+ thousand entries) RetroArch would
consume over 100MiB (4096 bytes * 30000) just to hold all xmb_node_t
instances.
2017-08-29 22:19:19 -03:00
Higor Eurípedes 70b6f951d3 (xmb) Uncomment xmb_calculate_visible_range() call
I tested the other drivers quickly and the previous commit did not
affect them, so I'm enabling this again.
2017-08-22 22:00:14 -03:00
Alex e5adb1056c (XMB) Regression Fix thumbnail ahead OSK overlay 2017-08-20 06:38:23 +02:00
Higor Eurípedes 6bc5cd302a (xmb) Comment out visible item calculation in xmb_draw_items()
Fixes a regression where fading animations didn't render if you were far
into the previous list. This happened because "current" has an incorrect
value thanks to a menu_navigation_set_selection(0) call in
menu_cbs_left.c:162
2017-08-19 11:01:27 -03:00
Higor Eurípedes aaecf82608 (xmb) Skip drawing the fading list when it is already transparent 2017-08-18 22:33:38 -03:00
Jean-André Santoni 6940019102 (XMB) Icon for the rename action 2017-08-18 18:30:31 +07:00
Higor Eurípedes 0d59994c42 (xmb) Only iterate over visible items in xmb_render() 2017-08-17 21:36:48 -03:00
Higor Eurípedes ea9991f749 (xmb) Detect non-visible items before drawing 2017-08-17 21:36:48 -03:00
Higor Eurípedes db48561289 (xmb) Fix crash 2017-08-15 21:34:49 -03:00
twinaphex 0d86027cd5 (RGUI) Add Load Content -> Favorites 2017-08-16 01:10:27 +02:00
twinaphex ef79711837 (MaterialUI) Hook up framebuffer opacity 2017-08-15 22:43:09 +02:00
twinaphex db24e4da42 Try to avoid countless string_is_equal function calls
being called multiple times per frame render - prebake
these decisions instead inside list_insert
2017-08-15 04:33:36 +02:00
Rob Loach 7c54cebfb3
Merge branch 'master' of github.com:libretro/RetroArch into favorites 2017-08-13 21:20:22 -04:00
Rob Loach e324b4a074
Reorder the View settings 2017-08-13 19:10:09 -04:00
Rob Loach 8e0e99ba66
Add Show Favorites sublabel 2017-08-13 18:44:50 -04:00
Jean-André Santoni c9ad8cd1f9 (XMB) Display the small add-favorite icon 2017-08-14 00:12:55 +02:00
Higor Eurípedes 950b77c0ca (xmb) Speed up xmb_list_insert() and xmb_deep_copy() a bit
This replaces calloc() and memcpy() calls with custom functions to
handle xmb_node_t allocation and copy optimized for the common case.
2017-08-12 22:30:22 -03:00
Higor Eurípedes 9f760af6c6 Menu improvements (#5288)
* (menu_animation) Stop KILL_BY_SUBJECT asap

* (xmb) Don't query mouse/pointer state so many times per frame
2017-08-12 22:53:56 +02:00
Jean-André Santoni f1ccd29e77 (XMB) Display the favorite icon for content 2017-08-12 17:27:31 +02:00
Jean-André Santoni 61cc899867 (XMB) Display the favorites tab, part 1 2017-08-12 16:37:20 +02:00
twinaphex dad0fcbbe8 Get rid of the conditionals 2017-08-11 01:20:57 +02:00
twinaphex 22139dc4a0 Turn menu_animation_ctx_tag into typedef 2017-08-11 01:16:21 +02:00
twinaphex 4e66ec28cb Some more truncation fixes 2017-08-10 23:19:54 +02:00
twinaphex 16f59aba96 Some C89_BUILD fixes 2017-08-10 21:38:57 +02:00
Jean-André Santoni 05558697ca (Lakka) Fix Online Updater 2017-08-09 15:16:27 +02:00
Higor Eurípedes 8d358899df (xmb) Fix segfault when entering certain lists 2017-08-08 22:34:54 -03:00
Higor Eurípedes c0cb042998 (xmb) Improve responsiveness while browsing horizontally 2017-08-08 21:05:00 -03:00
twinaphex 56733c6f18 (xmb) deep list copy - Use malloc instead of calloc 2017-08-07 00:14:37 +02:00
twinaphex 7c1d3991f8 Some C89 buildfixes 2017-08-06 17:12:57 +02:00
Twinaphex ba31285160 Merge pull request #5172 from RobLoach/horizontalperf
Allow Toggling the XMB Horizontal Animation
2017-08-06 16:08:59 +02:00
Brad Parker 6b369775cf add unicode-aware option for word_wrap (only needed for xmb) 2017-08-06 03:33:13 -04:00
radius d560660bdc add room type in the title 2017-07-24 20:52:27 -05:00
radius e09075dc25 Add RetroArch version and use different icons for different room types 2017-07-24 20:13:52 -05:00
Rob Loach 7d71746b21
Add Horizontal Animation configuration 2017-07-14 15:11:27 -04:00
Rob Loach 24107229fc
Remove horizontal slide animation for XMB 2017-07-14 14:49:41 -04:00
Jean-André Santoni e08089de48 Fix Lakka updater 2017-06-21 14:16:19 +02:00
twinaphex 66fc9e6a06 Add menu_show_online_updater 2017-06-20 01:42:28 +02:00
Conn 78339ae67c xmb: fix incorrect wallpaper alpha blending 2017-06-19 16:38:09 +01:00
Conn f413b23f06 xmb: enable menu transparency support when emulation is paused (v2)
Allow xmb menu driver transparency when "Pause when menu activated" is enabled (default setting).
This is also the default behaviour of the rgui driver and is helpful for users to preview
video/shader changes on the fly.

Issues fixed:

gfx/video_driver: enable menu transparency only when game is loaded (as a loaded core can display
                  black or corrupt image)
gfx/video_driver: don't clobber cached frame during driver reinit if game was loaded
                  (fixes missing menu background/paused foreground on full screen toggle)
menu/drivers/xmb: ensure transparency is applied when game is loaded and no shader pipeline active.
menu/menu_driver: explicitly apply transparency only for existing textures (i.e. wallpapers), to
                  avoid background of cores with no content yet loaded mixing with wallpaper.
2017-06-02 02:55:59 +01:00
twinaphex 44b4a4e028 Revert "xmb: enable menu transparency support when emulation is paused"
This reverts commit 17d0037bd5.
2017-06-01 17:21:55 +02:00
Conn 17d0037bd5 xmb: enable menu transparency support when emulation is paused
Allow xmb menu driver transparency when "Pause when menu activated" is enabled (default setting).
This is also the default behaviour of the rgui driver and is helpful for users to preview
video/shader changes on the fly.

Issues fixed:

gfx/video_driver: enable menu transparency only when game is loaded (as a loaded core can display
                  black or corrupt image)
gfx/video_driver: don't clobber cached frame (fixes missing background on full screen toggle)
menu/drivers/xmb: ensure transparency is applied when game is loaded and no shader pipeline active.
menu/menu_driver: explicitly apply transparency only for existing textures (i.e. wallpapers), to
                  avoid background of cores with no content yet loaded mixing with wallpaper.
2017-05-31 23:45:16 +01:00
twinaphex 449483206f Revert "New attempt to fix memory leaks of struct retro_system_info"
This reverts commit a1d3dd69dd.
2017-05-30 01:44:49 +02:00
twinaphex a1d3dd69dd New attempt to fix memory leaks of struct retro_system_info
char variables
2017-05-29 22:24:10 +02:00
Jean-André Santoni 710e912aca (XMB) Code cleaning 2017-05-29 21:00:00 +02:00
Jean-André Santoni 66bfdc9408 (XMB) draw_thumbnail refactoring 2017-05-29 20:58:29 +02:00
twinaphex 39f1441b7c (XMB) Small optimizations 2017-05-29 01:46:57 +02:00
twinaphex 66f056322a Fix pointer overflow 2017-05-28 17:53:45 +02:00
twinaphex 3fbed8df27 (Menu) Menu driver no longer uses a duplicate system info
struct
2017-05-28 17:21:57 +02:00
twinaphex 9438545bca Add music tab for non-ffmpeg enabled builds now; add 'Run'
and 'Add to mixer' options when selecting Ogg/WAV files
2017-05-27 23:56:10 +02:00
twinaphex 3e8234ab38 Cleanups 2017-05-27 19:13:22 +02:00
twinaphex a626a30098 Turn menu_display_set_alpha into macro 2017-05-27 16:52:52 +02:00
twinaphex 09ddd9ddcf Cleanups 2017-05-27 16:31:47 +02:00
twinaphex 74f202bbda (Menu) Cleanups 2017-05-26 20:12:52 +02:00
Jean-André Santoni 9e1c426a3a Use the new netplay room list in place of the old netplay menu 2017-05-25 17:35:14 +02:00
twinaphex 6b57791b0a Don't show up empty entries if there are no playlists 2017-05-23 10:46:42 +02:00
aliaspider dd5bc1a951 (WiiU) fix icon scaling in XMB. 2017-05-22 07:34:30 +01:00
Jean-André Santoni 80f06b9574 Display thumbnails for Load Content->Collections 2017-05-21 15:08:56 +02:00
Jean-André Santoni 7197255211 (XMB) Fix dialog slice on 320x240 viewports 2017-05-21 09:55:50 +02:00
twinaphex 16996aad6d Make thumbnail show too for IMAGEVIEWER type 2017-05-19 18:45:59 +02:00
twinaphex 59fb7700b8 Combine menu_driver.c and menu_display.c 2017-05-19 15:25:14 +02:00
twinaphex 9096038e20 Correct set_thumbnail_system/set_thumbnail_content functions 2017-05-17 09:32:17 +02:00
twinaphex ee8dc151a3 Combine menu_driver.c and menu_navigation.c 2017-05-17 03:00:32 +02:00
twinaphex 8eca08c6ac Start using string_is_equal_fast/string_is_not_equal_fast macros
instead of straight memcmp
2017-05-16 03:20:59 +02:00
twinaphex 7bf34c48a9 Cal xmb_list_get_selection only once 2017-05-15 19:00:24 +02:00
Jean-André Santoni 17837ec81d Display thumbnails in the Database Manager 2017-05-15 13:05:33 +02:00
twinaphex 1fef134f04 Create menu_driver_navigation_set 2017-05-15 07:56:22 +02:00
twinaphex 0185f71bab Cleanups 2017-05-13 23:47:25 +02:00
twinaphex dd79c9a236 Pass is_idle to menu driver render function 2017-05-13 21:06:06 +02:00
twinaphex 42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
aliaspider 5a16b61ec5 XMB: unload thumbnail textures in xmb_context_destroy. fixes #3141 2017-05-03 14:14:35 +01:00
aliaspider 0310b67927 use strlen and not utf8len for the len parameter passed to
get_message_width. fixes #4873.
2017-05-03 03:09:01 +01:00
twinaphex a5d7bedb8a Pass video_is_threaded variable to menu driver init function 2017-04-29 17:27:54 +02:00
twinaphex 5f6a342817 Pass param 2017-04-29 17:19:29 +02:00
twinaphex b515cd10f1 Pass video_is_threaded to context_reset 2017-04-29 17:16:05 +02:00
twinaphex e6ab06a701 Move path variables 2017-04-29 00:39:29 +02:00
twinaphex 05e4ec733e Move uint variables 2017-04-28 21:03:04 +02:00
twinaphex 7bbd20b31d Move int settings 2017-04-28 19:12:48 +02:00
twinaphex ed53be7c81 Move all bool settings 2017-04-28 14:11:34 +02:00
twinaphex a54af2f2c1 Prevent implicit memset 2017-04-27 01:27:02 +02:00
twinaphex 25c8baeefe menu drivers will have their own frame count; this fixes the
tickering issues with threaded video mode
2017-04-23 18:42:12 +02:00
twinaphex 7ea0528c6b Turn MENU_NAVIGATION_CTL_{SET|GET}_SELECTION into separate
functions
2017-04-23 14:31:49 +02:00
twinaphex 8e6b7a2751 Rewrite menu_entries function 2017-04-23 13:46:21 +02:00
twinaphex 6ebd4e139e Rewrite more string_is_equal call invocations as memcmp 2017-04-22 08:51:16 +02:00
twinaphex f9bc2d3783 Use memcmp instead of string_is_equal where possible for
better performance
2017-04-21 22:47:15 +02:00
Rob Loach 157fbeccb5
Add Font Text Color settings 2017-03-12 10:33:06 -04:00
twinaphex 2be88a44ed (XMB) Fix 2017-02-28 04:50:07 +01:00
Jean-André Santoni 64a11ca0f4 (XMB) Allow hidding the netplay tab 2017-02-27 23:32:24 +01:00
Jean-André Santoni 834087d1ad (XMB) Use a tab styled icon for the netplay tab 2017-02-27 22:48:27 +01:00
Jean-André Santoni 46c153a0fe (XMB) Move netplay to the left of Add Tab 2017-02-27 22:36:45 +01:00
Jean-André Santoni 15001a87d3 (XMB) Use a texture slice for dialogs 2017-02-27 20:34:17 +01:00
Twinaphex 216e7bcdaf Silence more warnings on iOS 2017-02-26 21:46:19 +01:00
Twinaphex b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
Jean-André Santoni 1cccfa09fb (Menu) Fix core option ON/OFF buttons 2017-02-21 19:54:55 +01:00
Brad Parker 75a96b10bb add 9-slice texture draw function and selectable texture filter type 2017-02-14 11:04:21 -05:00
Twinaphex 962cf6b076 Revert "Allow normal Battery/Clock icon sizes [WIP]" 2017-02-08 20:02:26 +01:00
Rob Loach 1ef482d6df
Apply icon scaling to the battery and clock icons 2017-02-07 21:48:18 -05:00
Rob Loach 0963431c6a
Add Dot-Art theme 2017-01-30 21:13:44 -05:00
twinaphex 5326bcf814 Backport lakka patch retroarch-08-osk-perf.patch 2017-01-29 03:57:45 +01:00
twinaphex d9ee401305 (XMB) Cut down on function calls 2017-01-26 03:46:05 +01:00
twinaphex 9f294ec99f (xmb) Move global variable 2017-01-25 22:50:39 +01:00
twinaphex 31fab19797 Cleanups 2017-01-25 18:43:04 +01:00
twinaphex d0d55ffaa1 Add HAVE_NETWORKING ifdefs 2017-01-23 01:30:50 +01:00
radius 45514e60a7 console build fix 2017-01-22 17:57:49 -05:00
Twinaphex 3ff158b907 Merge pull request #4436 from fr500/lobby
Basic lobby system (don't merge, just for tracking)
2017-01-22 21:08:43 +01:00
twinaphex 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex 0be6264796 Get rid of more settings pointer grabbing 2017-01-20 15:33:47 +01:00
twinaphex 526072ccdf Cut down on menu_display_libretro_running usage 2017-01-20 14:25:00 +01:00
twinaphex 2f175f1a15 Remove video_driver_get_size call in gfx/drivers_font 2017-01-19 22:03:59 +01:00
twinaphex dd2839686b (XMB) Fix OSK 2017-01-19 21:37:13 +01:00
radius 95a2da81e4 start adding ui elements to insert room list into 2017-01-18 22:46:48 -05:00
twinaphex 832840f91c Cut down on more video_driver_get_size calls 2017-01-19 01:33:47 +01:00
twinaphex 24e0542bdb (menu) reduce calls to video_driver_get_size 2017-01-19 00:09:38 +01:00
twinaphex 00adc9a2d3 Rewrite menu_display_unset_viewport 2017-01-19 00:01:55 +01:00
twinaphex afd4494c2f (menu_driver.c) Get rid of video_driver_get_size call 2017-01-18 23:59:22 +01:00
twinaphex c5445d2980 Reduce amount of times video_driver_get_size is called 2017-01-18 23:02:24 +01:00
twinaphex dc19649802 Reduce dependence on video_driver_get_frame_count 2017-01-18 21:40:56 +01:00
twinaphex bf511b72e6 Create menu_driver_frame 2017-01-18 21:23:18 +01:00
Brad Parker 8cdfa75b48 set ints to 0 instead of NULL 2017-01-17 18:44:29 -05:00
Brad Parker a220815b40 fix race condition in frame count with video_threaded on 2017-01-17 18:42:58 -05:00
twinaphex da044da3b4 Create menu_animation_push 2017-01-17 16:53:06 +01:00
twinaphex df783daab9 Create menu_animation_get_ideal_delta_time 2017-01-17 16:37:03 +01:00
twinaphex bfb124a60e Create menu_animation_ticker 2017-01-17 16:29:23 +01:00
Jean-André Santoni dc4140a00b (GLUI) Word wrapping for sublabels 2017-01-17 15:21:59 +01:00
Brad Parker e1f4db8081 Win2000 buildfixes 2017-01-16 20:41:08 -05:00
Jean-André Santoni a9c3837cdb Display image thumbnail in the menu background selector 2017-01-17 01:02:48 +01:00
twinaphex 864df4f55d Move local variable 2017-01-16 23:38:46 +01:00
twinaphex ef974086aa Split up menu OSK code to separate file - menu/widgets/menu_osk.c 2017-01-12 11:31:24 +01:00
Jean-André Santoni 4bc04f7b28 Hide sublabels on super small screens like the one of Gamegirl 320x240 2017-01-11 01:24:50 +01:00
Jean-André Santoni d08fa66ff1 Also display image thumbnails in the file browser 2017-01-10 23:26:07 +01:00
twinaphex 1b13c9b9fc Fix xmb_draw_text regression 2017-01-09 23:11:05 +01:00
twinaphex fbb7dbd36b Add pipeline.active to menu_display_draw_ctx_t 2017-01-09 17:22:28 +01:00
twinaphex 1e60376e7c Simplify menu_display_draw_bg - take out XMB-specific code out of
menu_display.c
2017-01-09 16:55:46 +01:00
twinaphex 02dfda3ad3 Create menu_animation_update 2017-01-09 16:39:09 +01:00
twinaphex 52a0592a4d (XMB) Style nits 2017-01-09 16:26:50 +01:00
twinaphex 179831174d (xmb.c) Cleanups - don't grab settings pointer everywhere 2017-01-09 16:00:53 +01:00
twinaphex 61a8638d4c Fixes ribbon row offset issues 2017-01-08 04:16:13 +01:00
twinaphex c8bc6c7120 (XMB) Add Bokeh menu pipeline 2017-01-08 03:56:47 +01:00
twinaphex 9d9a5e71ab (XMB) Set fullpath dir for each node entry 2017-01-07 18:32:55 +01:00
twinaphex 4e037cbe68 (XMB) 'Menu wallpaper' - Show images in aesthetically pleasing way 2017-01-07 17:10:29 +01:00
twinaphex 1d43224f7e (xmb.c) header cleanup 2017-01-05 07:42:35 +01:00
twinaphex 1fa08e327b Silence some warnings about uninitialised values 2017-01-04 09:15:11 +01:00
twinaphex 876a68717e We don't need enum_idx for task_push_image_load 2016-12-30 05:33:04 +01:00
twinaphex 6a166faa0c Revert "Remove supports_rgba varaible from image_texture.c"
This reverts commit bd0c97fdc4.
2016-12-29 22:53:10 +01:00
twinaphex bd0c97fdc4 Remove supports_rgba varaible from image_texture.c 2016-12-29 22:39:52 +01:00
Ryunam c80d1e8242 Add toggle to show / hide Import Content tab on XMB 2016-12-24 18:45:15 +01:00
twinaphex 3639011ed4 (XMB) Cleanup 2016-12-24 01:44:30 +01:00
Jean-André Santoni fe0e458ba9 Move shutdown at the bottom of the main menu 2016-12-23 22:12:50 +01:00
twinaphex 0382f3ccd3 (XMB/MaterialUI) Hide mouse cursor after roughly 3 seconds
of inactivity
2016-12-23 22:12:30 +01:00
Brad Parker 0551e2dea8 move win32 check to frontend driver 2016-12-21 09:34:57 -05:00
Brad Parker 0008e9a046 win32 check was in wrong place 2016-12-20 23:34:46 -05:00
Brad Parker 3449324ab4 move battery level to the right of the clock 2016-12-20 09:44:29 -05:00
Brad Parker d20f45c9d4 make battery level check into a task 2016-12-20 09:18:07 -05:00
Brad Parker 1f450834ed unknown battery level on windows should not be displayed 2016-12-20 01:25:32 -05:00
Brad Parker 1942d29a33 battery placement 2016-12-19 19:06:19 -05:00
Jean-André Santoni 9e50b6fc44 Improve the battery placement again 2016-12-20 01:03:06 +01:00
Jean-André Santoni 24a34229a6 Improve the battery placement again 2016-12-20 00:55:21 +01:00
Jean-André Santoni ce27d38d0e Fix battery placement 2016-12-20 00:47:18 +01:00
Brad Parker f0fc61be32 fix for non-incrementing difference in timer 2016-12-19 18:42:23 -05:00
Brad Parker 5945b8d888 always show battery level, not just when it actually updates 2016-12-19 18:03:31 -05:00
Brad Parker 51b9886586 add timer to check battery level every 30 seconds 2016-12-19 15:49:11 -05:00
Brad Parker 1e5c675702 adjust scaling/positioning for new battery icons 2016-12-19 15:31:10 -05:00