262 Commits

Author SHA1 Message Date
jdgleaver
371d0b7395 Add optional menu screensaver 2021-04-01 17:26:43 +01:00
twinaphex
cd9d6c0511 gfx_display - Get rid of lots of pointer grabbing 2021-03-25 20:12:34 +01:00
twinaphex
8064af8f15 Get rid of more pointer grabbing 2021-03-25 19:22:12 +01:00
twinaphex
8b2eb8ed37 Cut down on config_get_ptr calls in menu_displaylist_ctl 2021-03-21 16:36:36 +01:00
twinaphex
e35ed84de9 (Menu) Cut down on config_get_ptr calls 2021-03-21 11:46:27 +01:00
twinaphex
a19c61ec7f (Ozone) Cut down on pointer grabbing - reduce calls to disp_get_ptr
and anim_get_ptr
2021-03-21 11:03:38 +01:00
twinaphex
a0a681b324 (Menu drivers) Less pointer grabbing - cut down on get_ptr calls 2021-03-20 17:45:05 +01:00
jdgleaver
d678fbd7b3 (Ozone) Ensure all members are initialised when allocating nodes 2021-03-16 10:14:52 +00:00
twinaphex
b8c51ed040 Remove unused variables 2021-03-15 09:32:47 +01:00
twinaphex
4e883c4568 Refactor menu_displaylist_setting away 2021-03-15 06:11:57 +01:00
twinaphex
14248f7401 (Menu) Iterate function callback was never used, remove it
- Also turn menu_driver_iterate into static function and
redesign code a bit; non-functional
2021-03-11 20:17:22 +01:00
Autechre
9f3ea51f77
Refactors pt4 (#12126)
* Cleanups:
- menu_driver_set_id - don't pass p_rarch to function
- Ozone: call ozone_list_cache directly instead of going through
wrapper function in retroarch.c that then calls ozone_list_cache
- Some other cleanups, non-functional

* (Menu) Replace calls to menu_driver_list_cache inside retroarch.c
2021-03-11 02:58:35 +01:00
twinaphex
bbe46333e1 Cut down on menu_input_dialog_get_display_kb calls 2021-03-10 05:49:58 +01:00
twinaphex
db314cf5df file_list_set_userdata / file_list_set_actiondata are trivial one-line
functions - just set it directly
2021-03-07 19:30:04 +01:00
twinaphex
1a9f1f6b33 gfx_display_init_first_driver was called twice, once invoked by
drivers_init, after that invoked by each menu driver's init function.
Taking the extra function call out of the menu driver's init function
2021-02-22 06:38:55 +01:00
twinaphex
de29587f25 ozone_auto_select_onscreen_entry - calling menu_navigation_get_selection
here is useless since it will be overridden immediately afterwards
2021-02-20 21:58:51 +01:00
Autechre
f661cc3fb5
Merge pull request #11572 from ImJezze/master
Option to open the file browser in the last used directory
2021-02-08 12:29:31 +01:00
ImJezze
270c41b35a Implement toggle to open the start directory at the last used location 2021-02-07 11:54:17 +01:00
twinaphex
5187957b3d Silence some implicit conversion warnings 2021-02-03 12:34:10 +01:00
twinaphex
542162c17b Silence some warnings 2021-02-03 10:39:29 +01:00
twinaphex
a772eb550d file_list_get_size - list can be NULL, in which case return 0 2021-01-21 00:24:32 +01:00
twinaphex
7867c4b70e Get rid of file_list_get_size calls - one line wrapper function 2021-01-20 08:31:05 +01:00
twinaphex
9a4472266f Try to avoid hot function file_list_get_userdata_at_offset 2021-01-19 07:52:13 +01:00
jdgleaver
b1ee5a2421 (X11) Fix mouse input when mouse is grabbed 2021-01-16 13:57:25 +00:00
David Guillen Fandos
a442696b71 First attempt at adding proper brightness
Supports Switch and OGA
2020-11-26 19:22:05 +01:00
twinaphex
5f8c270d4c Make update_time_callback a part of the animation struct 2020-10-15 08:35:37 +02:00
twinaphex
379bd80cda Get rid of gfx_animation_ctl 2020-10-14 04:40:20 +02:00
twinaphex
ac03578617 Remove some getter functions 2020-10-14 02:24:18 +02:00
twinaphex
a6eaac2a84 Get rid of some static code analysis warnings 2020-10-12 00:00:54 +02:00
Autechre
38ccca18f4
Merge pull request #11429 from natinusala/ozone-wiggle-wraparound
ozone: implement wiggling for main menu when wrap-around is disabled
2020-10-10 19:02:45 +02:00
natinusala
6619760e6f ozone: implement wiggling for main menu when wrap-around is disabled 2020-10-10 16:20:46 +02:00
twinaphex
2e94f3d5d7 move ozone_pure_white to ozone userdata 2020-10-08 18:19:50 +02:00
natinusala
6d1660fcbd ozone: add cursor wiggle animation 2020-10-04 19:08:42 +02:00
twinaphex
20371e5102 (gfx_thumbnail) get rid of small getters 2020-10-02 21:59:02 +02:00
twinaphex
cecd48e6b5 gfx_display_draw_cursor - take out early return 2020-10-01 18:22:29 +02:00
twinaphex
03ff504aa8 Remove gfx_display_scissor_end 2020-09-28 04:04:16 +02:00
twinaphex
e159ba1542 Cleanups 2020-09-27 02:48:40 +02:00
twinaphex
eb0376fe7d Do white texture freeing outside of gfx_display_init_white_texture 2020-09-24 07:03:24 +02:00
twinaphex
a74d24c3ce Rename gfx_display_allocate_white_texture to
gfx_display_init_white_texture
2020-09-24 06:46:21 +02:00
twinaphex
a0ae6be35b Stop using small wrapper functions in gfx_display 2020-09-23 20:36:25 +02:00
twinaphex
43b43351fa Start making gfx_display_blend_begin and gfx_display_blend_end
unnecessary
2020-09-23 09:32:42 +02:00
twinaphex
3a37e13a54 Call video_driver_set_viewport directly 2020-09-15 11:05:47 +02:00
twinaphex
80e4524878 Turn menu_entry_init into macro 2020-09-13 09:03:21 +02:00
twinaphex
2e87e3bc64 (Menu drivers) Start using direct entry_action function instead
of going through wrapper functions
2020-09-13 08:48:30 +02:00
twinaphex
ba9ad1057f Get rid of menu_entry_get_rich_label/menu_entry_get_value 2020-09-12 18:48:22 +02:00
twinaphex
eb1ab2e429 (Ozone) Cleanups 2020-09-01 07:26:04 +02:00
twinaphex
0ffb988554 (Ozone) Cleanup 2020-09-01 05:11:28 +02:00
twinaphex
e1f16f1855 (Ozone) remove abstraction layer ozone_draw_text - just call
gfx_display_draw_text directly
2020-09-01 05:06:21 +02:00
twinaphex
201f119c51 Rewrite ozone_draw_text 2020-08-31 04:13:23 +02:00
twinaphex
ecc54b4d4e (Menu) Put selection_buf_old on stack too 2020-08-24 16:08:09 +02:00