Commit Graph

446 Commits

Author SHA1 Message Date
twinaphex
aaf6d64432 Create RARCH_MENU_CTL_SHADER_DEINIT 2015-12-10 20:09:15 +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
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
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
87ff4d7d82 Pass userdata handle to frame callback 2015-12-10 15:44:26 +01:00
twinaphex
a173b5a2bb Some more cleanups 2015-12-10 15:23:43 +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
f0e11659c7 Header include changes 2015-12-09 09:53:43 +01:00
twinaphex
39499eb107 Silence 'cannot be reached' warnings 2015-12-08 19:54:36 +01:00
twinaphex
5ec501f934 move prevent_populate to menu_driver_ctl 2015-12-07 16:57:06 +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
c6359d6dbc Divorce g_system_menu from global state 2015-12-06 19:31:47 +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
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
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
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
twinaphex
3845df84ef Small buildfix 2015-12-05 13:01:15 +01:00
twinaphex
783881941a Create menu_driver_ctl 2015-12-05 13:00:45 +01:00
twinaphex
c0a1a6a3fe Move system->shutdown to runloop_ctl, turn it into a local
static variable
2015-12-04 12:44:12 +01:00
twinaphex
3b176eed6f move frame_time_last out of system_t struct and make it
a static local variable inside rarch_main_iterate
2015-12-04 12:26:39 +01:00
twinaphex
f7bb3650d9 Simplify driver_set_nonblock_state 2015-11-29 17:45:07 +01:00
twinaphex
253649b0cf Move flushing_input to input_driver.c 2015-11-29 17:23:30 +01:00
Twinaphex
e0b90e6d11 Don't call driver_set_nonblock_state when we are about to shutdown 2015-11-23 23:18:40 +01:00
twinaphex
a9b7636ddb Abstract away GL code in menu behind display driver interface 2015-11-08 01:30:07 +01:00
Jean-André Santoni
0af5d405e4 (GLUI) Rename all materialui_ to mui_, materialui was too long 2015-11-05 16:55:32 +07:00
twinaphex
848a060562 Some CXX_BUILD fixes 2015-11-02 23:33:02 +01:00
twinaphex
66914232ab Replace most instances of GLUI (except for ident string) with
HAVE_MATERIALUI
2015-11-02 23:23:54 +01:00
twinaphex
7b35620859 (Menu) Simplify code 2015-11-02 22:25:39 +01:00
twinaphex
3be9b2752b (GLUI) Start renaming 'glui' 'materialui' under the hood 2015-11-02 20:46:22 +01:00
twinaphex
1e53e3e19a Backport pointer_tap changes 2015-11-01 20:44:04 +01:00
Twinaphex
5287e46e57 Revert "(Menu) Make the mouse left click and the pointer tap use the same cod…" 2015-11-01 20:35:43 +01:00
Jean-André Santoni
5b51124b62 (Menu) Make the mouse left click and the pointer tap use the same codepath 2015-11-02 02:22:21 +07:00
Jean-André Santoni
bd99e952d6 (Menu) Move pointer_tap on the menu driver side 2015-11-02 01:17:06 +07:00
twinaphex
db5d8d248b Create new char_list_new_special 2015-10-26 19:41:20 +01:00
twinaphex
b9febe2eed Add void pointer to string_list_special_new 2015-10-26 19:16:20 +01:00
twinaphex
08a97a4ca3 Create string_list_special.c 2015-10-26 08:39:35 +01:00
twinaphex
02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex
14bf640bf6 Create list_push callback - allows us to override lists 2015-10-22 04:12:32 +02:00
twinaphex
f48830cfc0 Revert "Simplify menu_entries_set_refresh"
This reverts commit 6ca0962f9e.
2015-10-22 03:54:34 +02:00
twinaphex
6ca0962f9e Simplify menu_entries_set_refresh 2015-10-22 03:45:14 +02:00
twinaphex
fe21aa49b4 Cleanup 2015-10-19 06:23:32 +02:00
twinaphex
38c66f62d0 Merge menu_video.c and menu_display.c 2015-10-18 07:15:54 +02:00
twinaphex
528a020d86 Always assume we are going to render when calling menu_driver_iterate 2015-10-11 12:58:21 +02:00
twinaphex
6d4900dc1c Create function pointer for iterate function 2015-10-03 05:08:29 +02:00
twinaphex
798e7fa7fa Move function pointer around 2015-10-03 04:32:38 +02:00
twinaphex
167cd269ae Add init_list to menu driver callbacks 2015-10-03 03:15:47 +02:00
twinaphex
a1ff4879f8 (Zarch) Integrate Zarch - can be heavily improved now - shows
promise
2015-10-02 02:15:46 +02:00
twinaphex
a8e5cf5483 Move functionality over to menu_driver_toggle 2015-09-27 01:43:13 +02:00
twinaphex
a3e133f847 Add menu_entries_set_refresh call in menu_driver_toggle 2015-09-27 01:38:21 +02:00
aliaspider
224dc0d34b use relative path in the include. 2015-09-13 23:13:36 +01:00
aliaspider
3733956fd0 (CTR/3DS) update makefile.ctr
- move per-core build settings to a seperate file.
- make the griffin build optional (enabled by default).
2015-09-13 22:33:35 +01:00
twinaphex
d3da036a4e Header cleanups 2015-09-04 21:43:08 +02:00
twinaphex
0077304833 Cleanups 2015-09-04 21:27:14 +02:00
twinaphex
bfc969faac Cleanup 2015-08-22 03:40:07 +02:00
twinaphex
a9418050a8 Cleanups 2015-08-22 01:43:13 +02:00
twinaphex
4ae1e9a53d Cleanups 2015-08-22 01:42:26 +02:00
twinaphex
2f3746a431 Make some more functions static 2015-08-18 02:54:42 +02:00
twinaphex
443fd6b4f2 Move menu_driver_render and menu_driver_render_messagebox to
menu_iterate.c and make them static
2015-08-18 01:48:04 +02:00
twinaphex
86894134cb Move menu_driver_navigation_* functions to menu_navigation.c and
make them static
2015-08-18 01:45:10 +02:00
Twinaphex
c16e114e62 Buildfix 2015-08-17 20:58:11 +02:00
twinaphex
0bf8a36d50 Fix RGUI fallback - if threaded video wrapper was enabled,
we could not grab an ident resembling 'd3d' or 'gl'
2015-08-17 20:51:12 +02:00
twinaphex
fb3009d07a (menu_driver.c) Cleanups 2015-08-17 05:13:45 +02:00
twinaphex
4d884d3687 Refactor earlier code 2015-08-17 05:09:36 +02:00
twinaphex
98c182d174 When MENU_VIDEO_DRIVER_OPENGL is set for menu driver, check
if the video driver is really GL
2015-08-17 05:07:25 +02:00
twinaphex
dc73edadcf Cleanup old ugly hack 2015-08-17 05:05:29 +02:00
Jean-André Santoni
c3bad44632 Start displaying messageboxes in cocoa_touch 2015-08-15 02:42:04 +02:00
Twinaphex
a5c1bab92c Robustness checks 2015-07-25 15:48:22 +02:00
twinaphex
039ba91c48 Add mechanism so that task_database informs the menu driver that
we need to refresh the horizontal list. Kivutar; make the icons
work again after we do a horizontal list refresh
2015-07-08 01:01:41 +02:00
twinaphex
943cf9a007 Add very sloppy hack - when GLUI and/or XMB is selected and we use
the D3D9 driver, fallback to RGUI. We will properly fix this later
on and not only for D3D either
2015-07-04 22:59:40 +02:00
twinaphex
24f5563220 (menu_driver.c) Cleanups 2015-06-19 07:07:17 +02:00
Higor Eurípedes
b304ddcf7a Fix menu_driver_list_insert leaks 2015-06-15 15:01:12 -03:00
twinaphex
ab1c5f95f1 Create menu_driver_list_get_selection 2015-06-15 19:00:52 +02:00
twinaphex
fd38003fd1 Rename menu_entries_cbs_* to menu_cbs_* 2015-06-12 16:01:46 +02:00
twinaphex
3a4ee2d89a Move file_list_free_userdata to menu_driver_list_free 2015-06-12 14:17:27 +02:00
twinaphex
2bf636b913 Rename menu_driver_list_delete to menu_driver_list_free 2015-06-12 14:15:48 +02:00
twinaphex
5f123d2b81 (menu/menu_driver.c) Only manipulate actiondata by going through wrapper functions 2015-06-12 04:09:35 +02:00
twinaphex
ab0a3dabf5 (menu) menu_driver_list_insert - Try to free actiondata first before allocating
it
2015-06-12 04:05:42 +02:00
twinaphex
2eba39e41d (XMB/Horizontal list)
1) Create list_get_entry
2) Will show one entry at the top that is the 'full database' for
that collection
2015-06-08 17:02:14 +02:00
twinaphex
35837fcc0f (Menu) Call menu driver's 'bind_init' function callback 2015-06-08 16:06:51 +02:00
twinaphex
2fc0d7c4b4 (Menu) Rename files 2015-06-08 14:44:24 +02:00
twinaphex
ce79c4a4a0 (Menu) Buildfix 2015-06-07 15:49:58 +02:00
twinaphex
38ce8ffcef Create menu_driver_list_get_size 2015-06-07 15:43:03 +02:00
twinaphex
2e81d7f8dc Refactor xmb_list_cache function callback 2015-06-07 11:20:36 +02:00
twinaphex
edc7f21cfe Cleanups 2015-06-05 18:22:15 +02:00
twinaphex
1b67864a3b Change menu_driver_load_background to menu_driver_load_image 2015-06-04 10:39:48 +02:00
twinaphex
63909ead00 Cleanup menu_driver_list_delete 2015-06-02 12:32:53 +02:00
twinaphex
9cae664955 (menu_driver.c) Cleanups 2015-06-02 12:31:49 +02:00
twinaphex
a5d8f37b34 Add action_scan 2015-05-27 06:57:01 +02:00
Twinaphex
4d0a39e20d Revert "(menu_driver.c) Fix leak" 2015-05-21 01:26:42 +02:00
Higor Eurípedes
80310d8df3 (menu_driver.c) Fix leak 2015-05-20 20:20:10 -03:00
twinaphex
c27211d60a Move menu_common_list_{insert|delete} to menu_driver.c 2015-05-19 23:28:32 +02:00
twinaphex
3c7e0b29fc Make menu_ctx_driver_get_ptr public - ALWAYS make sure that
no symbols will be redefined - Griffin depends on this
2015-05-19 21:55:44 +02:00
twinaphex
375c49b6c8 Move is_menu out of runloop struct and create get/set functions in menu_driver.c
and make the underlying variable static to make it thread-safe
2015-05-19 20:11:57 +02:00
twinaphex
168f681fa5 Rename menu_entries_init to menu_displaylist_init 2015-05-12 13:02:10 +02:00
twinaphex
1a152677a3 Get rid of entry_iterate callback in menu driver 2015-05-11 18:31:44 +02:00
Twinaphex
ec6b2dd0c5 (menu_driver.c) Buildfix 2015-04-26 00:24:43 +02:00
twinaphex
8f93e55d82 Make menu_driver_get_ptr more robust 2015-04-26 00:24:01 +02:00
Twinaphex
3e35593f59 (iOS) Implement UI companion driver for iOS CocoaTouch 2015-04-12 03:18:37 +02:00
twinaphex
aeb359f5b5 Go through more menu driver wrapper functions 2015-04-11 05:28:40 +02:00
twinaphex
8b10d0adc2 (menu_driver.c) Refactors 2015-04-11 05:15:38 +02:00
twinaphex
c260f28603 Create more menu wrapper functions 2015-03-22 07:07:07 +01:00
twinaphex
36351bf78d Create menu_driver_load_background 2015-03-22 06:48:03 +01:00
twinaphex
7d7f797c8f Go through menu_driver_populate_entries 2015-03-22 06:43:35 +01:00
twinaphex
d98de68107 Create menu_driver_render_messagebox 2015-03-22 06:37:26 +01:00
twinaphex
6a15f8e540 Fix fullscreen toggle 2015-03-22 06:29:51 +01:00
twinaphex
67c8c3a5e7 Create menu_driver_toggle 2015-03-22 06:02:02 +01:00
twinaphex
b8a9800743 Create menu_driver_render 2015-03-22 05:35:46 +01:00
twinaphex
e8060a2423 Create more menu driver wrapper functions 2015-03-22 05:32:43 +01:00
twinaphex
a760d25384 Create menu_driver_frame 2015-03-22 05:27:19 +01:00
twinaphex
0fd8fb77e9 Create menu context wrapper functions 2015-03-22 05:21:14 +01:00
twinaphex
e661d980cf Create menu_context_reset 2015-03-22 04:42:45 +01:00
twinaphex
508ade73f9 Rename menu_driver_resolve to menu_driver_get_ptr 2015-03-21 23:56:42 +01:00
twinaphex
7bc845006b Start replacing more g_settings usages 2015-03-20 20:43:22 +01:00
twinaphex
3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex
6e62983cd5 (Menu) Implement 'null' menu driver 2015-03-09 14:39:39 +01:00
twinaphex
4d31687899 Create menu_driver_resolve to avoid having to pass state pointer
around between functions
2015-02-13 19:00:59 +01:00
Jean-André Santoni
e330f03124 (Menu) init_lists was not used either 2015-02-10 15:02:38 +01:00
twinaphex
f3fed818ac Update menu_driver.c 2015-01-30 07:51:48 +01:00
twinaphex
e431f8e8f0 (Lakka) Remove Lakka - XMB will become the replacement driver 2015-01-27 01:56:04 +01:00
twinaphex
26ab324727 (OSX 10.6) Fix declaration shadows global variable warnings 2015-01-15 21:10:36 +01:00
twinaphex
6cdaa4e282 (MSVC) Build fixes 2015-01-12 22:47:12 +01:00
twinaphex
cc1bbac89c Move menu_driver.c to menu/ 2015-01-12 20:02:39 +01:00