Commit Graph

4134 Commits

Author SHA1 Message Date
twinaphex
fde4826754 Add MENU_ENTRIES_CTL_SHOW_BACK 2015-12-11 21:34:27 +01:00
twinaphex
352836a595 Add menu_entries_ctl 2015-12-11 21:32:00 +01:00
twinaphex
37aef67dae Cleanups 2015-12-11 21:24:51 +01:00
twinaphex
4c8c2ea30d Move typedef struct definition to menu_entries.c 2015-12-11 21:18:13 +01:00
twinaphex
f5422de0d6 Expand extracting message a bit 2015-12-11 19:15:11 +01:00
twinaphex
f7d9c08de3 Add 'Extracting' message when extracting a bundle 2015-12-11 19:13:40 +01:00
twinaphex
f9dfa403a9 Cleanup 2015-12-11 18:56:00 +01:00
twinaphex
4baea28be5 Get rid of unused variable 2015-12-11 15:41:29 +01:00
twinaphex
905577ea3b Cleanup 2015-12-11 15:40:13 +01:00
twinaphex
733d71ebd3 Create RARCH_MENU_CTL_TOGGLE 2015-12-11 15:39:19 +01:00
twinaphex
74015188a9 Cleanups 2015-12-11 15:28:16 +01:00
twinaphex
00b979ba67 Move userdata to menu_driver.c as static variable 2015-12-11 15:14:39 +01:00
twinaphex
6ae5725373 Simplify usage of menu->userdata 2015-12-11 14:55:04 +01:00
twinaphex
9580dc5392 pass userdata handle to list_get_entry callback 2015-12-11 14:52:16 +01:00
twinaphex
9e383749ae Pass userdata handle to get_selection callback 2015-12-11 14:50:06 +01:00
twinaphex
2215aa2c87 (menu_driver.c) Pass userdata to free callback 2015-12-11 14:38:57 +01:00
twinaphex
fa9f0a32e8 Create RARCH_MENU_CTL_POPULATE_ENTRIES 2015-12-11 14:34:47 +01:00
twinaphex
9e9e6bd8b4 Prevent crash 2015-12-11 14:30:57 +01:00
twinaphex
adc359ec7a Pass more userdata handles to callbacks 2015-12-11 14:26:51 +01:00
twinaphex
4836fb06ba Cleanup unused variables 2015-12-11 13:57:26 +01:00
twinaphex
a8590e656e Take out header include core_info.h from runloop.h 2015-12-11 13:56:00 +01:00
twinaphex
159fe58926 Move core info list to runloop_ctl 2015-12-11 13:51:17 +01:00
twinaphex
ab9c52e03e Remove unused local variables 2015-12-11 13:29:15 +01:00
twinaphex
23f1bf63c0 Turn core_info_current into static local variable 2015-12-11 13:28:23 +01:00
twinaphex
65eeb3d836 Don't touch global->core_info.current from outside runloop.c 2015-12-11 13:24:14 +01:00
twinaphex
01ca22587a Move playlist variable to menu_driver_ctl as static local
variable
2015-12-11 13:08:30 +01:00
twinaphex
22b06f2d38 Don't reference menu->playlist outside menu_driver.c anymore 2015-12-11 13:06:24 +01:00
twinaphex
7b49964d39 Create RARCH_MENU_CTL_PLAYLIST_FREE 2015-12-11 13:01:39 +01:00
twinaphex
3c28350b56 Replace menu->playlist references 2015-12-11 12:57:48 +01:00
twinaphex
6f42f4e0c6 Start using RARCH_MENU_CTL_PLAYLIST_GET 2015-12-11 12:46:08 +01:00
twinaphex
16ce520d34 Start using RARCH_MENU_CTL_PLAYLIST_GET 2015-12-11 12:44:58 +01:00
twinaphex
5ce356c3fc Add RARCH_MENU_CTL_PLAYLIST_GET 2015-12-11 12:40:59 +01:00
twinaphex
280281e644 menu_driver.h - Remove input_driver.h 2015-12-11 12:08:19 +01:00
twinaphex
3fa9abe3aa menu_driver.h - don't include menu_displaylist.h 2015-12-11 12:06:24 +01:00
twinaphex
c282027b50 Cleanups 2015-12-11 12:02:21 +01:00
twinaphex
fdf17808e0 Create MENU_ANIMATION_CTL_DEINIT 2015-12-11 12:00:49 +01:00
twinaphex
2d0a8ec9b5 Cleanups 2015-12-11 11:58:48 +01:00
twinaphex
c21c04d73b Create MENU_NAVIGATION_CTL_DEINIT 2015-12-11 11:57:43 +01:00
twinaphex
8ea64378f8 Create MENU_INPUT_CTL_DEINIT 2015-12-11 11:56:31 +01:00
twinaphex
45de6fe3b5 Create RARCH_DRIVER_CTL_SET_NONBLOCK_STATE 2015-12-11 11:04:16 +01:00
twinaphex
1b768f7dcd Create RARCH_DRIVER_CTL_SET_REFRESH_RATE 2015-12-11 11:00:12 +01:00
Twinaphex
47dbee7102 Merge pull request #2548 from lakkatv/master
(Menu) Use the alternative quickmenu for the history list. Step 1.
2015-12-11 10:17:32 +01:00
twinaphex
a8c6fc150b Add RUNLOOP_CTL_DATA_ITERATE 2015-12-11 10:17:18 +01:00
Jean-André Santoni
339082c153 (Menu) Use the alternative quickmenu for the history list. Step 1. 2015-12-11 16:13:18 +07:00
twinaphex
746b7dde73 Add memset to end of RARCH_MENU_CTL_SYSTEM_INFO_DENIT 2015-12-10 23:10:17 +01:00
twinaphex
d7fd52b03f Make g_system_menu no longer a global 2015-12-10 23:08:34 +01:00
twinaphex
fc6505e408 Get rid of rarch_system_info_get_ptr 2015-12-10 22:30:25 +01:00
twinaphex
25f4b89f1f Indenting nits 2015-12-10 21:08:21 +01:00
twinaphex
2f3f335bc5 Get rid of unused variable 2015-12-10 21:07:33 +01:00
twinaphex
5fbfabab5b Divorce menu->shader from menu_handle_t 2015-12-10 20:12:08 +01:00
twinaphex
aaf6d64432 Create RARCH_MENU_CTL_SHADER_DEINIT 2015-12-10 20:09:15 +01:00
twinaphex
201f3e780a Cleanup 2015-12-10 20:07:10 +01:00
twinaphex
800b62e458 Cleanups 2015-12-10 20:05:00 +01:00
twinaphex
b22e192bc5 Cleanups - go through RARCH_MENU_CTL_SHADER_GET 2015-12-10 20:02:44 +01:00
twinaphex
77b623bdcd Go through RARCH_MENU_CTL_SHADER_GET 2015-12-10 19:59:21 +01:00
twinaphex
8392d944e5 Create RARCH_MENU_CTL_SHADER_GET 2015-12-10 19:56:08 +01:00
twinaphex
4202e9e9d3 Cleanup 2015-12-10 19:43:25 +01:00
twinaphex
65c59eb9f1 Cleanups 2015-12-10 19:38:46 +01:00
twinaphex
d6538bb7ae Pass userdata pointer to list_insert callback 2015-12-10 19:08:28 +01:00
twinaphex
b42149c826 Pass void pointers to list_push callback 2015-12-10 19:02:01 +01:00
twinaphex
ae995f6986 Cleanups 2015-12-10 18:49:26 +01:00
twinaphex
8ef1e9c0b0 Cleanups 2015-12-10 17:26:29 +01:00
twinaphex
42643088f4 Refine earlier commit 2015-12-10 17:25:40 +01:00
twinaphex
78db1845dc Move data pointer to navigation_clear callback 2015-12-10 17:24:56 +01:00
twinaphex
cfaca8439d Cleanups 2015-12-10 17:08:17 +01:00
twinaphex
18d3cb0649 Pass data to context_reset callback 2015-12-10 17:01:06 +01:00
twinaphex
02bac66c9e Pass userdata to context_destroy callback 2015-12-10 16:57:48 +01:00
twinaphex
71548e2e10 Pass userdata to toggle callback 2015-12-10 16:54:46 +01:00
twinaphex
19f0a23e7e load_image - add userdata handle 2015-12-10 16:51:59 +01:00
twinaphex
94248be657 Pass userdata variable to populate_entries 2015-12-10 16:45:38 +01:00
twinaphex
333ee443e3 Change pointer_tap callback 2015-12-10 16:26:40 +01:00
twinaphex
604cbc585f Pass userdata pointer to environ callback 2015-12-10 16:23:32 +01:00
twinaphex
bd0a427df1 Pass userdata pointer to list_cache callback 2015-12-10 16:17:23 +01:00
twinaphex
f0a8867487 (XMB) Refactors 2015-12-10 16:14:53 +01:00
twinaphex
08a9bdfc12 Cleanup 2015-12-10 16:10:21 +01:00
twinaphex
f70acd4a64 Cleanups 2015-12-10 15:49:37 +01:00
twinaphex
bf73abc753 Cleanups 2015-12-10 15:48:04 +01:00
twinaphex
46b5c5e79f (XMB) Cleanup 2015-12-10 15:47:08 +01:00
twinaphex
bed86cc57e (XMB) Cleanup 2015-12-10 15:46:15 +01:00
twinaphex
e44f6d5d81 Update RMenu XUI 2015-12-10 15:45:05 +01:00
twinaphex
87ff4d7d82 Pass userdata handle to frame callback 2015-12-10 15:44:26 +01:00
twinaphex
6db1a8eb0d Cleanups 2015-12-10 15:40:44 +01:00
twinaphex
6bff83478f (MUI) Cleanups 2015-12-10 15:33:10 +01:00
twinaphex
114bce9f0f (MUI) Cleanups 2015-12-10 15:31:17 +01:00
twinaphex
527f7c7266 (XMB) Cleanups 2015-12-10 15:28:05 +01:00
twinaphex
a173b5a2bb Some more cleanups 2015-12-10 15:23:43 +01:00
twinaphex
14427dd725 (XMB) Cleanups 2015-12-10 15:21:20 +01:00
twinaphex
fbdfad6250 Remove unused void * parameter for init_main_font 2015-12-10 15:19:41 +01:00
twinaphex
d2c5139ab1 Revert "Add userdata pointer to frame callback"
This reverts commit ca9520a522.
2015-12-10 15:17:37 +01:00
twinaphex
ca9520a522 Add userdata pointer to frame callback 2015-12-10 15:12:47 +01:00
twinaphex
abc2315c78 Remove unused pointer 2015-12-10 14:52:34 +01:00
twinaphex
b0a0a8d9a7 Cleanup one unused pointer 2015-12-10 14:52:02 +01:00
twinaphex
686bcf723d Move scroll_y to userdata 2015-12-10 14:50:43 +01:00
twinaphex
f4695c7547 Pass userdata pointer to render callback 2015-12-10 14:45:34 +01:00
twinaphex
2930997c25 Pass userdata to messagebox callback 2015-12-10 14:40:56 +01:00
twinaphex
f374e12143 Cleanup 2015-12-10 14:36:31 +01:00
twinaphex
02fb8dd052 Avoid warning 2015-12-10 14:03:34 +01:00
twinaphex
a1b4ba9280 Cleanups 2015-12-10 14:00:28 +01:00
twinaphex
8acaa19d01 CLeanups 2015-12-10 13:48:41 +01:00
twinaphex
7274e6bc3e Cleanups 2015-12-10 12:37:24 +01:00
twinaphex
f0e11659c7 Header include changes 2015-12-09 09:53:43 +01:00
twinaphex
3c765e30d3 Add RUNLOOP_CTL_GET_CORE_OPTION_SIZE 2015-12-09 09:37:54 +01:00
twinaphex
fee5d2a880 Add RUNLOOP_CTL_HAS_CORE_OPTIONS 2015-12-09 09:34:19 +01:00
twinaphex
86c6848281 Fix CORE_OPTION_NEXT 2015-12-09 09:31:22 +01:00
twinaphex
99824bcad0 Move more code to do with core options to runloop.c 2015-12-09 09:21:49 +01:00
twinaphex
39499eb107 Silence 'cannot be reached' warnings 2015-12-08 19:54:36 +01:00
twinaphex
e6360627ab menu_cbs_right.c - cleanup 2015-12-08 15:20:44 +01:00
twinaphex
34dbd35642 Revert "Remove some unnecesary functions"
This reverts commit 1f13f26ba4.
2015-12-08 12:55:43 +01:00
twinaphex
1f13f26ba4 Remove some unnecesary functions 2015-12-08 11:21:57 +01:00
twinaphex
9f96742576 Take out some header includes 2015-12-08 09:30:44 +01:00
twinaphex
df60523f6c Move current_shader pointer to video_shader_driver.c 2015-12-08 09:27:25 +01:00
twinaphex
1e522f4035 (Android) Start calling SET_STUB_FRAME for LOST_FOCUS/GAINED_FOCUS 2015-12-07 21:07:04 +01:00
twinaphex
faad85e596 Create MENU_DISPLAY_CTL_SET_STUB_DRAW_FRAME/MENU_DISPLAY_CTL_UNSET_STUB_DRAW_FRAME 2015-12-07 20:57:24 +01:00
twinaphex
5ec501f934 move prevent_populate to menu_driver_ctl 2015-12-07 16:57:06 +01:00
Higor Eurípedes
e56c8feec9 (menu_display.c) Improve fallback DPI logic 2015-12-07 12:28:22 -03:00
twinaphex
b7982d9662 Cleanup 2015-12-07 16:14:36 +01:00
twinaphex
6664bf2522 Don't use menu_driver_get_ptr outside of menu/ files at all 2015-12-07 16:11:53 +01:00
twinaphex
b0b35ba9e5 Remove more references to menu_driver_get_ptr outside of menu/ files 2015-12-07 16:00:48 +01:00
twinaphex
2daf9832a9 Create new function types 2015-12-07 15:54:06 +01:00
twinaphex
2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
twinaphex
5b1e1592cb Rename rarch_main_iterate and rarch_main_data_iterate 2015-12-07 15:22:36 +01:00
Twinaphex
c2e0e8d9fb (menu_entries.c) Less pointer grabbing 2015-12-07 07:13:18 +01:00
twinaphex
0d52b8ec3a Header include nits 2015-12-06 22:48:57 +01:00
twinaphex
4218ff7781 move elem0_path 2015-12-06 21:23:18 +01:00
twinaphex
d84ffcc915 Attempt to make action_get_title_generic more robust 2015-12-06 21:22:19 +01:00
twinaphex
91cf0508fe core_info.c - Refactor 2015-12-06 20:44:21 +01:00
twinaphex
c6359d6dbc Divorce g_system_menu from global state 2015-12-06 19:31:47 +01:00
twinaphex
883c2a172a Exclude performance.h from runloop.h 2015-12-06 19:10:58 +01:00
twinaphex
8829b27cd2 Create RARCH_MENU_CTL_SET_TEXTURE 2015-12-06 18:30:45 +01:00
twinaphex
99ea0095a3 Create RARCH_MENU_CTL_FRAME 2015-12-06 18:28:37 +01:00
twinaphex
bea3f938d9 RARCH_MENU_CTL_DESTROY: Make sure all static local variables are
set back to default state
2015-12-06 18:23:46 +01:00
twinaphex
d1fa703991 Buildfix 2015-12-06 17:56:18 +01:00
twinaphex
1cfb39a9d1 merge menu.c and menu_driver.c 2015-12-06 17:55:27 +01:00
twinaphex
8e8f69bb69 Refactor away menu_driver_toggle 2015-12-06 17:41:00 +01:00
twinaphex
88a1f48cc3 Create RARCH_MENU_CTL_DESTROY 2015-12-06 17:15:32 +01:00
twinaphex
9471020bf7 Reduce some more msg char variables 2015-12-06 15:55:05 +01:00
twinaphex
c4d1f2c49d Get rid of some implicit memsets for font_params local variables 2015-12-06 14:46:50 +01:00
twinaphex
39e9d5c5ba Start cutting down on the size of some char local variables - we
don't need PATH_MAX_LENGTH for everything
2015-12-06 13:28:20 +01:00
Higor Eurípedes
e18e4494e7 (menu) Fix heap overflow
Some struct video_shader fields have sizes defined by macros, menu.h and
video_shader_parse.h had different values for some of them. This
resulted in menu.c allocating a ~120KB struct video_shader while
video_shader_parse.c tried to memset() a ~150KB. For some reason this
was only triggered in 32bit environments.
2015-12-05 18:15:35 -03:00
twinaphex
5b939e810c Get rid of driver_t and driver_get_ptr 2015-12-05 16:54:13 +01:00
twinaphex
18ab12ab83 Take header include record_driver.h out of driver.h 2015-12-05 16:12:29 +01:00
twinaphex
271975954f move camera_driver.h header incldue out of driver.h 2015-12-05 15:55:26 +01:00
twinaphex
19a7ee6486 Move header include for location/location_driver.h out of
driver.h
2015-12-05 15:47:33 +01:00
Twinaphex
aac2ceba02 Don't set menu_driver_ctx yet to NULL at RARCH_MENU_CTL_DEINIT time 2015-12-05 14:03:39 +01:00
twinaphex
736f343d9f Create RARCH_MENU_CTL_IS_ALIVE 2015-12-05 13:49:34 +01:00
twinaphex
2f29d9f18c Take out menu/menu_driver.h include from driver.h 2015-12-05 13:22:50 +01:00
twinaphex
66582c3f06 Move variables to menu_driver.c and turn them staticc 2015-12-05 13:13:49 +01:00
twinaphex
688ddcfd9e Rename the two variables 2015-12-05 13:09:27 +01:00
twinaphex
d3bc47c6dc Create RARCH_MENU_CTL_IS_SET_TEXTURE 2015-12-05 13:06:22 +01:00
twinaphex
841d6010a5 Create RARCH_MENU_CTL_DEINIT 2015-12-05 13:04:21 +01:00