Commit Graph

3363 Commits

Author SHA1 Message Date
Twinaphex b884bc6e7f Merge pull request #1174 from lakkatv/xmb
(Lakka) Remove Main Menu from the settings list
2014-10-21 00:15:05 +02:00
Jean-André Santoni 7908389077 (Lakka) Remove Main Menu from the settings list 2014-10-21 00:13:34 +02:00
twinaphex a14bfdfca2 Don't use variables named 'bind' and 'index' 2014-10-20 23:41:01 +02:00
Twinaphex f3d04f0fde (XMB) Cleanups 2014-10-20 23:08:58 +02:00
Twinaphex 4378ccefcb (XMB) Fix unused variable(s) warnings 2014-10-20 21:53:16 +02:00
twinaphex 42bb37816e Take file_path.h include out of file.h 2014-10-20 21:51:04 +02:00
Jean-André Santoni a639e6163d (Menu) Performance improvement, prevent drawing the menu texture when using a GL menu driver 2014-10-20 21:26:55 +02:00
Twinaphex b4c6715eb0 Merge pull request #1172 from lakkatv/xmb
(XMB) Horizontal animations using file_list cache
2014-10-20 20:06:17 +02:00
Jean-André Santoni 630b5fa320 (XMB) Horizontal animations 2014-10-20 20:00:39 +02:00
Jean-André Santoni d1df2828a7 (Menu) Cache the lists and pointers on OK and CANCEL 2014-10-20 20:00:10 +02:00
Jean-André Santoni 0227602ce5 (Menu) Add cache for selection_buf and menu_stack 2014-10-20 19:56:50 +02:00
Jean-André Santoni 4bdc3a2818 (Menu) Add cache for selection_ptr 2014-10-20 19:56:18 +02:00
Jean-André Santoni 2f988c300b (Menu) Make disp_set_label work with any file_list 2014-10-20 19:54:55 +02:00
twinaphex def41a573f Avoid using 'index' for local variables 2014-10-20 19:18:18 +02:00
twinaphex bbadaf1911 Replace index variable name 2014-10-20 04:37:52 +02:00
Twinaphex 7c45f48965 Clean up unused variable 2014-10-20 02:55:31 +02:00
Jean-André Santoni 99111c2633 (XMB) Fix the offset bug in populate_entries 2014-10-20 01:51:00 +02:00
twinaphex 2050162817 menu_entries_cbs.c - cleanups 2014-10-19 22:42:23 +02:00
twinaphex 3c0dade671 (menu_entries_cbs.c) Remove unused code 2014-10-19 22:39:52 +02:00
aliaspider 10c2784c02 fixes game screen sometimes not showing in combination with some shaders
and menu drivers using GL.
note: this still doesnt fix the game screen not showing when
pause_libretro is set to true.
2014-10-19 21:24:29 +01:00
twinaphex d33a666753 Remove input_bind_device_id code 2014-10-19 19:45:56 +02:00
twinaphex 829060886d Take out more unused input file list settings code 2014-10-19 06:02:11 +02:00
twinaphex 2758646c4b Take out more no-longer needed input settings 2014-10-19 05:51:48 +02:00
twinaphex c99602d72d (menu_entries_cbs.c) Take out unused code 2014-10-19 05:49:37 +02:00
Toad King 0047aa9aaf add fast scrolling to settings menus 2014-10-18 20:38:46 -05:00
Jean-André Santoni 6afddd8261 (XMB) Fix depth animation 2014-10-18 16:49:51 +02:00
Jean-André Santoni 87df98661f (XMB) Display core icon 2014-10-18 16:26:02 +02:00
Jean-André Santoni 24a150cfce (XMB) Typo 2014-10-18 16:04:14 +02:00
Jean-André Santoni 2d3c5aec6f (Menu) Fix menu_entries_parse_list not calling populate_entries 2014-10-18 14:52:32 +02:00
Jean-André Santoni 21db7b262a (Menu) Adjust margins 2014-10-18 14:51:50 +02:00
Twinaphex 9f60f8f28e (OSX) Fix default bundle_path in environment_get function 2014-10-18 04:36:35 +02:00
twinaphex a4f1e9d075 Add ST_INT to menu_action_handle_setting 2014-10-18 04:20:52 +02:00
twinaphex d86e83db15 Turn menu_list_push calls into menu_list_push_stack 2014-10-18 02:37:53 +02:00
twinaphex 73b070b782 Rewrite menu_list_get_size functions 2014-10-18 02:32:59 +02:00
twinaphex c465d25859 (Menu) Refactor menu_list_get_last_stack 2014-10-18 01:59:16 +02:00
twinaphex cef2de6a70 Rewrite menu_list_get_actiondata_last_stack 2014-10-18 01:53:50 +02:00
twinaphex 46f9b325f8 Refactor menu_list_pop_stack functions 2014-10-18 01:44:06 +02:00
twinaphex 3931134924 Rewrite menu_list_flush_stack_* functions - first parameter
becomes menu_list_t *
2014-10-18 01:39:05 +02:00
twinaphex 3b384926b8 (XMB) Build fix 2014-10-18 01:30:43 +02:00
Twinaphex cee30ab29e Merge pull request #1163 from lakkatv/xmb
(XMB) Fix core list display
2014-10-18 01:29:57 +02:00
twinaphex d921061af8 menu_list_push_stack_ * functions now take in a menu_list_t *
parameter for 1st param instead of file_list_t *
2014-10-18 01:24:37 +02:00
Jean-André Santoni 51ff4b52a8 (XMB) Fix core list display 2014-10-18 01:24:14 +02:00
twinaphex e3894e7b9c Start using menu_list_new/menu_list_free 2014-10-18 01:17:00 +02:00
twinaphex ac61e0de3d (Menu) Create menu_list_new 2014-10-18 00:11:42 +02:00
twinaphex ed6fc11e95 Start adding menu_list struct and menu_list_free function 2014-10-17 23:52:36 +02:00
twinaphex b49bcf1541 Rename menu_list_free to menu_list_destroy 2014-10-17 23:49:13 +02:00
twinaphex f3ec94246c (Menu) Add menu_list_sort_on_alt 2014-10-17 23:46:53 +02:00
twinaphex 9bce38426c Add menu_list_set_alt_at_offset and menu_list_get_alt_at_offset 2014-10-17 23:43:53 +02:00
twinaphex 744e87f14d (Menu) Use menu_list_get_size 2014-10-17 23:38:30 +02:00
twinaphex e1e5f2af5d Create menu_list_get_action_data_at_offset 2014-10-17 23:32:40 +02:00
twinaphex 101680fd58 Create menu_list_get_at_offset 2014-10-17 23:28:33 +02:00
twinaphex 1ece7c8228 (Menu) Create menu_list_get_last_stack and menu_list_get_last 2014-10-17 22:53:30 +02:00
twinaphex 43d330fa47 Create menu_list_get_last and menu_list_get_last_stack 2014-10-17 22:41:20 +02:00
twinaphex 25efe98704 Create wrapper function menu_list_push_stack_refresh 2014-10-17 22:29:59 +02:00
twinaphex 4c6aff67f2 Refactor menu_entries_push into menu_list_push_refresh 2014-10-17 22:25:23 +02:00
twinaphex 1daf8c354e (menu_list.c) Add menu_list_get_size and menu_list_get_stack_size 2014-10-17 21:41:45 +02:00
Alcaro 77a131b0f9 Fix warning. It looks invalid, but that code is indeed weird. 2014-10-17 21:37:02 +02:00
twinaphex 858d859d3d Properly namespace menu_navigation.c functions 2014-10-17 21:25:33 +02:00
twinaphex 3164aebab7 Properly namespace functions in menu_entries.c 2014-10-17 21:06:48 +02:00
twinaphex 8da8447b28 Move menu_flush_stack_type to menu_list.c and rename it
menu_list_flush_stack
2014-10-17 21:02:44 +02:00
twinaphex b4cebd605e Refactor menu_entries_pop_stack 2014-10-17 20:55:41 +02:00
twinaphex 2de0775213 Rename menu_entries_pop_list into menu_list_pop_stack 2014-10-17 20:47:32 +02:00
twinaphex 0e2c108a8a Create menu_list_push_stack 2014-10-17 20:44:22 +02:00
twinaphex 687f593174 Create menu_list.c 2014-10-17 20:36:02 +02:00
Twinaphex 0132581ebc (OSX) Move code over to platform_apple.c 2014-10-17 17:05:27 +02:00
twinaphex c53632be81 Start implementing action OK for ST_BIND 2014-10-17 07:11:51 +02:00
twinaphex f901c2967f Revert "(Apple) Implement apple_content_loaded"
This reverts commit 861f9d14cd.
2014-10-17 05:27:54 +02:00
Twinaphex 861f9d14cd (Apple) Implement apple_content_loaded 2014-10-17 04:58:05 +02:00
twinaphex 7b2deee502 Rename playlist_push to history_playlist_push 2014-10-17 04:33:44 +02:00
twinaphex 7adcbc7311 Move rarch_playlist_push to frontend.c 2014-10-17 04:32:56 +02:00
twinaphex 3190b50e94 Move Content History Size option to Playlist Options 2014-10-17 04:27:12 +02:00
twinaphex 0f5161d621 Add History List Enable option 2014-10-17 04:17:28 +02:00
twinaphex d3b27fd888 Add content_loaded callback to frontend context driver 2014-10-17 03:55:16 +02:00
twinaphex d31c903ada (menu_action.c) menu_action_handle_setting - cut down on code duplication 2014-10-17 02:02:23 +02:00
twinaphex f518da61bf (menu_action.c) Cut down on code duplication 2014-10-17 01:37:17 +02:00
twinaphex 8d4fdd9e24 Implement call to populate_entries at the end of menu_entries_parse_list 2014-10-17 01:18:20 +02:00
Twinaphex 3b3b990796 Add early return to menu_environment_get in case wrap_args
is NULL
2014-10-17 00:28:03 +02:00
Twinaphex c0b85ba34a Make apply_deferred_settings more robust when it's being called
when exiting
2014-10-17 00:21:02 +02:00
twinaphex 278d8abd11 Rename MENU_FILE_SWITCH to MENU_FILE_PUSH 2014-10-16 18:29:19 +02:00
twinaphex e49cad7b68 Implement action start callback for ST_PATH and ST_DIR 2014-10-16 18:07:57 +02:00
twinaphex be5914d006 (menu_action.c) Cleanups 2014-10-16 17:57:42 +02:00
twinaphex bd1d8e65bc Implement action start callback for ST_PATH 2014-10-16 17:55:24 +02:00
twinaphex be4c043735 Cleanup menu_action.c 2014-10-16 17:19:48 +02:00
twinaphex 97f26dfae1 (menu_action.c) Get rid of some code duplication 2014-10-16 08:35:44 +02:00
twinaphex 34915aefce Add RARCH_CMD_PERFCNT_REPORT_FRONTEND_LOG 2014-10-16 08:31:10 +02:00
twinaphex ab78b8a4cd Reimplement disk_options_disk_index_toggle 2014-10-16 07:41:29 +02:00
twinaphex 4f0d124793 Don't include stdio.h where not needed 2014-10-16 07:27:42 +02:00
twinaphex fe1a083580 Revert "Simplify menu_common_type_is"
This reverts commit 395dc79f6c.
2014-10-16 07:15:35 +02:00
twinaphex 5ae79ef71d (menu_common_backend.c) Refactor some code 2014-10-16 06:52:25 +02:00
twinaphex 58b3540ef0 (menu_common_backend.c) Add MENU_ACTION_SELECT to menu_common_iterate 2014-10-16 06:49:09 +02:00
twinaphex 9537d5d2e9 Add some more sanity checks in menu_entries.c 2014-10-16 06:42:17 +02:00
twinaphex b6f6871b1c push_main_menu_list - add early return if setting is NULL 2014-10-16 06:39:22 +02:00
twinaphex ffc6b2f6c3 Reduce calls to menu_common_type_is 2014-10-16 06:01:59 +02:00
twinaphex 32944aac12 Revert "Better scrolling acceleration"
This reverts commit 975abe8bc4.
2014-10-16 04:37:20 +02:00
twinaphex 975abe8bc4 Better scrolling acceleration 2014-10-16 04:32:33 +02:00
twinaphex 395dc79f6c Simplify menu_common_type_is 2014-10-16 04:25:38 +02:00
twinaphex e371d598df (menu_common_backend.c) - Cleanups 2014-10-16 03:55:20 +02:00
Twinaphex 443a11a52b Get rid of unused variable warning 2014-10-16 03:17:44 +02:00
twinaphex 253d8e0da9 Properly split up callbacks 2014-10-16 02:53:35 +02:00
twinaphex 823884a508 Properly implement other start actions as well 2014-10-16 02:15:05 +02:00
twinaphex 4a581078fa Refactor more toggle functions to be action_start functions 2014-10-16 02:01:40 +02:00
twinaphex b9338a0067 Implement action OK callback for video resolution 2014-10-16 01:41:10 +02:00
twinaphex c488562755 Remove action_ok callbacks that are functionally the same as
MENU_ACTION_RIGHT
2014-10-16 01:38:06 +02:00
twinaphex 4f45bf694c MENU_ACTION_OK actions need to be functionally unique from MENU_ACTION_RIGHT 2014-10-16 01:36:39 +02:00
twinaphex 92d1d57b9f Implement action OK callbacks properly 2014-10-16 01:34:57 +02:00
twinaphex 8d68031ec4 Properly clean up function pointers in menu_common_list_delete 2014-10-16 00:53:10 +02:00
twinaphex fbc3abb621 Refactor push_list into static function push_main_menu_list 2014-10-15 22:13:17 +02:00
twinaphex 65c048b611 Reimplement deferred push input options 2014-10-15 22:10:41 +02:00
twinaphex 4d189d38c9 Reimplement deferred push for category 2014-10-15 22:04:02 +02:00
twinaphex 9f314ef50d Reimplement shader parameter deferred push callbacks 2014-10-15 22:01:15 +02:00
twinaphex 8174fdfb9a Reimplement deferred_push_disk_options 2014-10-15 21:54:51 +02:00
twinaphex 1d31ffe3e3 Reimplement deferred_push_input_options 2014-10-15 21:52:02 +02:00
twinaphex 0fd812049c Reimplement deferred_push_settings 2014-10-15 21:38:30 +02:00
twinaphex ac8093ecbf Reimplement deferred_push_performance_counters 2014-10-15 21:34:48 +02:00
twinaphex 280730638d Cleanup push_list 2014-10-15 21:30:20 +02:00
twinaphex ed7bda43ca Reimplement core_information deferred push 2014-10-15 21:29:06 +02:00
twinaphex b3b56fd995 Reimplement deferred core list push 2014-10-15 21:18:27 +02:00
twinaphex 8aff0fc34a Reimplement deferred push for core_counters and frontend_counters 2014-10-15 21:11:43 +02:00
twinaphex fad3cbdb50 Remove menu_parse_check 2014-10-15 21:04:21 +02:00
twinaphex a7c49cc3dc Move core options to deferred push callback 2014-10-15 20:52:02 +02:00
twinaphex 110d802319 (Menu) Move disk_options to deferred push callback 2014-10-15 20:50:20 +02:00
twinaphex 1f5276ee62 Start getting rid of menu_parse_check 2014-10-15 20:47:43 +02:00
twinaphex 426bff2041 Simplify menu_common_type_is 2014-10-15 20:41:51 +02:00
twinaphex b443a032f6 Reimplement menu_parse_checkx 2014-10-15 20:39:11 +02:00
twinaphex eb347b0d4e Reimplement deferred core list push list 2014-10-15 20:13:21 +02:00
twinaphex 6b12a9fed2 Turn if conditional into else if for history_list deferred push 2014-10-15 19:53:00 +02:00
twinaphex 0b8beb8874 Get rid of unnecessary 'change' boolean variable in apply_deferred_settings 2014-10-15 19:45:44 +02:00
twinaphex 1834bad53c Simplify menu_common_type_is 2014-10-15 19:44:01 +02:00
twinaphex fbeb79504a Move history_list to deferred push callback too 2014-10-15 08:22:28 +02:00
twinaphex 53804dfa16 (Menu) Implement deferred push callback 2014-10-15 08:04:10 +02:00
twinaphex 78c136b218 Start setting the stage for deferred push callback 2014-10-15 07:40:19 +02:00
twinaphex 28b5826cde Return setting->action_toggle 2014-10-15 06:47:43 +02:00
twinaphex 459e4fa0d2 Move more settings callbacks over to settings_data.c 2014-10-15 06:46:00 +02:00
twinaphex 368e3455f9 Make menu_action_setting_driver a static function 2014-10-15 06:01:36 +02:00
twinaphex 5636414e31 Refactor Lakka action code 2014-10-15 05:57:15 +02:00
twinaphex bb3caf7005 Get rid of static inline function 2014-10-15 05:51:00 +02:00
twinaphex c0113bef6a Cleanups to menu_action_handle_settings 2014-10-15 03:34:20 +02:00
Twinaphex 6ffd0d2ea7 platform_apple.c - Fix warnings 2014-10-15 03:14:57 +02:00
Twinaphex ff72ddebdd menu_entries.c - cleanups 2014-10-15 03:12:19 +02:00
twinaphex 2210932e90 Turn menu_action_setting_apply into static function 2014-10-15 03:06:44 +02:00
twinaphex 23b69085d3 Move code over to menu_entries_cbs.c 2014-10-15 03:05:21 +02:00
twinaphex d7a216e889 Get rid of fallback action in menu_action_setting_set 2014-10-15 03:02:43 +02:00
twinaphex 2c15e652f9 Move more shader setting code to menu_entries_cbs.c 2014-10-15 02:34:43 +02:00
twinaphex df922034aa Move shader parameter setting toggle code to menu_entries_cbs.c 2014-10-15 02:07:30 +02:00
twinaphex ea8808a63e Cleanup 2014-10-15 01:58:55 +02:00
twinaphex 5eed703d64 Cleanups 2014-10-15 01:23:13 +02:00
twinaphex aa4cc4f4a2 Move menu_entries_set_current_path_selection to menu_entries.c
and make it static
2014-10-15 01:14:35 +02:00
twinaphex 0ab30f4409 Turn menu_action_handle_setting into a static function 2014-10-15 01:04:37 +02:00
twinaphex 9ade7b5245 Add action OK fraction callbacks 2014-10-15 00:56:20 +02:00
twinaphex 88aa5e62e3 Implement action OK for ST_UINT settings 2014-10-15 00:47:38 +02:00
Jean-André Santoni d724d59d60 (XMB) Folder, file and archive icons 2014-10-14 23:05:53 +02:00
Twinaphex c06a549bfe (XMB/Lakka) Silence some warnings 2014-10-14 22:37:01 +02:00
Twinaphex ffb9047961 menu_action.c - Fix 'declaration shadows global variable' 2014-10-14 22:11:44 +02:00
twinaphex b16ce98e34 menu_action.c - cleanups 2014-10-14 22:10:18 +02:00
twinaphex 5506674c69 settings_list.c - Add action OK callback 2014-10-14 22:02:42 +02:00
Twinaphex 97567a5c9a (lakka.c) Silence some warnings 2014-10-14 19:43:29 +02:00
twinaphex 24ac566fbb menu_entries_cbs.c was not including menu_entries_cbs.h header 2014-10-14 19:40:52 +02:00
Twinaphex b38c5c6cab Get rid of some 'no previous prototype for function' warnings in lakka.c and rgui.c 2014-10-14 18:54:59 +02:00
twinaphex 8e0e93d844 (menu_shader.c) Build fix 2014-10-14 18:53:41 +02:00
Twinaphex 16a9cb338d (menu_action.c) Fix 'declaration shadows a global variable' warning 2014-10-14 18:48:35 +02:00
Twinaphex 4ff31b9357 (menu_shader.c) Fix 'declaration(s) shadows variables in local/global scope' warnings 2014-10-14 18:46:40 +02:00
Twinaphex 40f97cde13 (gl_common.c) Fix declaration shadows a variable in global scope warning 2014-10-14 18:30:22 +02:00
Lioncash 4bd2c6b786 rgui: Fix potential memory leak 2014-10-14 00:31:55 -04:00
Twinaphex b940ca9b79 (RGUI) Get rid of unused variable 2014-10-13 23:52:59 +02:00
Lioncash c5512dbd5b xmb: Fix a potential memleak 2014-10-13 17:30:39 -04:00
Lioncash 14189c08a2 frontend: Fix possible memory leaks in lakka, rgui, and rmenu 2014-10-13 16:58:53 -04:00
Twinaphex c7733f705b Merge pull request #1141 from lioncash/menu
menu_animation: Fix a guard against realloc
2014-10-13 20:41:03 +02:00
twinaphex 26ceac8bf7 Should fix remaining SRAM issues 2014-10-13 19:40:40 +02:00
Lioncash 73b9452a16 menu_animation: Fix a guard against realloc 2014-10-13 13:31:52 -04:00
Mike Robinson a94bf32f89 Apply deferred settings before freeing settings list
Deferred settings were getting lost on exiting the settings menu.
2014-10-13 04:30:12 +01:00
twinaphex 750ac33b8d Add 'Cycle Tray Status' option 2014-10-13 05:30:14 +02:00
Twinaphex 2df870f7d0 (menu_settings_iterate) clean up unused variable 2014-10-13 05:02:42 +02:00
twinaphex 54d6a73b72 disp_set_label = set type_str to '\0' by default 2014-10-13 04:33:48 +02:00
twinaphex c46242f637 (RGUI and friends) Assign more label room for history list 2014-10-13 04:28:29 +02:00
twinaphex 4f97781f42 Cleanup some code in menu_action.c 2014-10-13 04:02:53 +02:00
twinaphex 467a5144c4 Get rid of obsolete log 'Gets here' 2014-10-13 03:32:43 +02:00
twinaphex 15201318da Reimplement custom bind mode setting 2014-10-13 03:32:22 +02:00
twinaphex 481c5ce9d4 Start hooking up Disk Options -> Disk Index again 2014-10-13 03:26:44 +02:00
twinaphex b623b42615 Rename menu_entries_push_list to push_list 2014-10-13 03:01:59 +02:00
twinaphex 681c082a67 Cleanup info_screen_iterate 2014-10-13 02:56:14 +02:00
twinaphex 83442ee467 Cleanups - grab pointer to menu_filelist_cbs_t only once and then
pass it around in menu_common_iterate
2014-10-13 02:15:45 +02:00
twinaphex d2f5d39259 Rename menu_parse_and_resolve to menu_entries_deferred_push 2014-10-13 02:10:27 +02:00
twinaphex 503329c9a6 Make menu_entries_push_list static 2014-10-13 02:08:39 +02:00
twinaphex e3807b87f7 Cut down on menu_entries_push_list 2014-10-13 02:03:36 +02:00
twinaphex 9f9978c0a2 Refactor action_ok_push_history_list 2014-10-13 01:42:10 +02:00
twinaphex 58f16896c8 Have to resort to this to have detect core working properly
again for zipped archives
2014-10-13 00:37:27 +02:00
Jean-André Santoni 50bda012ed (Lakka) Fix FBO 2014-10-13 00:21:23 +02:00
Jean-André Santoni e4e892efad (XMB) Fix navigation_clear regression 2014-10-12 23:53:37 +02:00
twinaphex 94110ea997 Add bool pending_push parameter to menu_clear_navigation 2014-10-12 23:44:10 +02:00
twinaphex 5f8fb88d19 Revert "start reducing calls to menu_clear_navigation"
This reverts commit 202b1e2006.
2014-10-12 23:36:54 +02:00
twinaphex 202b1e2006 start reducing calls to menu_clear_navigation 2014-10-12 23:31:04 +02:00
twinaphex f52c79e197 menu_shader_manager_setting_toggle - rename id to type 2014-10-12 22:16:10 +02:00
twinaphex e11abc3f76 (Menu) Reimplement deferred_core list without needing need_refresh 2014-10-12 21:55:59 +02:00
twinaphex 789ef212a5 Cleanups in menu_common_backend.c 2014-10-12 21:38:24 +02:00
twinaphex 10602ee796 (menu_common_backend.c) Get rid of some unnecessary header includes 2014-10-12 21:23:48 +02:00
twinaphex 97d41dae64 (XMB) Get rid of some unneeded header includes 2014-10-12 21:21:43 +02:00
twinaphex adb9e392ed (glui.c) Get rid of some unnneeded header includes 2014-10-12 21:20:31 +02:00
twinaphex cc3c116868 (lakka.c) Get rid of some unneeded header includes 2014-10-12 21:19:36 +02:00
Twinaphex 8793508779 Merge pull request #1135 from lakkatv/xmb
(Menu) Fade on search
2014-10-12 21:00:39 +02:00
Jean-André Santoni e27ed089f5 (Menu) Fade on search 2014-10-12 20:58:48 +02:00
Twinaphex b38e7718a5 Merge pull request #1134 from lakkatv/xmb
(Menu) Ticker line
2014-10-12 20:38:10 +02:00
Jean-André Santoni 3f7af3d164 (Menu) Remove the unwanted vertical animation on screen switch 2014-10-12 20:34:55 +02:00
Jean-André Santoni e0a33a9b3c (Menu) Ticker line 2014-10-12 20:30:19 +02:00
twinaphex 23c3ae3d79 Get rid of some unnecessary header includes in rgui.c 2014-10-12 20:25:12 +02:00
twinaphex f1511e76f1 (Menu) Add missing extern C namespaces for C++ builds 2014-10-12 20:22:33 +02:00
twinaphex b1eb0e6493 Reduce header includes in menu_common_backend.c 2014-10-12 20:17:12 +02:00
twinaphex fae308d1f9 (menu_common_backend.c) Cut down on some code duplication 2014-10-12 20:15:02 +02:00
twinaphex bbb28c06e6 (Menu) Implement action_start callback as well 2014-10-12 20:11:45 +02:00
twinaphex 0245be3193 Refactor remaining toggle functions 2014-10-12 19:45:38 +02:00
Twinaphex 61fd8b38dc Merge pull request #1133 from lakkatv/xmb
(Menu) Use a scale factor, fix shader color
2014-10-12 19:21:40 +02:00
Jean-André Santoni 16c9cf2698 (Menu) Use a scale factor, fix shader color 2014-10-12 19:22:01 +02:00
twinaphex 528cb1dd60 Move core_setting_toggle to menu_entries_cbs.c as static function 2014-10-12 19:21:19 +02:00
twinaphex 896bff00cc Change menu_common_core_setting_toggle to be bindable to cbs->action_toggle 2014-10-12 19:18:37 +02:00
twinaphex e71486a9bf Start implementing toggle actions in menu_entries_cbs.c 2014-10-12 19:13:42 +02:00
twinaphex 1196e3b4eb (menu_common_backend.c) Indenting nits 2014-10-12 18:59:28 +02:00
twinaphex c3f9bd022b Move menu_parse_list up 2014-10-12 18:37:35 +02:00
Twinaphex d15d7c9e8f Merge pull request #1132 from lakkatv/xmb
(Menu) Fix transparent overlay when displaying messages with pause_libre...
2014-10-12 18:24:26 +02:00
Jean-André Santoni 6ffa9b1f08 (Menu) Fix transparent overlay when displaying messages with pause_libretro 2014-10-12 18:22:51 +02:00
twinaphex 7643445862 Create menu_parse_list 2014-10-12 18:15:03 +02:00
twinaphex 752fb8e472 (menu_common_backend.c) Indenting nits 2014-10-12 18:01:07 +02:00
twinaphex b1e636a1ff (XMB) Same here 2014-10-12 17:56:32 +02:00
twinaphex 2d42c43d52 (Lakka) Don't use unsafe strcpy anywhere in codebase 2014-10-12 17:55:09 +02:00
twinaphex 2fc208ed57 Reduce code duplication in menu_load_or_open_zip_iterate 2014-10-12 17:53:01 +02:00
twinaphex da821ead36 Get rid of unnecessary conditional in menu_settings_iterate 2014-10-12 17:50:01 +02:00
twinaphex 71978000b4 (Menu) Hook up action OK for help screen 2014-10-12 17:46:08 +02:00
twinaphex aefe0f00e6 (Menu common backend) Simplify menu_action_ok 2014-10-12 17:37:37 +02:00
twinaphex cb5cea205a (Menu) Some cleanups 2014-10-12 17:30:04 +02:00
twinaphex 38e671dd8f (menu_entries.c) Small nits 2014-10-12 07:03:58 +02:00
Twinaphex 8a2535f547 Merge pull request #1131 from lioncash/leak
glui: Fix potential memory leak
2014-10-12 06:27:48 +02:00
Lioncash de1de54ef6 glui: Fix potential memory leak 2014-10-12 00:25:18 -04:00
Twinaphex 76d003dc77 Merge pull request #1130 from aliaspider/master
use menu_set_navigation after a keyboard search instead of modifying
2014-10-12 06:16:41 +02:00
twinaphex d824279198 Move more code over to menu_entries_cbs.c 2014-10-12 05:36:54 +02:00
twinaphex 7a1851f80c (menu_common_backend.c) cleanups 2014-10-12 05:24:52 +02:00
twinaphex dce09587ba Move more settings over to menu_entries_cbs.c 2014-10-12 05:15:36 +02:00
aliaspider a3cef5ec38 use menu_set_navigation after a keyboard search instead of modifying
menu->selection_ptr directly.
2014-10-12 04:03:22 +01:00
twinaphex 170fbdc494 Move more settings over to menu_entries_cbs.c 2014-10-12 05:01:52 +02:00
twinaphex 3c7919ec51 Get rid of HAVE_SHADER_MANAGER definition in menu_common_backend.c 2014-10-12 04:45:31 +02:00
twinaphex 6dcef65dba Get rid of menu_parse_check function call in menu_action_ok 2014-10-12 04:43:43 +02:00
twinaphex c8e121173a Move MENU_FILE_PLAIN action OK handling over to menu_entries_cbs.c 2014-10-12 04:41:33 +02:00
twinaphex 17035b82c5 Create action_ok_set_path in menu_entries_cbs.c 2014-10-12 04:21:08 +02:00
twinaphex 57ef160288 Refactor menu_entries_cbs_init_bind_ok 2014-10-12 04:16:39 +02:00
twinaphex 3440b97b4d (menu_entries_cbs.c) Implement action_ok_config_load 2014-10-12 04:11:41 +02:00
twinaphex aa1e56fd29 Move menu_action_ok of MENU_FILE_DIRECTORY and MENU_FILE_CARCHIVE
over to menu_entries_cbs.c
2014-10-12 04:06:36 +02:00
twinaphex ad9e618ec6 Reimplement menu_action_ok - MENU_FILE_CORE actions 2014-10-12 03:57:03 +02:00
Twinaphex 7ee79593a4 Merge pull request #1129 from lakkatv/xmb
XMB
2014-10-12 03:26:13 +02:00
Jean-André Santoni 7be7205880 (XMB)(Lakka)(GLUI) Do not display png background when a content is launched if pause_libretro is false 2014-10-12 03:24:12 +02:00
Twinaphex 6ef0abedcb Merge pull request #1128 from mprobinson/drivers-reinit
Fix use-after-free
2014-10-12 03:17:07 +02:00
twinaphex 2dadf9fc10 Reimplement MENU_FILE_USE_DIRECTORY 2014-10-12 03:14:03 +02:00
Mike Robinson f99f8c7beb Fix use-after-free
label was freed at menu_entries.c:263, so do comparison first.
2014-10-12 02:11:08 +01:00
twinaphex 82d1168622 (Menu) Move more actions over to menu_entries_cbs.c 2014-10-12 03:01:16 +02:00
Jean-André Santoni a0dfe75028 (XMB) responsive 2014-10-12 02:52:33 +02:00
Twinaphex 78e58e4a0f Merge pull request #1127 from lakkatv/xmb
(XMB) use PNG background if present
2014-10-12 02:36:15 +02:00
Jean-André Santoni fa53784f9a (XMB) use PNG background if present 2014-10-12 02:35:50 +02:00
twinaphex 6bf74b1bd2 (Menu) Fix playlist pushing issue 2014-10-12 02:31:25 +02:00
twinaphex df67181e3b Split up bind_ok into bind_ok and bind_ok_toggle in case this
becomes an issue later
2014-10-12 02:16:26 +02:00
Twinaphex 19149d85c5 Merge pull request #1126 from lakkatv/xmb
(XMB) Start implementing xmb_populate_entries
2014-10-12 02:01:31 +02:00
twinaphex ea29099e0a Start moving menu_action_ok over as well 2014-10-12 02:00:24 +02:00
twinaphex c4d9642bf4 Reimplement history_list action OK 2014-10-12 01:51:55 +02:00
twinaphex 3562f3e499 (menu_entries_cbs.c) - Cleanups 2014-10-12 01:39:13 +02:00
twinaphex 65bfe816d0 (Menu entries cbs) Move another setting over 2014-10-12 01:32:05 +02:00
twinaphex 4dade7cc0b (Menu entries cbs) Move another entry over 2014-10-12 01:27:53 +02:00
Jean-André Santoni fd667aa6c7 (XMB) Start implementing xmb_populate_entries 2014-10-12 01:27:31 +02:00
twinaphex d09d0eb0bf Implement action_ok for one function already 2014-10-12 01:23:41 +02:00
twinaphex 48e2c62e10 Add stub menu_entries_cbs.c/menu_entries_cbs.h 2014-10-12 00:45:42 +02:00
twinaphex c6e12f4806 (Menu) Implement stub actiondata callbacks for menu common backend 2014-10-12 00:33:17 +02:00
twinaphex 6de130a94b (Menu) Add action_data to file_list_t and add callbacks to menu
backend driver
2014-10-12 00:10:44 +02:00
twinaphex add2f96bac (Menu) Reimplement MENU_ACTION_REFRESH 2014-10-11 23:54:29 +02:00
twinaphex 8207c925e9 Revert "(menu_entries.c) Reduce calls to file_list_clear"
This reverts commit d5042760e5.
2014-10-11 16:53:19 +02:00
twinaphex 7105bc3b17 (Menu) Split up pushing to history playlist action as separate function 2014-10-11 16:52:52 +02:00
twinaphex 65bc796011 Make rarch_playlist_push more useful 2014-10-11 16:46:59 +02:00
twinaphex 925d873d91 Refactor menu_entries_get_last_setting out of existence 2014-10-11 15:49:38 +02:00
twinaphex 7c3080b312 Change size of char arrays to PATH_MAX 2014-10-11 15:45:11 +02:00
twinaphex d5042760e5 (menu_entries.c) Reduce calls to file_list_clear 2014-10-11 15:43:44 +02:00
twinaphex 85f7a5dcba (Menu entries) Cleanups 2014-10-11 05:56:35 +02:00
twinaphex 0089833f5d (Menu) Rename menu_entries_pop to menu_entries_pop_list 2014-10-11 05:50:34 +02:00
twinaphex 520bc6e852 (menu_shader.c/menu_input_line_cb.c) Minor cleanups 2014-10-11 05:45:18 +02:00
twinaphex e215da3754 Minor changes to menu_ticker_line 2014-10-11 05:37:48 +02:00
twinaphex 8e98619ea1 Small changes - pass "Main Menu" to file list instead of "mainmenu" 2014-10-11 05:34:27 +02:00
twinaphex 999ffb3427 Simplify update_tweens 2014-10-11 05:26:00 +02:00
twinaphex fb116af9cc Refactor update_tween - kivutar - verify if everything still
works as expected
2014-10-11 05:23:49 +02:00
twinaphex 77f43c78e5 Rename setting_data_get_list to setting_data_new 2014-10-11 04:59:03 +02:00
twinaphex 2ad61f1717 (GLUI) Get rid of glui_ prefix for certain variables 2014-10-11 03:15:02 +02:00
Twinaphex 441e368e9a Merge pull request #1120 from aliaspider/master
use menu->list_settings directly.
2014-10-11 03:07:42 +02:00
aliaspider c118ec20ea use menu->list_settings directly. 2014-10-11 02:05:43 +01:00
twinaphex 027a1c4450 (RGUI) Create rgui_handle_t and assign it to driver.menu->userdata 2014-10-11 03:03:09 +02:00
Jean-André Santoni 703ee512ed (XMB) Fix flickering, remove need_refresh check 2014-10-11 02:50:11 +02:00
Jean-André Santoni 1f82510ef9 (XMB) Center messagebox 2014-10-11 02:03:58 +02:00
twinaphex fba88a14cb Set rarch_settings_t * lists to NULL after setting_list_free calls -
messy manual bookkeeping
2014-10-11 01:36:04 +02:00
Mike Robinson 5fe98e882e Fix use-after-free
menu_settings_iterate() would strcmp freed labels after exiting
a submenu.
2014-10-11 00:22:02 +01:00
Alcaro da8a02ddb2 Revert "Fix a leak here." because it gives segfaults.
This reverts commit 156449ca9d.
2014-10-10 23:43:11 +02:00
Alcaro 156449ca9d Fix a leak here. 2014-10-10 23:01:17 +02:00
Twinaphex 908001a861 Merge pull request #1116 from lakkatv/xmb
(XMB) Remove the xmb_ prefix of variables contained in the xmb_handler
2014-10-10 22:42:09 +02:00
Jean-André Santoni 261f1022e3 (XMB) Remove the xmb_ prefix of variables contained in the xmb_handler 2014-10-10 22:42:56 +02:00
twinaphex a5de4f7f75 Pass index to 'list_delete' callback as well 2014-10-10 22:36:30 +02:00
Jean-André Santoni 557f83377d (XMB) Remove uneeded headers 2014-10-10 22:31:43 +02:00
twinaphex dff600fdb2 Implement userdata variable for file_list - use it in
XMB menu display driver - segfaults less frequent but could still
trigger one
2014-10-10 22:08:11 +02:00
twinaphex 24865759ff (RMenu XUI) Clean up unused str_buffer 2014-10-10 19:58:36 +02:00
twinaphex e50958a096 Small change in menu_animation.h 2014-10-10 19:54:15 +02:00
twinaphex 50a45ab073 Rename and move frontend/menu/disp/tween.c to frontend/menu/menu_animation.c 2014-10-10 19:53:13 +02:00
twinaphex ddd210d4f0 (Tween) Refactor update_tween and make it a static function 2014-10-10 19:36:17 +02:00
twinaphex 6c51889430 (RMenu) Add safety check in rmenu_init 2014-10-10 19:22:57 +02:00
twinaphex 064fbfb35c (Lakka) Uniquely name vertex and tex_coord variables 2014-10-10 19:18:25 +02:00
twinaphex f660071355 (Lakka) Every global variable moved over to lakka_handle_t now 2014-10-10 18:45:22 +02:00
twinaphex 0962b83455 Move more variables to lakka_handle_t pt. 3 2014-10-10 18:41:41 +02:00
twinaphex f021b1818f (Lakka) Move more variables over pt. 2 2014-10-10 18:20:52 +02:00
twinaphex 75002d26a7 (Lakka) Move more variables over 2014-10-10 18:10:13 +02:00
twinaphex dd55a65216 Move margin variables over to lakka_handle_t 2014-10-10 17:58:02 +02:00
twinaphex f58cd011e8 Move more variables to lakka_handle_t 2014-10-10 17:50:55 +02:00
twinaphex af18048837 (Lakka) Create lakka_free_userdata 2014-10-10 16:55:36 +02:00
twinaphex 60e5b881b9 (Lakka) Move categories over to userdata too 2014-10-10 16:53:02 +02:00
twinaphex c6a27e46ae (Lakka) Start moving global variables over to lakka_handle_t struct, and
bind it to driver.menu->userdata
2014-10-10 16:38:02 +02:00
twinaphex ca25d46742 (GLUI) Implement menu->userdata for GLUI 2014-10-10 16:23:12 +02:00
twinaphex e853eb88d7 Add userdata variable to menu_handle_t 2014-10-10 15:52:12 +02:00
twinaphex c8d9a71424 (XMB) Cleanups 2014-10-10 05:54:36 +02:00
twinaphex 7fed404a8d Cut down on some calls made to add_tween 2014-10-10 00:42:22 +02:00
twinaphex 821e37f480 Start reimplementing tween.c functions 2014-10-10 00:01:45 +02:00
Jean-André Santoni 0d9261663c (XMB) Implement context reset 2014-10-09 22:59:05 +02:00
twinaphex 5c728cef82 (XMB) Cleanups pt. 1 2014-10-09 22:45:29 +02:00
twinaphex 5f50570313 (XMB) Rename num_nodes to something more sane 2014-10-09 22:33:23 +02:00
twinaphex 4a6e59d35e Run xmb_selection_pointer_changed for all 'navigation'-related
functions right now
2014-10-09 22:30:17 +02:00
twinaphex 6995d46529 (XMB) Make some stub function implementations for navigation/list operation callbacks 2014-10-09 22:25:13 +02:00
twinaphex 07cd41c46b (XMB) Move another global variable to XMB 2014-10-09 21:57:05 +02:00
twinaphex fd7824ede5 (XMB) Don't use strcpy - always use strlcpy 2014-10-09 21:52:15 +02:00
twinaphex f0dca2cc18 (XMB) Some cleanups 2014-10-09 21:47:40 +02:00
Twinaphex 0d9a45cff0 Merge pull request #1109 from lakkatv/xmb
(XMB) Fix setttings values display
2014-10-09 19:22:08 +02:00
Jean-André Santoni ca11654e49 (XMB) Fix setttings values display 2014-10-09 19:22:42 +02:00
twinaphex 6f84dbd710 apply_deferred_settings - nit 2014-10-09 19:21:44 +02:00
Twinaphex c1ec8811f3 Merge pull request #1108 from lakkatv/xmb
(XMB) Use the populate entries callback, fixes the segfault
2014-10-09 19:06:20 +02:00
Jean-André Santoni 0dcf1949ad (XMB) Use the populate entries callback, fixes the segfault 2014-10-09 19:06:07 +02:00
Mike Robinson b67c86de28 Add support for deferred settings changes, defer audio latency 2014-10-09 11:09:36 +01:00
twinaphex 623e19edd5 (XMB) Cleanups 2014-10-09 05:35:18 +02:00
Twinaphex 91f2090297 Start adding xmb.c to Apple build 2014-10-09 05:06:32 +02:00
twinaphex 438fcccbbf (XMB) Uniquely name global vertex and tex_coord 2014-10-09 04:51:42 +02:00
twinaphex 84a35d4176 (XMB) Encapsulate everything inside xmb_handle_t struct 2014-10-09 04:34:16 +02:00
Twinaphex de130dd516 Build fix for non-HAVE_NETPLAY 2014-10-09 04:04:56 +02:00
twinaphex 86783713c8 (XMB) Build fixes 2014-10-09 02:58:05 +02:00
Twinaphex 6f951cbd8b Merge pull request #1106 from lakkatv/xmb
Xmb
2014-10-09 02:41:33 +02:00
Jean-André Santoni fed8744aef (XMB) Vertical animations 2014-10-09 02:41:08 +02:00
Twinaphex a86d5550a5 Merge pull request #1105 from aliaspider/master
(Lakka) fix segfault.
2014-10-09 02:34:05 +02:00
aliaspider e34402e98e (Lakka) fix segfault. 2014-10-09 01:32:56 +01:00
twinaphex a5d457728c (Lakka) Take out dead font driver code 2014-10-09 02:20:07 +02:00
twinaphex 3ba45d3eae Create init_lists in menu display driver 2014-10-09 01:31:11 +02:00
Jean-André Santoni c162510005 (XMB) Make functions static 2014-10-09 01:24:54 +02:00
Jean-André Santoni 7018d58731 (XMB) Initial commit 2014-10-09 01:21:22 +02:00
twinaphex 8cb7620f0c list_mainmenu and list_settings already get initialized by
menu_entries_push_list
2014-10-09 01:04:54 +02:00
twinaphex e5ab079298 Maintain two rarch_setting_t * lists in driver.menu - one
for main menu and the other for settings menu - regenerate these
when needed
2014-10-09 00:50:35 +02:00
twinaphex 1fe95bdafb Create menu_init_list and menu_free_list 2014-10-09 00:23:39 +02:00
twinaphex 80578199f6 Reduce calls to 'draw_frame' to one 2014-10-08 21:43:19 +02:00
twinaphex bb7b3a0d70 Add RARCH_CMD_OVERLAY_NEXT 2014-10-08 18:26:46 +02:00
twinaphex c35d25c76e Add RARCH_CMD_NETPLAY_FLIP_PLAYERS and RARCH_CMD_FULLSCREEN_TOGGLE 2014-10-08 16:41:08 +02:00