Commit Graph

548 Commits

Author SHA1 Message Date
twinaphex
017961d433 Cleanups 2017-09-08 23:25:02 +02:00
twinaphex
79f3f6ee72 Reduce size of some arrays 2017-09-08 23:19:55 +02:00
twinaphex
ef79711837 (MaterialUI) Hook up framebuffer opacity 2017-08-15 22:43:09 +02:00
twinaphex
db24e4da42 Try to avoid countless string_is_equal function calls
being called multiple times per frame render - prebake
these decisions instead inside list_insert
2017-08-15 04:33:36 +02:00
twinaphex
3687a706b9 More documentation 2017-07-31 18:18:13 +02:00
twinaphex
e7eac6004b MOre documentation 2017-07-31 17:58:28 +02:00
Conn
f413b23f06 xmb: enable menu transparency support when emulation is paused (v2)
Allow xmb menu driver transparency when "Pause when menu activated" is enabled (default setting).
This is also the default behaviour of the rgui driver and is helpful for users to preview
video/shader changes on the fly.

Issues fixed:

gfx/video_driver: enable menu transparency only when game is loaded (as a loaded core can display
                  black or corrupt image)
gfx/video_driver: don't clobber cached frame during driver reinit if game was loaded
                  (fixes missing menu background/paused foreground on full screen toggle)
menu/drivers/xmb: ensure transparency is applied when game is loaded and no shader pipeline active.
menu/menu_driver: explicitly apply transparency only for existing textures (i.e. wallpapers), to
                  avoid background of cores with no content yet loaded mixing with wallpaper.
2017-06-02 02:55:59 +01:00
twinaphex
44b4a4e028 Revert "xmb: enable menu transparency support when emulation is paused"
This reverts commit 17d0037bd5.
2017-06-01 17:21:55 +02:00
Conn
17d0037bd5 xmb: enable menu transparency support when emulation is paused
Allow xmb menu driver transparency when "Pause when menu activated" is enabled (default setting).
This is also the default behaviour of the rgui driver and is helpful for users to preview
video/shader changes on the fly.

Issues fixed:

gfx/video_driver: enable menu transparency only when game is loaded (as a loaded core can display
                  black or corrupt image)
gfx/video_driver: don't clobber cached frame (fixes missing background on full screen toggle)
menu/drivers/xmb: ensure transparency is applied when game is loaded and no shader pipeline active.
menu/menu_driver: explicitly apply transparency only for existing textures (i.e. wallpapers), to
                  avoid background of cores with no content yet loaded mixing with wallpaper.
2017-05-31 23:45:16 +01:00
Brad Parker
78a0711bff XMB: prevent null pointer dereference with GDI driver 2017-05-29 20:35:33 -04:00
twinaphex
449483206f Revert "New attempt to fix memory leaks of struct retro_system_info"
This reverts commit a1d3dd69dd.
2017-05-30 01:44:49 +02:00
twinaphex
a1d3dd69dd New attempt to fix memory leaks of struct retro_system_info
char variables
2017-05-29 22:24:10 +02:00
twinaphex
44bf15ad28 Remove unused menu_display_msg_queue 2017-05-29 05:34:24 +02:00
twinaphex
30c5a2870f Put this back here 2017-05-28 19:11:18 +02:00
twinaphex
66f056322a Fix pointer overflow 2017-05-28 17:53:45 +02:00
twinaphex
3fbed8df27 (Menu) Menu driver no longer uses a duplicate system info
struct
2017-05-28 17:21:57 +02:00
twinaphex
c74104f8c9 Get rid of RARCH_MENU_CTL_SYSTEM_INFO_* 2017-05-28 16:25:46 +02:00
twinaphex
b5aef51cc0 Revert "Make this code somewhat more like the other menu drivers"
This reverts commit 6c5d5ea497.
2017-05-28 15:14:35 +02:00
twinaphex
6c5d5ea497 Make this code somewhat more like the other menu drivers 2017-05-28 15:13:18 +02:00
twinaphex
721c6bc5bb Create menu_driver_destroy 2017-05-28 15:09:17 +02:00
twinaphex
b8041cc93b Add further conditional check 2017-05-28 13:51:55 +02:00
twinaphex
3ec06a3a4c Move back to old code prior to commit 85afd63 2017-05-28 13:34:30 +02:00
twinaphex
a626a30098 Turn menu_display_set_alpha into macro 2017-05-27 16:52:52 +02:00
twinaphex
087debe45d Cleanups 2017-05-27 16:50:36 +02:00
twinaphex
09ddd9ddcf Cleanups 2017-05-27 16:31:47 +02:00
twinaphex
70ffe1c12e Cleanups 2017-05-27 16:26:45 +02:00
twinaphex
1acfb9fed6 Cleanups 2017-05-27 16:23:46 +02:00
aliaspider
db490a69a3 (WiiU) add a menu display driver. enable MATERIALUI and XMB. 2017-05-22 01:45:40 +01:00
twinaphex
cb2e898d8c Cleanups 2017-05-19 15:31:14 +02:00
twinaphex
59fb7700b8 Combine menu_driver.c and menu_display.c 2017-05-19 15:25:14 +02:00
Twinaphex
e42ed3e3df (iOS) Should fix some of the crashes 2017-05-19 14:46:59 +02:00
twinaphex
a137332218 Prevent overflowed array index read 2017-05-18 08:08:41 +02:00
twinaphex
2e490037ab Cleanups 2017-05-17 09:49:14 +02:00
twinaphex
9096038e20 Correct set_thumbnail_system/set_thumbnail_content functions 2017-05-17 09:32:17 +02:00
twinaphex
ffac0c119e Cleanups 2017-05-17 07:55:02 +02:00
twinaphex
fe4622fd3b Cleanups 2017-05-17 07:51:37 +02:00
twinaphex
204f0183e1 Header cleanups 2017-05-17 05:06:52 +02:00
twinaphex
529349019d Combine menu_navigation_ctl and menu_driver_ctl 2017-05-17 04:57:43 +02:00
twinaphex
c0027ae9a1 Cleanup 2017-05-17 04:32:32 +02:00
twinaphex
7e08752da2 Revert "We can now change menu drivers on the fly"
This reverts commit 85afd633e4.
2017-05-17 04:14:29 +02:00
twinaphex
99466cba86 Cleanups 2017-05-17 03:35:20 +02:00
twinaphex
4436d5998b Cleanups 2017-05-17 03:30:37 +02:00
twinaphex
5dcebe4718 Cleanups 2017-05-17 03:25:23 +02:00
twinaphex
3a6ada1652 Cleanups 2017-05-17 03:19:19 +02:00
twinaphex
85afd633e4 We can now change menu drivers on the fly 2017-05-17 03:04:36 +02:00
twinaphex
ee8dc151a3 Combine menu_driver.c and menu_navigation.c 2017-05-17 03:00:32 +02:00
Jean-André Santoni
17837ec81d Display thumbnails in the Database Manager 2017-05-15 13:05:33 +02:00
twinaphex
d28ec842f3 Add menu_driver_push_list 2017-05-15 08:29:47 +02:00
twinaphex
575095c8e6 Add menu_driver_load_image 2017-05-15 08:21:02 +02:00
twinaphex
076a83a62b Remove some RARCH_MENU_CTL_ actions 2017-05-15 08:03:35 +02:00
twinaphex
f584d1cea5 Add menu_driver_populate_entries 2017-05-15 07:59:24 +02:00
twinaphex
1fef134f04 Create menu_driver_navigation_set 2017-05-15 07:56:22 +02:00
twinaphex
bf3188eac4 Combine runloop_ctl and rarch_ctl 2017-05-15 05:06:23 +02:00
twinaphex
dd79c9a236 Pass is_idle to menu driver render function 2017-05-13 21:06:06 +02:00
twinaphex
a7d09733a6 Get rid of rarch_ctl/runloop_ctl calls from menu_display.c 2017-05-13 20:00:51 +02:00
twinaphex
42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
twinaphex
a5d7bedb8a Pass video_is_threaded variable to menu driver init function 2017-04-29 17:27:54 +02:00
twinaphex
6bae9244e8 Create menu_driver_init 2017-04-29 17:23:09 +02:00
twinaphex
b515cd10f1 Pass video_is_threaded to context_reset 2017-04-29 17:16:05 +02:00
twinaphex
6f0df4cf60 Create menu_driver_context_reset 2017-04-29 17:13:18 +02:00
twinaphex
f0c2d786ae Update arrays struct 2017-04-28 22:59:13 +02:00
twinaphex
05e4ec733e Move uint variables 2017-04-28 21:03:04 +02:00
twinaphex
ed53be7c81 Move all bool settings 2017-04-28 14:11:34 +02:00
twinaphex
ae1c26cbc4 Restructure settings struct 2017-04-28 00:00:43 +02:00
twinaphex
c38f86e14a Create menu_driver_{decrement|increment}_navigation 2017-04-23 21:17:01 +02:00
twinaphex
e0483f73bc Create menu_driver_list_clear 2017-04-23 21:13:33 +02:00
twinaphex
13e4148996 (Menu) Cleanups 2017-04-23 20:22:41 +02:00
twinaphex
77dde2a85c Simplifications 2017-04-23 20:16:14 +02:00
twinaphex
7ea0528c6b Turn MENU_NAVIGATION_CTL_{SET|GET}_SELECTION into separate
functions
2017-04-23 14:31:49 +02:00
twinaphex
ccc8d1aec2 Start using configuration_set_bool 2017-04-23 13:32:16 +02:00
Jean-André Santoni
002928c399 (Menu) Separate callbacks for pointer_up and pointer_down 2017-03-04 15:11:29 +01:00
twinaphex
58c08c0c02 Cleanups 2017-02-27 09:33:20 +01:00
Twinaphex
b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex
1f9059f2b5 Make sure to save the config file after bundle_decompressed 2017-02-23 15:16:51 +01:00
twinaphex
0d5b3b9273 Create menu_driver_is_alive 2017-01-23 00:37:52 +01:00
twinaphex
e33f38d5b2 Get rid of more MENU_CTL actions 2017-01-22 17:22:05 +01:00
twinaphex
985c6a4ed2 Create menu_driver_render 2017-01-22 17:19:10 +01:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
768ce0854c Make driver_set_nonblock_state a public function 2017-01-22 12:47:17 +01:00
twinaphex
832840f91c Cut down on more video_driver_get_size calls 2017-01-19 01:33:47 +01:00
twinaphex
bf511b72e6 Create menu_driver_frame 2017-01-18 21:23:18 +01:00
twinaphex
ec370d54b2 Cleanups 2017-01-17 16:55:34 +01:00
twinaphex
2273b1d05f (menu_animation.c) Create more separate functions 2017-01-17 16:40:48 +01:00
twinaphex
ef974086aa Split up menu OSK code to separate file - menu/widgets/menu_osk.c 2017-01-12 11:31:24 +01:00
twinaphex
899601e7bb Do an early return inside menu_shader_manager_init if already initialized 2017-01-11 03:36:35 +01:00
twinaphex
2d399fd370 (Griffin) Buildfix 2017-01-09 03:57:47 +01:00
twinaphex
25decd033a Cleanup menu_shader.c 2017-01-09 03:53:55 +01:00
twinaphex
9d9a5e71ab (XMB) Set fullpath dir for each node entry 2017-01-07 18:32:55 +01:00
twinaphex
449ccb3038 (menu_driver.c) Header include cleanup 2016-12-22 00:58:19 +01:00
twinaphex
6cad8e3b74 core_info should be correctly initialized now from the commandline;
and not just when launched from menu
2016-12-22 00:50:47 +01:00
Jean-André Santoni
2fc592bbe6 Savestate thumbnails reimplementation 2016-12-01 20:31:07 +01:00
twinaphex
e9daa5e99c Cleanups 2016-11-20 14:42:20 +01:00
Jean-André Santoni
60abe24608 Fix a crash on RGUI 2016-10-30 20:41:32 +01:00
Jean-André Santoni
41611e3d74 Touch and mouse support for the OSK 2016-10-30 11:48:48 +01:00
Brad Parker
28c0e78292 ignore trigger input while binding a new key 2016-10-29 21:58:43 -04:00
Twinaphex
535215eefa Merge pull request #3879 from libretro/master
Merge
2016-10-28 07:44:10 +02:00
twinaphex
99c76f7aba Comment this out 2016-10-28 06:59:18 +02:00
Brad Parker
b7a8ff9395 fix menu toggle with F1 2016-10-27 23:43:07 -04:00
Brad Parker
d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
twinaphex
2bcbe017cd More work 2016-10-27 00:14:01 +02:00
twinaphex
a9a2749af9 Add input_menu_keys_pressed 2016-10-27 00:13:29 +02:00
twinaphex
ed5b919d7f Get rid of some RARCH_MENU_CTL_ commands 2016-10-26 08:43:59 +02:00
Jools Wills
eac4fc981b only save config when menu_show_start_screen is enabled if config_save_on_exit is also enabled 2016-10-13 13:54:18 +01:00
twinaphex
e54329c714 Get rid of more HAVE_ZLIB ifdefs 2016-09-19 01:56:26 +02:00
twinaphex
f648ea8602 Cleanups 2016-09-15 16:07:20 +02:00
twinaphex
233925bea6 Rename widgets/menu_popup to widgets/menu_dialog 2016-09-15 15:57:25 +02:00
twinaphex
892c0a6f52 Create menu/widgets/menu_list 2016-09-15 00:10:37 +02:00
twinaphex
056cc8ece8 Move menu_popu.c to menu/widgets 2016-09-11 21:03:31 +02:00
twinaphex
1fea80c630 Another header cleanup 2016-09-11 18:49:38 +02:00
twinaphex
4b2adec67a Add HAVE_CONFIG_H ifdef to menu/menu_driver.c 2016-09-07 00:01:49 +02:00
twinaphex
82d82110ae Merge system.h with core.h 2016-09-06 06:11:54 +02:00
twinaphex
075aea2289 Header include cleanups 2016-09-06 00:56:00 +02:00
twinaphex
e5f11d43bf Fix statement is unreachable warning 2016-09-05 18:37:38 +02:00
Brad Parker
ef29bc96b0 do not return to game after canceling quit confirm if user toggled the menu manually 2016-09-05 11:35:27 -04:00
Brad Parker
276542ea98 more menu popup refactor, add back working confirm_on_exit 2016-09-05 01:04:15 -04:00
twinaphex
9e61f6ffd0 Cleanups 2016-09-04 23:34:24 +02:00
twinaphex
7c6de82096 Cleanups 2016-09-04 23:27:08 +02:00
twinaphex
575e7b36ab Start using menu_popup_push_pending 2016-09-04 23:23:54 +02:00
twinaphex
8b793b7924 Revert "More cleanups/move more state to menu_popup.c"
This reverts commit a20cd41d4b.
2016-09-04 23:16:06 +02:00
twinaphex
95041d948b Revert "Make menu_popup.c self-contained"
This reverts commit 9e2a148b7e.
2016-09-04 23:15:01 +02:00
twinaphex
9e2a148b7e Make menu_popup.c self-contained 2016-09-04 23:14:04 +02:00
twinaphex
a20cd41d4b More cleanups/move more state to menu_popup.c 2016-09-04 23:07:10 +02:00
twinaphex
36092d8033 Create struct for help_screen 2016-09-04 22:26:33 +02:00
twinaphex
201e03d202 Start moving menu_shader variables out of menu_state struct 2016-09-04 22:02:29 +02:00
Brad Parker
27925da4ae revert confirm_on_exit option for now 2016-09-04 15:31:50 -04:00
Brad Parker
ee7545857c add config option to enable quit confirmation 2016-09-01 21:47:25 -04:00
twinaphex
ff07d3569b Move menu_update_libretro_info to menu_driver.c 2016-08-17 12:51:26 +02:00
twinaphex
66df62938c Prevent some unused variable warnings 2016-07-10 19:29:52 +02:00
twinaphex
1fc3f2b057 Add parameter to generic_action_ok_displaylist_push 2016-07-09 18:06:50 +02:00
twinaphex
97dfcbc4b4 Create menu_driver_ident 2016-07-09 16:45:36 +02:00
twinaphex
9cdfad3fd4 Refactor menu_driver_ctl 2016-07-09 16:42:31 +02:00
twinaphex
fe70f766f1 Cleanups 2016-07-01 20:59:51 +02:00
twinaphex
f513e1fac2 (menu_cbs.c) Cleanups 2016-07-01 20:23:22 +02:00
twinaphex
35605f43fa Remove part of comment 2016-06-28 01:02:27 +02:00
twinaphex
24ead80e8b menu_driver_toggle - always set 'flush' 2016-06-28 01:02:04 +02:00
twinaphex
1a60d257ee Remove menu_driver_toggle_binds 2016-06-27 00:46:05 +02:00
twinaphex
3a4a00ffe6 Comment this out for now until it works without breaking hotkey binds 2016-06-27 00:05:59 +02:00
twinaphex
7b460c14b7 Create menu_driver_toggle_binds 2016-06-26 22:50:00 +02:00
Twinaphex
178b479072 Prevent crash at exit due to dereference of pointer 2016-06-26 10:39:27 +02:00
Twinaphex
88cc0ce8bb Remove unused variables 2016-06-26 10:17:25 +02:00
twinaphex
9f8b57baca Remove PENDING_ACTION code - not used 2016-06-26 08:05:42 +02:00
twinaphex
e91136017e Create retro_keybinds_menu - and change settings binds to this
when we toggle the menu
2016-06-26 08:02:29 +02:00
twinaphex
0d3955196d Take out crappy hacks - if users want this they will just have to change
the default keybinds then
2016-06-26 07:50:16 +02:00
FIX94
528b2b9b00 only remove core info on close content if the current platform is either dynamic or can fork to other cores, would get stuck on no core otherwise 2016-06-24 20:10:11 +02:00
twinaphex
7d93f63e6a Move menu_hash_to_file_type to msg_hash 2016-06-20 06:44:05 +02:00
twinaphex
2ebd6e6f49 Header cleanups 2016-06-20 06:34:30 +02:00
twinaphex
284f8cfd23 Remove menu_hash_ files 2016-06-20 03:35:09 +02:00
twinaphex
8c75bc7618 Cleanups 2016-06-18 02:20:13 +02:00
twinaphex
f76e7549ce Move more code over to menu_hash_to_file_type 2016-06-17 23:27:17 +02:00
twinaphex
14b0b75fe9 Move more code over to menu_hash_to_file_type 2016-06-17 23:24:15 +02:00