Commit Graph

3581 Commits

Author SHA1 Message Date
sonninnos e89cd8bc0b Cosmetic input bind order 2021-03-16 02:46:41 +02:00
twinaphex b8c51ed040 Remove unused variables 2021-03-15 09:32:47 +01:00
twinaphex 40ef5f7e65 Prevent calls to menu_driver_navigation_set inside menu drivers -
can just call the accompanied function internally
2021-03-15 06:56:55 +01:00
twinaphex 4e883c4568 Refactor menu_displaylist_setting away 2021-03-15 06:11:57 +01:00
twinaphex 14248f7401 (Menu) Iterate function callback was never used, remove it
- Also turn menu_driver_iterate into static function and
redesign code a bit; non-functional
2021-03-11 20:17:22 +01:00
twinaphex a6c11b5ed3 rgui_render - call menu_entries_get_size later in function
ozone_draw_entries - MENU_ENTRIES_CTL_START_GET was unnecessary to call
2021-03-11 19:48:56 +01:00
twinaphex e5045fa2e2 Simplify menu_driver_deferred_push_content_list 2021-03-11 03:49:51 +01:00
twinaphex 839a270a97 Menu refactors:
- Get rid of menu_driver_search_list_clear
- Get rid of contentlist_switch callback - was only ever one
function callback implementation
2021-03-11 03:37:19 +01:00
Autechre 9f3ea51f77
Refactors pt4 (#12126)
* Cleanups:
- menu_driver_set_id - don't pass p_rarch to function
- Ozone: call ozone_list_cache directly instead of going through
wrapper function in retroarch.c that then calls ozone_list_cache
- Some other cleanups, non-functional

* (Menu) Replace calls to menu_driver_list_cache inside retroarch.c
2021-03-11 02:58:35 +01:00
twinaphex a2031608e7 Don't use file_list_get_at_offset - access members directly 2021-03-10 09:41:49 +01:00
twinaphex 003fc7ccc8 Get rid of menu_entries_get_at_offset 2021-03-10 05:49:58 +01:00
twinaphex bbe46333e1 Cut down on menu_input_dialog_get_display_kb calls 2021-03-10 05:49:58 +01:00
twinaphex 73116f9af3 (ozone_entries.c) ozone_draw_entry_value - small cleanup 2021-03-08 15:54:53 +01:00
twinaphex 047b24cfbf (ozone_display) Don't set variable to itself 2021-03-08 15:47:03 +01:00
twinaphex db314cf5df file_list_set_userdata / file_list_set_actiondata are trivial one-line
functions - just set it directly
2021-03-07 19:30:04 +01:00
jdgleaver 20a187ef9c Add option to reset all core options for current core/content 2021-02-25 16:59:05 +00:00
jdgleaver 110e318b71 Add support for saving per-directory core options and deleting core option overrides 2021-02-25 10:54:22 +00:00
Job Adrian Salinas Gonzalez de4138b45c
[RGUI] Added 5:3 and 5:3 (centered) options for changing rgui aspect ratio (#12072)
* Added 5:3 and 5:3 (centered) options for changing rgui aspect ratio

* Fixed option label
2021-02-24 03:58:48 +01:00
twinaphex 1a9f1f6b33 gfx_display_init_first_driver was called twice, once invoked by
drivers_init, after that invoked by each menu driver's init function.
Taking the extra function call out of the menu driver's init function
2021-02-22 06:38:55 +01:00
twinaphex de29587f25 ozone_auto_select_onscreen_entry - calling menu_navigation_get_selection
here is useless since it will be overridden immediately afterwards
2021-02-20 21:58:51 +01:00
Autechre f661cc3fb5
Merge pull request #11572 from ImJezze/master
Option to open the file browser in the last used directory
2021-02-08 12:29:31 +01:00
ImJezze 270c41b35a Implement toggle to open the start directory at the last used location 2021-02-07 11:54:17 +01:00
sonninnos c89f1feb44 Reorder Mouse Index next to Device Index 2021-02-06 22:41:02 +02:00
sonninnos cd77db37df (XMB+OZONE) Proper control port icons 2021-02-06 03:13:03 +02:00
twinaphex 5187957b3d Silence some implicit conversion warnings 2021-02-03 12:34:10 +01:00
twinaphex 4df6d287e3 (Clang) Silence 'n' is never used warnings 2021-02-03 11:48:33 +01:00
twinaphex 542162c17b Silence some warnings 2021-02-03 10:39:29 +01:00
jdgleaver 01265c1b08 (XMB) Fix stack-buffer-overflow due to incorrect data type being passed by reference 2021-02-01 16:43:44 +00:00
twinaphex a772eb550d file_list_get_size - list can be NULL, in which case return 0 2021-01-21 00:24:32 +01:00
twinaphex bfd0611815 Avoid small wrapper functions like file_list_get_userdata_at_offset
in hot functions
2021-01-20 09:04:08 +01:00
twinaphex 7867c4b70e Get rid of file_list_get_size calls - one line wrapper function 2021-01-20 08:31:05 +01:00
twinaphex 9a4472266f Try to avoid hot function file_list_get_userdata_at_offset 2021-01-19 07:52:13 +01:00
twinaphex 6e2a1895f6 Simplify code 2021-01-16 21:10:49 +01:00
twinaphex 41a8661bdf Silence more implicit conversions 2021-01-16 21:03:57 +01:00
twinaphex 1b071f16f5 Silence implicit conversion warnings 2021-01-16 20:03:04 +01:00
jdgleaver b1ee5a2421 (X11) Fix mouse input when mouse is grabbed 2021-01-16 13:57:25 +00:00
jdgleaver 3a6558c2f1 (RGUI) Add Russian language support 2021-01-13 10:00:51 +00:00
OsirizX b96a0c495a [VITA] Add support for Vita GLES2 (PIGLET) 2021-01-06 19:14:30 +01:00
Autechre 1681872763
Merge pull request #11772 from fpscan/facebook-gaming
Facebook Gaming stream option
2020-12-28 21:04:09 +01:00
Jamiras 5224e97481 add confirmation submenu to achievements hardcore toggle 2020-12-26 14:15:01 -07:00
Ömercan Kömür 6256b8ca2b first 2020-12-19 15:14:14 +03:00
jdgleaver 0f0ccbadc0 (RGUI) Add support for CJK fonts 2020-12-10 15:17:26 +00:00
David Guillen Fandos a442696b71 First attempt at adding proper brightness
Supports Switch and OGA
2020-11-26 19:22:05 +01:00
jdgleaver a02fadeb94 Add 'Remove DSP Plugin' menu entry 2020-10-19 11:33:15 +01:00
twinaphex 5f8c270d4c Make update_time_callback a part of the animation struct 2020-10-15 08:35:37 +02:00
twinaphex e3972aff31 Turn variable const 2020-10-15 06:12:26 +02:00
twinaphex 379bd80cda Get rid of gfx_animation_ctl 2020-10-14 04:40:20 +02:00
twinaphex 7c48e77bcd Get rid of getter functions 2020-10-14 02:33:15 +02:00
twinaphex ac03578617 Remove some getter functions 2020-10-14 02:24:18 +02:00
twinaphex a6eaac2a84 Get rid of some static code analysis warnings 2020-10-12 00:00:54 +02:00
Autechre 38ccca18f4
Merge pull request #11429 from natinusala/ozone-wiggle-wraparound
ozone: implement wiggling for main menu when wrap-around is disabled
2020-10-10 19:02:45 +02:00
twinaphex 12c1677697 Small cleanup 2020-10-10 17:27:39 +02:00
natinusala 6619760e6f ozone: implement wiggling for main menu when wrap-around is disabled 2020-10-10 16:20:46 +02:00
twinaphex f38db9e77c Header include cleanups 2020-10-09 20:23:13 +02:00
twinaphex 8ea147c081 Turn these all static const 2020-10-09 20:18:33 +02:00
twinaphex 9ff25e1fa2 Add warning 2020-10-08 18:21:10 +02:00
twinaphex 2e94f3d5d7 move ozone_pure_white to ozone userdata 2020-10-08 18:19:50 +02:00
Autechre 8a1711dd28
Merge pull request #11419 from whorsemaster/twilight_zone_ozone
(ozone) New Theme - Twilight Zone
2020-10-08 18:04:02 +02:00
Jamiras 15af1aece5 add sublabel and icon to achievement entry of quick menu 2020-10-07 14:35:35 -06:00
whorsemaster deb13fcc4d (ozone) New Theme - Twilight Zone
new ozone theme
2020-10-05 18:17:27 -05:00
natinusala 6d1660fcbd ozone: add cursor wiggle animation 2020-10-04 19:08:42 +02:00
twinaphex 20371e5102 (gfx_thumbnail) get rid of small getters 2020-10-02 21:59:02 +02:00
twinaphex 99c239bcee (Ozone) Don't call set_alpha if alpha value is the same as last time 2020-10-02 14:38:05 +02:00
twinaphex 902647c6fe (XMB) Cleanups 2020-10-01 19:12:26 +02:00
twinaphex cecd48e6b5 gfx_display_draw_cursor - take out early return 2020-10-01 18:22:29 +02:00
jdgleaver 3bd66cc14d OpenDingux port improvements: Phase 1 2020-10-01 15:56:14 +01:00
twinaphex 6ff934bf94 Buildfix 2020-09-28 05:07:18 +02:00
twinaphex 1e61480e0a Get rid of get/set_header_height 2020-09-28 05:06:02 +02:00
twinaphex 2ca6737ec3 (XMB) doesn't use header height 2020-09-28 04:58:34 +02:00
twinaphex 03ff504aa8 Remove gfx_display_scissor_end 2020-09-28 04:04:16 +02:00
twinaphex d44ab6facf framebuffer_dirty functions - remove these and set member variables
directly in rgui.c and retroarch.c
2020-09-28 03:49:13 +02:00
twinaphex e159ba1542 Cleanups 2020-09-27 02:48:40 +02:00
twinaphex c91df88fe2 Cleanups 2020-09-26 23:39:15 +02:00
twinaphex c0470854d4 Cleanups 2020-09-26 23:33:59 +02:00
twinaphex bc43db1789 Remove gfx_display_get_coords_array 2020-09-25 10:31:07 +02:00
twinaphex c0a790e74a Buildfix for platforms that don't have widget support 2020-09-24 22:20:12 +02:00
twinaphex 8c440ef72c Optimize gfx_display_draw_keyboard 2020-09-24 09:07:47 +02:00
twinaphex eb0376fe7d Do white texture freeing outside of gfx_display_init_white_texture 2020-09-24 07:03:24 +02:00
twinaphex a74d24c3ce Rename gfx_display_allocate_white_texture to
gfx_display_init_white_texture
2020-09-24 06:46:21 +02:00
twinaphex 515e119861 Get rid of gfx_animation_get_delta_time 2020-09-24 06:14:04 +02:00
twinaphex 37237db804 GFX_DISPLAY_GET_UPDATE_PENDING - turn function into macro 2020-09-24 05:59:14 +02:00
twinaphex c040e4cd08 Cleanups 2020-09-23 22:14:30 +02:00
twinaphex 4fb2065061 Get rid of gfx_display_draw_pipeline 2020-09-23 21:56:48 +02:00
twinaphex 5a481d8653 Get rid of gfx_display_blend_{begin/end} 2020-09-23 21:37:18 +02:00
twinaphex a0ae6be35b Stop using small wrapper functions in gfx_display 2020-09-23 20:36:25 +02:00
twinaphex 43b43351fa Start making gfx_display_blend_begin and gfx_display_blend_end
unnecessary
2020-09-23 09:32:42 +02:00
twinaphex d898304ee5 Get rid of gfx_display_draw_gradient 2020-09-22 03:29:48 +02:00
valadaa48 63fd0aa461 RGUI: Add 3:2 and 3:2 (centered) aspects 2020-09-18 18:31:33 -04:00
twinaphex 3a37e13a54 Call video_driver_set_viewport directly 2020-09-15 11:05:47 +02:00
twinaphex 80e4524878 Turn menu_entry_init into macro 2020-09-13 09:03:21 +02:00
twinaphex 2e87e3bc64 (Menu drivers) Start using direct entry_action function instead
of going through wrapper functions
2020-09-13 08:48:30 +02:00
twinaphex ba9ad1057f Get rid of menu_entry_get_rich_label/menu_entry_get_value 2020-09-12 18:48:22 +02:00
twinaphex 59acce5035 (RGUI) Make sure entry_value is correct 2020-09-12 09:58:23 +02:00
twinaphex d416974f52 Backport some RGUI efficiency nits
(1499dbc0c6)
2020-09-12 09:40:32 +02:00
jdgleaver bd80f02f11 (Android/Play Store Builds) Add option to switch all installed cores to Play Store versions 2020-09-02 17:13:03 +01:00
twinaphex 0cdb710f80 Cleanups 2020-09-01 07:31:08 +02:00
twinaphex eb1ab2e429 (Ozone) Cleanups 2020-09-01 07:26:04 +02:00
twinaphex 1e842c9701 Turn this static 2020-09-01 06:31:20 +02:00
twinaphex 77f3e2b2ef (Ozone) Cleanups 2020-09-01 05:14:19 +02:00
twinaphex 0ffb988554 (Ozone) Cleanup 2020-09-01 05:11:28 +02:00
twinaphex e1f16f1855 (Ozone) remove abstraction layer ozone_draw_text - just call
gfx_display_draw_text directly
2020-09-01 05:06:21 +02:00
twinaphex 201f119c51 Rewrite ozone_draw_text 2020-08-31 04:13:23 +02:00
twinaphex 147d420885 (XMB) Cleanups 2020-08-31 04:04:37 +02:00
twinaphex 662e37f670 Replace more instances of string_split 2020-08-26 13:35:05 +02:00
twinaphex ecc54b4d4e (Menu) Put selection_buf_old on stack too 2020-08-24 16:08:09 +02:00
twinaphex b6f8acbaec (Ozone) Cleanups 2020-08-24 12:58:05 +02:00
twinaphex da210f6702 (XMB) Get rid of forward declaration 2020-08-24 12:49:16 +02:00
twinaphex e4f99dc648 (ozone) reorder structs, alignment 2020-08-24 10:47:17 +02:00
twinaphex 7a6b9fd1b2 (Ozone) Horizontal list - put on stack - it's already on heap-allocated
struct as is
2020-08-24 10:22:32 +02:00
twinaphex 93fa9a0194 Add file_list_deinitialize - does everything that file_list_free
does except for freeing the passed struct pointer
2020-08-24 01:45:45 +02:00
twinaphex 4ec216dc0b Get rid of file_path_str 2020-08-22 01:06:10 +02:00
Autechre a268c6b4a0
Merge pull request #11214 from fpscan/hacking_the_kernel
(ozone) new theme: Hacking the Kernel
2020-08-20 17:08:24 +02:00
jdgleaver 20d27df27f (GLUI) Add 'Hacking the Kernel' theme 2020-08-20 10:14:32 +01:00
Tony Jansson 1c7d8d3f31 (XMB+OZONE) Quick Menu ports: AtD icon + key labels for keyboard type 2020-08-19 17:35:15 +03:00
Ömercan Kömür a91b51156e (ozone) new theme: Hacking the Kernel 2020-08-19 15:24:47 +03:00
Autechre f4c6c26312
Merge pull request #11186 from fpscan/boysenberry-ozone
(ozone) new theme: Boysenberry
2020-08-19 12:55:56 +02:00
twinaphex dc3dc574d8 String stack size cleanups 2020-08-19 06:53:09 +02:00
twinaphex 5166eebcaf for loop cleanups - use space after 'for' 2020-08-19 03:06:22 +02:00
jdgleaver 2fd8a5b0ed (GLUI) Improve selection cursor visibility when content is running and menu background is (semi-)transparent 2020-08-18 16:38:52 +01:00
twinaphex 624a70f062 More strings being moved from heap to stack 2020-08-18 14:47:57 +02:00
twinaphex a5f3ff9c18 (RGUI) Silence warnings due to struct reordering 2020-08-18 14:31:30 +02:00
twinaphex ad7db2e2b8 Move path variables off heap size; prevent potential memory
fragmentation
2020-08-18 12:44:14 +02:00
Tony Jansson b6f37f4245 (XMB+OZONE) Use correct icons in Quick Menu control ports with keyboard device type 2020-08-15 21:47:36 +03:00
twinaphex 0eaca29c68 (RGUI) Silence warnings 2020-08-15 17:05:13 +02:00
twinaphex a8646a2610 Reorder structs, alignment 2020-08-15 00:44:35 +02:00
twinaphex e399a2f78e reorder structs, alignment 2020-08-15 00:35:15 +02:00
twinaphex eb1db52b89 Reorder structs, alignment 2020-08-15 00:11:58 +02:00
twinaphex 327d82cc1d Struct reordering/alignment 2020-08-14 22:21:05 +02:00
Autechre 7cf6d1a1cc
Merge pull request #11195 from jdgleaver/core-updater-search
Enhanced core downloader search functionality
2020-08-14 19:48:16 +02:00
twinaphex e7c63df2bc Struct reordering 2020-08-14 19:06:25 +02:00
jdgleaver 6d8f3cb182 Enhanced core downloader search functionality 2020-08-14 17:53:44 +01:00
twinaphex dffa052958 Rearrange draw struct 2020-08-14 15:58:43 +02:00
Ömercan Kömür 8fad42f3c9 (ozone) new theme: Boysenberry 2020-08-12 18:37:22 +03:00
rsn8887 6fd7dc0519 [SWITCH] Fix input bind icons being off by one line 2020-08-10 21:39:52 -05:00
jdgleaver e6000afddb (GLUI) Add optional system-specific playlist icons 2020-08-06 17:24:28 +01:00
Autechre d3eebe7c0f
Merge pull request #11148 from jdgleaver/rgui-glui-scan-content-cleanup
(RGUI/GLUI) Clean up 'scan content' menu entries
2020-08-05 18:15:33 +02:00
twinaphex cd329a259c Revert "(MaterialUI) silence some warnings"
This reverts commit db7e38fed5.
2020-08-05 16:46:10 +02:00
jdgleaver 15cf483cd9 (RGUI/GLUI) Clean up 'scan content' menu entries 2020-08-05 14:25:09 +01:00
twinaphex db7e38fed5 (MaterialUI) silence some warnings 2020-08-05 13:58:18 +02:00
Autechre 3d8ae1126a
Merge pull request #11140 from schellingb/explore_icons_glui
Support for glui showing system icons in explore view
2020-08-04 14:58:43 +02:00
Bernhard Schelling b73c3dcde0 Cleaned up icon handling of glui to properly handle external icons 2020-08-04 21:54:39 +09:00
twinaphex bafeebcd50 (Ozone) Get rid of some forward declarations 2020-08-03 22:23:48 +02:00
Bernhard Schelling 948e2f9f8e Support for glui showing system icons in explore view 2020-08-04 03:32:49 +09:00
Bernhard Schelling 5229b255b5 Show system icons in explore view 2020-08-04 02:37:34 +09:00
Twinaphex 8441f60314 Remove unused variable 2020-08-01 21:47:22 +02:00
twinaphex 3635bf0d01 Silence some warnings 2020-08-01 18:04:56 +02:00
jdgleaver 776301883c Enhanced playlist search functionality 2020-07-31 15:14:51 +01:00
jdgleaver d77f6705df Add option to hide 'Explore' tab + menu clean-ups 2020-07-29 13:01:49 +01:00
twinaphex dd524d7d35 (MaterialUI) Add placeholder Explore tab icon 2020-07-28 16:57:29 +02:00
twinaphex 4c6136d970 Stub out menu_explore.c when HAVE_LIBRETRODB is not defined 2020-07-28 12:15:05 +02:00