Commit Graph

306 Commits

Author SHA1 Message Date
twinaphex
d32e9ed4c5 Move input_frame to menu_input_line_cb.c and rename it menu_input_frame 2015-01-10 06:33:05 +01:00
twinaphex
c1e6a955dd Rename setting_handler to menu_action_setting_handler 2015-01-10 06:26:34 +01:00
twinaphex
6c58456ba0 Rename some functions in menu_entries.c 2015-01-10 06:24:04 +01:00
twinaphex
fbac91cd79 Document menu_init_list/menu_free_list 2015-01-10 06:13:12 +01:00
twinaphex
62b430e6eb Rename function to menu_load_content 2015-01-10 06:09:30 +01:00
twinaphex
b2c03ccbfb Document and refactor menu_shader.c 2015-01-10 05:53:41 +01:00
twinaphex
ef720d3815 Remove menu_type_is - now obsolete 2015-01-10 05:25:37 +01:00
twinaphex
16697eb632 (Menu) Kill off some header dependencies 2015-01-10 04:59:55 +01:00
twinaphex
b95cdd2215 Rename menu_common.c to menu.c 2015-01-10 04:53:37 +01:00
twinaphex
4974e6848e Rename menu_common_type_is 2015-01-10 04:47:33 +01:00
twinaphex
f1ede10717 Split up menu_common_list functions into separate functions 2015-01-10 04:44:18 +01:00
twinaphex
1eb844ca53 (menu_navigation.c) Start documenting menu_navigation.c 2015-01-10 04:32:10 +01:00
twinaphex
aa0b6c0f10 (Menu) Some cleanups 2015-01-10 04:06:56 +01:00
twinaphex
a4d0ab0607 Start documenting menu_common.c 2015-01-09 21:54:08 +01:00
twinaphex
99c9afa5cd Update PATH_MAX to PATH_MAX_LENGTH 2015-01-09 18:04:29 +01:00
twinaphex
8fc4db23dc (360) Silence some warnings 2015-01-09 17:48:20 +01:00
Twinaphex
9274a6a1ae Merge pull request #1331 from Swizzy/master
Some XDK360 fixes
2015-01-09 17:41:11 +01:00
twinaphex
ec22bada36 Add retroarch.h header 2015-01-09 17:40:47 +01:00
Swizzy
82f94d1567 (XDK360) Disable XUI User Input 2015-01-09 17:38:33 +01:00
Swizzy
935a6c5a8f (XDK360) Dynamic XUI Text Width/Position
Dynamically change the width of the left and right text
Dynamically change the position of the right text
2015-01-09 12:36:44 +01:00
twinaphex
3aca3bceb9 (Menu) Implement action_cancel 2015-01-09 04:43:24 +01:00
twinaphex
82025586fe Add action_cancel to callbacks 2015-01-09 03:49:14 +01:00
twinaphex
8ae9f9daf3 Cleanups 2015-01-09 03:45:18 +01:00
twinaphex
f9cd1ba788 Rename .hpp files 2015-01-07 22:23:45 +01:00
Swizzy
d60b5783a2 (XDK360) New XUI Code
Signed-off-by: Swizzy <swizzy@xeupd.com>
2015-01-07 21:51:10 +01:00
twinaphex
cbfd7ad881 Nit in menu_start_screen_iterate 2015-01-07 20:47:07 +01:00
twinaphex
90076c5fad Start using MAX_PATH_LENGTH - relying on MAX_PATH for 360 can cause
problems because it's defined at '260' and thus too small for some
strings
2015-01-07 20:42:36 +01:00
twinaphex
ecf499c588 Update headers 2015-01-07 18:24:13 +01:00
twinaphex
453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
Swizzy
320f8ce2bd Removed pointless ifdef 2015-01-06 15:43:02 +01:00
Swizzy
bd3d2b870f (XDK360) Updated Messagebox text 2015-01-06 15:35:49 +01:00
Swizzy
cbb00d3839 (XDK360) Fixed "MessageBox" output 2015-01-06 15:19:43 +01:00
Swizzy
3c9e888e4c (XDK360) Fix XUI Output 2015-01-06 14:17:40 +01:00
twinaphex
6fb51eb360 Initial implementation of remap binds feature 2015-01-05 22:53:21 +01:00
twinaphex
12c7147f8f Start adding Core Input Remapping options (stub for now) 2015-01-05 19:49:11 +01:00
twinaphex
7a456c6c3a Rename MAX_PLAYERS to MAX_USERS 2015-01-05 01:58:00 +01:00
twinaphex
45cdb15de4 Add setting 'Max Users' 2015-01-05 01:45:57 +01:00
twinaphex
9bc4ffb69b Fix Shader Preset Save As... 2015-01-05 01:25:42 +01:00
Jean-André Santoni
1d531c22a0 (RGUI) Fix backward navigation index bug 2015-01-04 15:52:46 +01:00
twinaphex
d3fb2c07d0 (menu/disp/rgui.c) Declare some variables at the top 2015-01-04 15:22:49 +01:00
twinaphex
ef947b3bf8 action_ok_directory_push - no longer crashes on pressing 'A' on an
empty entry
2015-01-01 19:04:12 +01:00
Twinaphex
343f0c40dd (iOS) Fix crash in fill_rect upon closing RetroArch iOS 2015-01-01 18:53:04 +01:00
Twinaphex
a3f4c07078 (iOS) Extensions list argument for dir_list_new should only be passed
when extension filtering is enabled
2015-01-01 18:47:39 +01:00
twinaphex
6ca7e0561e Add menu_navigation_browser_filter_supported_extensions_enable option 2015-01-01 16:40:47 +01:00
Twinaphex
8e00408516 Merge pull request #1303 from jeapostrophe/master
Fix a variety of iOS issues:
2014-12-31 22:29:28 +01:00
Jay McCarthy
c7cc2827a0 Go from load content directly into game 2014-12-31 15:24:50 -05:00
twinaphex
3ee3e5a1a5 menu_list_destroy - check if 'list' is non-NULL before calling file_list_free 2014-12-31 20:07:42 +01:00
twinaphex
8aaa13dc6c (iOS) Add /var/mobile/Documents to default browser screen 2014-12-31 13:32:09 +01:00
twinaphex
a9438452a1 Add Content Database Directory Path option 2014-12-30 22:58:08 +01:00
twinaphex
1500302e13 (XUI) Build fixes 2014-12-23 21:25:02 +01:00
twinaphex
94f5884a45 (XDK) Some stub build fixes 2014-12-23 21:21:49 +01:00
twinaphex
048181e4af (Windows) Fix build 2014-12-23 03:01:23 +01:00
twinaphex
344ae2575a Fix 'load content' - upon loading ZIP files, should no longer show
'deferred core list'
2014-12-22 18:56:58 +01:00
twinaphex
03aa4dd20c Cleanup menu_entries_parse_list 2014-12-21 23:44:33 +01:00
twinaphex
77bc9b5e0d Add stub Core Manager 2014-12-21 23:41:17 +01:00
twinaphex
4114e74d35 Change Netplay Options to Network Options 2014-12-20 22:44:06 +01:00
twinaphex
d1f0f50900 (rmenu.c) Fix up struct 2014-12-20 21:47:16 +01:00
twinaphex
bd40703fa3 Modify cheat_manager_update - pass in correct cheat index 2014-12-16 05:14:22 +01:00
twinaphex
21b99c3ac5 Press left/right on a cheat entry now to turn it ON/OFF 2014-12-16 02:20:06 +01:00
twinaphex
03f2421154 Add description to cheat code if available 2014-12-16 00:08:50 +01:00
twinaphex
fdc1cf5422 Can now load cht files from 'Load Cheat File' 2014-12-16 00:02:46 +01:00
twinaphex
be5a76cb91 Start using g_extern.cheat instead of having a separate cheat
manager in the menu struct
2014-12-15 23:57:14 +01:00
twinaphex
61c98d8893 Start adding stub 'Cheat File Load' 2014-12-15 23:51:11 +01:00
twinaphex
cf66692b21 Start adding cheat_manager_load function 2014-12-15 22:40:23 +01:00
twinaphex
db304a7e2f Get rid of some useless casts pt. 2 2014-12-15 19:31:17 +01:00
twinaphex
2003d2ec12 menu_entries_cbs.c - some cleanups 2014-12-15 19:26:24 +01:00
twinaphex
205dd9d71f (GLUI/RGUI display drivers) Implement ascend_alphabet/descend_alphabet 2014-12-15 19:03:47 +01:00
twinaphex
c06648b47f (RGUI) Implement navigation_set_last in display driver 2014-12-15 18:56:49 +01:00
twinaphex
d6e9ac31f4 menu/menu_list.c - Cleanups 2014-12-15 18:52:46 +01:00
Twinaphex
e98749e2a0 Get rid of 'declaration shadows local variable' warning in Xcode/Clang 2014-12-15 17:15:22 +01:00
twinaphex
6c338352d2 We're not going to use 'cheat database' from bsnes XML cheats,
but for our more general-purpose cheats in cores
2014-12-15 06:42:24 +01:00
twinaphex
969fc38c42 Core Information - add Core Name / System Manufacturer 2014-12-15 01:59:32 +01:00
twinaphex
f2dd126948 Add Categories and System info to 'Core Information' 2014-12-14 20:51:53 +01:00
Twinaphex
551ad28fca Clean up unused variable 2014-12-08 12:17:34 +01:00
twinaphex
fe0ece3124 Add preliminary Core Cheat Options support - should work with
cores like SNES9x/bSNES right now
2014-12-06 15:47:25 +01:00
twinaphex
181d163b36 Rename 'player' to 'user' 2014-12-05 13:48:54 +01:00
Lioncash
a716ea0849 rmenu_xui: Fix indentation 2014-12-03 16:26:35 -05:00
Jay McCarthy
e306260302 Fix typo 2014-12-01 10:09:29 -05:00
twinaphex
9b71273e72 Bind action OK callback for shader parameters to NULL 2014-11-30 02:35:08 +01:00
twinaphex
3c9e97842e [PATCH 1/2] Fix RGUI shader parameters. 2014-11-29 21:03:31 +01:00
Jean-André Santoni
01838efaa8 (XMB) Move all file_list caching variables to the xmb display driver 2014-11-27 23:03:27 +07:00
Jean-André Santoni
9fe3f9409e (XMB) Move all file_list caching actions inside the xmb display driver 2014-11-27 22:28:45 +07:00
Jean-André Santoni
5fd2a852ca (XMB) Fix another display bug 2014-11-27 17:07:52 +07:00
Lioncash
39e0903f62 menu_entries_cb: Remove unused variable 2014-11-26 08:05:43 -05:00
Jean-André Santoni
8df89718a3 (XMB) Display subsetting icons 2014-11-26 10:36:25 +07:00
Jean-André Santoni
5cd6b80a73 (XMB) Bugfix 2014-11-25 22:30:52 +07:00
Jean-André Santoni
886a5a4bba (XMB) Make some actions working 2014-11-25 12:34:37 +07:00
Jean-André Santoni
eeee8e74a4 (XMB) Display appropriate icons for actions 2014-11-25 11:37:39 +07:00
Jean-André Santoni
c0d80a4e25 (XMB) Add more file types for actions 2014-11-25 11:20:15 +07:00
Jean-André Santoni
68b144e6ce (XMB) Push more action subitems 2014-11-25 11:15:19 +07:00
twinaphex
c89b91b174 Add update_core_info function callback to menu display layer 2014-11-25 03:49:26 +01:00
Jean-André Santoni
802b7951fb (XMB) Revert cd3e0b02f5, let's find a better way to do this 2014-11-24 21:59:11 +07:00
Jean-André Santoni
7c62faa0e0 (XMB) Start displaying a list of action for each content in content lists 2014-11-24 21:14:01 +07:00
Jean-André Santoni
33edefb154 (XMB) Use MENU_FILE_CONTENTLIST_ENTRY 2014-11-24 21:14:01 +07:00
Jean-André Santoni
3c55ea7f43 (XMB) Display appropriate content icons 2014-11-21 16:40:47 +07:00
twinaphex
ba36b2e684 (menu_common_backend.c) Remove ifdef GEKKO lines 2014-11-20 02:53:18 +01:00
twinaphex
d66d698d7e (Menu) Simplify action_start_setting 2014-11-20 02:49:44 +01:00
twinaphex
2cc70005b9 Move more code to settings_data.c 2014-11-20 02:44:30 +01:00
twinaphex
e9d0803ddc Remove code duplication action_ok_file_path 2014-11-20 00:26:15 +01:00
twinaphex
821e27b11e Add fallback action_ok_lookup_setting - fixes 'Bind All' and
'Bind Reset Defaults' actions
2014-11-20 00:24:40 +01:00
twinaphex
f6cb62be6d (Settings) Bind action_ok for video_refresh_rate_auto 2014-11-18 20:35:56 +01:00
twinaphex
d87470c597 (Menu) Add stub Navigation Wrap-Around options 2014-11-17 16:16:52 +01:00
Twinaphex
23a9d43b08 (XMB) Get rid of unused variables 2014-11-17 14:56:25 +01:00
twinaphex
0276037a6c (menu_common_backend.c) Cleanup headers 2014-11-17 14:52:38 +01:00
Jean-André Santoni
cd3e0b02f5 (XMB) Fix category icons not showing up 2014-11-17 16:17:24 +07:00
twinaphex
a79000a03d Add action_toggle_scroll callback for MENU_FILE_USE_DIRECTORY 2014-11-17 02:25:54 +01:00
twinaphex
97c7860cf2 Add action_ok callback for FILE_PATH 2014-11-17 02:19:36 +01:00
twinaphex
985d378261 Cleanup menu_common_type_is 2014-11-17 01:29:02 +01:00
twinaphex
ceee48fc39 (Menu) Make left/right work too for history list playlist entries 2014-11-16 22:47:10 +01:00
twinaphex
c7ed85dadf (Menu) Small cleanup of unused variable 2014-11-16 21:25:13 +01:00
twinaphex
9b2f6edf18 (Menu) Reimplement left/right scrolling 2014-11-16 21:24:04 +01:00
Twinaphex
d568b1f2d2 (menu/menu_entries_cbs.c) Cleanup unused variables 2014-11-16 04:24:01 +01:00
twinaphex
0d03bf04d2 Cleanup code in menu_common_backend.c 2014-11-16 03:43:46 +01:00
twinaphex
f2ad282ee0 Reimplement menu actions toggle/OK/start - get rid of fall-through 2014-11-16 03:42:44 +01:00
twinaphex
d0bf0f6f4e Fixup comment 2014-11-15 20:01:22 +01:00
twinaphex
249f2b9eff Add missing cast to node assignment 2014-11-15 13:33:58 +01:00
Twinaphex
ec93f315e0 Merge pull request #1251 from lioncash/cond
Remove redundant conditions
2014-11-15 12:37:15 +01:00
Lioncash
ee80a34974 Add/fix some trivial null checks 2014-11-14 23:06:34 -05:00
Lioncash
5d65c73be3 Remove redundant conditions 2014-11-14 22:50:33 -05:00
Jean-André Santoni
54d0489c41 (XMB) Display core title 2014-11-15 00:35:45 +01:00
Jean-André Santoni
c66222bd0c (XMB) Fix switch fall-through 2014-11-15 00:10:41 +01:00
Twinaphex
5130646630 Merge pull request #1248 from lakkatv/xmb
(XMB) Prevent horizontal navigation out of bounds
2014-11-14 23:55:56 +01:00
Jean-André Santoni
9edb44834a (XMB) Prevent horizontal navigation out of bounds 2014-11-14 23:54:48 +01:00
Twinaphex
57cc1d8884 Merge pull request #1247 from lakkatv/xmb
(XMB) Improve list switch animation
2014-11-14 23:42:56 +01:00
Jean-André Santoni
9c2617bcf8 (XMB) Improve list switch animation 2014-11-14 23:39:24 +01:00
Twinaphex
0575f338a4 Merge pull request #1246 from lakkatv/xmb
(XMB) List appropriate content under each core icon
2014-11-14 23:37:55 +01:00
Jean-André Santoni
5cd7e44455 (XMB) List appropriate content under each core icon 2014-11-14 23:33:37 +01:00
Twinaphex
4a431ad7c8 Merge pull request #1245 from lakkatv/xmb
(XMB) Horizontal navigation
2014-11-14 22:45:44 +01:00
Jean-André Santoni
662c7e51dc (XMB) Horizontal navigation 2014-11-14 21:56:21 +01:00
twinaphex
188265fbd2 (Menu) Archive mode options now get used for 'Load Content' option too 2014-11-14 16:34:22 +01:00
twinaphex
746529671c Implement archive_mode - 0 is 'Ask', '1' is 'Load archive', '2'
is 'Open Archive'
2014-11-14 15:58:49 +01:00
twinaphex
68798ede0a Split up archive extract/load code into separate functions 2014-11-14 15:38:11 +01:00
twinaphex
f921d2e2d4 Add Archive Options 2014-11-14 14:54:20 +01:00
Jean-André Santoni
faae673beb (XMB) Draw the setting icon like a regular node, so all categories icons can be animated in an uniform way 2014-11-13 21:32:45 +01:00
Jean-André Santoni
29bf7e962b (XMB) Code refactoring 2014-11-13 21:05:16 +01:00
Jean-André Santoni
ec517b824d (XMB) Fade out core icons depending on depth 2014-11-11 18:15:00 +01:00
Jean-André Santoni
9bbab80248 (XMB) Display core icons 2014-11-11 16:28:40 +01:00
twinaphex
50e21d7432 (iOS) Don't use UIInterfaceOrientationUnknown since it creates a dependency
on iOS 8 SDK
2014-11-09 17:38:26 +01:00
twinaphex
7f1fb3e0cd (iOS) Style nits - menu/disp/ios.c 2014-11-09 14:43:10 +01:00
twinaphex
47b014d3cd (PS3/360) Build fixes 2014-11-08 19:31:11 +01:00
twinaphex
20df9d5524 (Lakka/XMB) Build fixes 2014-11-08 14:42:08 +01:00
Twinaphex
f8a73398c4 (XMB/Lakka) Prevent variable shadowing 2014-11-08 03:02:58 +01:00
Jean-André Santoni
90548d572b (XMB) Use theme font + responsive font size 2014-11-07 17:08:44 +01:00
Jean-André Santoni
60c4ba8987 (Lakka) Code cleaning 2014-11-07 17:08:11 +01:00
Jean-André Santoni
82e67e7605 (Lakka) Use theme font + responsive font size 2014-11-07 15:05:59 +01:00
Jay McCarthy
6cbbf834e0 Menu navigation works correctly, just need settings 2014-11-05 11:19:41 -05:00
Jay McCarthy
f2f96bcac8 First draft of ios_menu 2014-11-04 22:01:01 -05:00
twinaphex
ab6d6f53c1 Refactor menu_action.c 2014-10-28 22:32:00 +01:00
twinaphex
b1e41518ac (menu_action.c) Cleanup 2014-10-28 21:53:26 +01:00
twinaphex
17dde1c5cc Refactor away menu_action_setting_set_current_string_based_on_label 2014-10-28 21:49:50 +01:00
twinaphex
576a362032 Move menu_action_setting_set_current_string to menu_entries_cbs.c 2014-10-28 21:47:30 +01:00
twinaphex
7f3c1a9f33 Refactor setting_set_flags 2014-10-28 21:17:01 +01:00
twinaphex
2436352af1 Move function from menu_action.c to menu_entries_cbs.c and make
static
2014-10-28 20:15:38 +01:00
twinaphex
7248e45f81 Refactor menu_action_handle_setting 2014-10-28 20:12:21 +01:00
twinaphex
34b95bbf31 (menu_entries_cbs.c) Cleanups 2014-10-28 20:03:25 +01:00
twinaphex
4f40c14d69 Move menu code up one root dir 2014-10-28 19:54:23 +01:00