Commit Graph

653 Commits

Author SHA1 Message Date
LibretroAdmin 0d16eb6e10 (Menu) menu_entries - get rid of boolean variables and
turn them into flags
2022-10-25 17:22:35 +02:00
sonninnos 0597aa6939
Thumbnail fullscreen toggle behavior correction (#14527) 2022-10-18 10:05:01 +02:00
Michael Burgardt 254ac65549
Add British English language option (#14504) 2022-10-12 23:26:00 +02:00
Bernhard Schelling c9bbe7683f
Add View feature (#14467)
* Add View feature
Add saving of a filter set in the Explore menu into a so called "View" file which then gets listed alongside playlists.
This also adds the ability to filter a category by range in the Explore menu and not just filter on exact matches.

* Menu improvements for explore and views

* Collapse ozone sidebar in view

* Fix problems with the sidebar in explore/view

* Ignore view files in the Qt playlists menu

* Add missing semicolon

* Support downloading thumbnails in views
2022-10-10 06:36:02 +02:00
LibretroAdmin 91119d038f
(gfx_display/gfx_animation) Use flags instead of bools (#14488)
* (gfx_display/gfx_animation) Use flags instead of bools
* (task_save) Use flags instead of bools
2022-10-07 00:10:32 +02:00
reallibretroadmin 0033224c25 Fix some implicit conversion signedness warnings 2022-10-02 03:22:34 +02:00
LibretroAdmin 36d60f6bf4 (Ozone/MaterialUI/RGUI/XMB) Get rid of some tertiary operators - was basically reassigning the same
value
2022-09-12 22:20:03 +02:00
sonninnos c4c55077a1
Allow On-Demand Thumbnails in Explore menu (#14385) 2022-09-05 00:01:38 +02:00
LibretroAdmin 60030e373e
Reduce snprintfs + assorted cleanups (#14369)
* Reduce snprintf and/or use them only for concatenating the
string formatting of numbers/values
* Reduce snprintfs
* Use snprintf for concatenation at parts
* * We don't need to NULL-terminate strings that get passed to strlcpy/strlcat
and friends
* Use snprintf for concatenation in certain instances
* Do away with some string intermediary copies where we can avoid it
* Fix warning unused variable
* * Reduce snprintf calls
* Rewrite snprintf calls into strlcpy where possible
* Use snprintf for concatenation when necessary
* Do away with some string intermediary copies in task_translation.c
* run_translation_service - make switch slightly smaller
2022-09-01 04:17:07 +02:00
sonninnos a96c5f77c8
(Ozone/XMB/RGUI) Explore menu thumbnails (#14365) 2022-08-31 14:42:10 +02:00
LibretroAdmin ef0e9ccc38 (MaterialUI/RGUI/XMB) Less snprintf calls
(menu_displaylist.c) Do away with one less strlen by using
the return value of snprintf here instead
2022-08-29 14:38:26 +02:00
LibretroAdmin 2bc723bb4b (Menu) Move duplicate code is_running_quickmenu to menu_driver.c 2022-08-24 13:28:53 +02:00
LibretroAdmin e769436876 (word wrap functions in stdstring.c) Avoid implicit strlens, caller
should pass the 'length' to the function instead
2022-08-23 17:06:01 +02:00
sonninnos c818024bc6
(RGUI) Savestate thumbnails (#14326) 2022-08-18 02:12:50 +02:00
LibretroAdmin b2634ea588 * Create fill_pathname_join_special - and specify fill_pathname_join
as deprecated.
* Use fill_pathname_join_special in the vast majority of cases where
we can ensure out_path is a new empty string
* Get rid of some extension concatenation with strlcat where encountered
* Some general cleanups with NULL termination of strings that get immediately
passed to strlcpy/strlcpy-adjacent functions
2022-08-04 14:19:38 +02:00
LibretroAdmin 88bc26da4e Replace some more trivial strlcat calls 2022-08-04 04:05:27 +02:00
libretroadmin 367dfd6e71 No longer include file_path_special.h in gfx_display.h 2022-06-26 18:35:07 +02:00
libretroadmin 0356c563b8 Simplify gfx_display_check_compatibility 2022-06-20 20:19:16 +02:00
libretroadmin 28bfa238d4 (RGUI) Buildfix 2022-05-21 13:54:37 +02:00
libretroadmin 63157a6f09 (RGUI) Cleanups 2022-05-20 21:28:15 +02:00
libretroadmin 05eca53290 (RGUI) Cleanups 2022-05-20 19:20:59 +02:00
libretroadmin 93e0baf715 (RGUI/MaterialUI) Cleanups 2022-05-20 16:10:15 +02:00
Michael Burgardt e185955bc1
Add Catalan language option (#13850) 2022-04-20 14:37:24 +02:00
Joel Puig Rubio 03146e4604
Label Valencian as a Catalan dialect (#13837) 2022-04-19 11:58:50 +02:00
Michael Burgardt fd35162cbe
Add Valencian language option (#13789) 2022-03-30 17:59:09 +02:00
OsirizX 4d367a2b59 [PSL1GHT] Add RSX graphics support for ps3 2022-03-27 18:03:30 +02:00
DisasterMo 2f88edb93f Add 6x10 font compatibility
This adds compatibility with 6x10 fonts. The hope is to be able to add more fonts to RGUI, like Latin Supplement Extended and others, in the future.
2022-03-22 18:14:46 +01:00
sonninnos 8fc14354e9 (RGUI) Add 'Gray Dark + Light' themes 2022-03-22 17:27:54 +01:00
Michael Burgardt 56f2e2f7b8
Add Czech language option (#13680) 2022-03-07 19:11:39 +01:00
Vladimir Serbinenko c11a798467
Series of djgpp fixes (#13705)
* features_cpu: Fix clock for djgpp

* frontend_dos_set_fork: Fix wrong id names

* dos_input: Fix missing indexing

* dos_joypad: Fix wrong id name

* Fix menu drawing

Menu is already prescaled to VGA_WIDTH x VGA_HEIGHT in vga_menu_frame. We need
to always use those dimensions

* Change dos compilation from griffin to common

* Set vga menu size to 320x200

* Add DOS compilation in gitlab-ci.yml
2022-03-05 15:53:18 +01:00
twinaphex 460f5e745d Silence some MSVC 2019 code analysis warnings 2022-03-05 14:39:56 +01:00
Vladimir Serbinenko 4a53c6771c
Several fixes and improvements do NGC and Wii (#13698)
* Support new elf2dol path in Makefile.griffin

* Fix NULL pointer dereference when no core info is available

* Fix double include of different versions of libogc

* Move ngc and wii to Makefile.common

Resulting binary is 60K *smaller*. This is surprising but probably due to
less inlining happening

* gx_gfx: Fix hang on gfx initialization

* Remove sthread_isself on NGC/Wii

It relies on pthread_equal that is not there for either legacy pthreads
or normal pthreads on those platforms

* Wii networking

* Missing includes in split

* Network fixes

* Fix logging of non-format string as a format

* Support for gx netlogger

* Network fix

* Network fixes

* Network info

* gx: Move config files to app directory

Otherwise it clashes between wiiU and vWii version with unpredictable
effects
2022-03-04 13:43:00 +01:00
MrHuu a7b7472c34
(RGUI) Add dynamic theme (#13612)
* (RGUI) Add dynamic theme

* (RGUI) Cleanup

* (RGUI) Apply jdgleaver's dynamic theme patch
2022-02-16 15:56:10 +01:00
Michael Burgardt 311fec15d9
Add Indonesian, Swedish and Ukrainian language options (#13490)
* Add Indonesian, Swedish and Ukrainian language options

* Enable Indonesian and Swedish localisations for RGUI
2022-01-19 19:12:55 +01:00
Tony 9da43ad34e
(RGUI) Add Finnish to supported languages (#13389) 2021-12-21 21:15:26 +01:00
Salvador 58e7dd8a1a
Add Miyoo target (#12860)
* add miyoo target
2021-10-08 13:53:49 +02:00
twinaphex fde3406d1b Get rid of input_event_get_osk_ptr/get_osk_grid 2021-10-01 07:37:33 +02:00
twinaphex 490233f3c5 wite_texture is now a static global variable inside gfx_display.c
- no longer referenced outside
2021-09-13 19:55:53 +02:00
twinaphex 7f08729a5e Revert "(gfx_display) Make gfx_display_set_fb_size - get rid of the small"
This reverts commit 618cfacd59.
2021-08-26 18:42:43 +02:00
twinaphex 618cfacd59 (gfx_display) Make gfx_display_set_fb_size - get rid of the small
getter/setter functions - also finally take this opportunity to stop
setting framebuffer width/height/pitch for menu drivers that don't
use a framebuffer texture at all
2021-08-26 18:26:44 +02:00
jdgleaver af88aaee77 (RGUI) Enable fullscreen thumbnail toggle using RetroPad 'start' button 2021-07-19 14:15:28 +01:00
jdgleaver 137f18bed1 (RGUI) Fix sublabel length when menu clock is disabled 2021-07-14 15:03:29 +01:00
John Parton f6aeb717ba Basic rs90 build
DINGUX_BETA has clock_gettime libogc
Add tinyalsa support to rs90
2021-07-13 11:36:48 -05:00
toshixm 4fab84ca9e improve message wrapping with CJK languages 2021-06-03 21:09:35 +09:00
jdgleaver 358cafa978 (RGUI) Fix saving of config files/overrides when 'Lock Menu Aspect Ratio' is enabled 2021-05-14 10:50:18 +01:00
jdgleaver fc283123bb (RGUI) Fix display of 'Video > Scaling' menu when 'Lock Menu Aspect Ratio' is enabled 2021-04-22 15:55:59 +01:00
jdgleaver 54c45bd54e (RGUI) Add option to disable menu transparency 2021-04-15 12:32:39 +01:00
twinaphex fb1258b817 Set anim.update_timecb to NULL immediately after menu driver's 'free'
function has been called
2021-04-08 01:37:47 +02:00
jdgleaver 72f08bb1b4 (RGUI) Fix LGTM warning - 'Multiplication result converted to larger type' 2021-04-02 10:16:47 +01:00
jdgleaver 371d0b7395 Add optional menu screensaver 2021-04-01 17:26:43 +01:00
twinaphex 00f60ec577 Remove unused variable 2021-03-22 10:01:09 +01:00
twinaphex 1f4dd522ab (RGUI) Cut down on gfx_display_get_fb_size 2021-03-22 01:58:43 +01:00
twinaphex c053a871d0 Cut down on anim_get_ptr calls 2021-03-21 11:09:22 +01:00
twinaphex 94ae0460cc Cut down on calls to gfx_display_get_fb_size 2021-03-20 16:52:53 +01:00
twinaphex 40ef5f7e65 Prevent calls to menu_driver_navigation_set inside menu drivers -
can just call the accompanied function internally
2021-03-15 06:56:55 +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
twinaphex a6c11b5ed3 rgui_render - call menu_entries_get_size later in function
ozone_draw_entries - MENU_ENTRIES_CTL_START_GET was unnecessary to call
2021-03-11 19:48:56 +01:00
Job Adrian Salinas Gonzalez de4138b45c
[RGUI] Added 5:3 and 5:3 (centered) options for changing rgui aspect ratio (#12072)
* Added 5:3 and 5:3 (centered) options for changing rgui aspect ratio

* Fixed option label
2021-02-24 03:58:48 +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
jdgleaver 3a6558c2f1 (RGUI) Add Russian language support 2021-01-13 10:00:51 +00:00
jdgleaver 0f0ccbadc0 (RGUI) Add support for CJK fonts 2020-12-10 15:17:26 +00: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 7c48e77bcd Get rid of getter functions 2020-10-14 02:33:15 +02:00
twinaphex ac03578617 Remove some getter functions 2020-10-14 02:24:18 +02:00
jdgleaver 3bd66cc14d OpenDingux port improvements: Phase 1 2020-10-01 15:56:14 +01:00
twinaphex 1e61480e0a Get rid of get/set_header_height 2020-09-28 05:06:02 +02:00
twinaphex d44ab6facf framebuffer_dirty functions - remove these and set member variables
directly in rgui.c and retroarch.c
2020-09-28 03:49:13 +02:00
twinaphex c0a790e74a Buildfix for platforms that don't have widget support 2020-09-24 22:20:12 +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 515e119861 Get rid of gfx_animation_get_delta_time 2020-09-24 06:14:04 +02:00
twinaphex 37237db804 GFX_DISPLAY_GET_UPDATE_PENDING - turn function into macro 2020-09-24 05:59:14 +02:00
valadaa48 63fd0aa461 RGUI: Add 3:2 and 3:2 (centered) aspects 2020-09-18 18:31:33 -04:00
twinaphex 80e4524878 Turn menu_entry_init into macro 2020-09-13 09:03:21 +02:00
twinaphex 59acce5035 (RGUI) Make sure entry_value is correct 2020-09-12 09:58:23 +02:00
twinaphex d416974f52 Backport some RGUI efficiency nits
(1499dbc0c6)
2020-09-12 09:40:32 +02:00
twinaphex 662e37f670 Replace more instances of string_split 2020-08-26 13:35:05 +02:00
twinaphex a5f3ff9c18 (RGUI) Silence warnings due to struct reordering 2020-08-18 14:31:30 +02:00
twinaphex 0eaca29c68 (RGUI) Silence warnings 2020-08-15 17:05:13 +02:00
twinaphex a8646a2610 Reorder structs, alignment 2020-08-15 00:44:35 +02:00
twinaphex 327d82cc1d Struct reordering/alignment 2020-08-14 22:21:05 +02:00
jdgleaver 776301883c Enhanced playlist search functionality 2020-07-31 15:14:51 +01:00
jdgleaver fba4a8e837 (RGUI) Add optional 'toggle switch' icons 2020-07-27 14:45:07 +01:00
jdgleaver 506aa0a36c Add optional widget-based 'load content' launch feedback animation 2020-07-09 13:05:28 +01:00
twinaphex 963c01cf48 (RGUI) Move global state to struct 2020-06-10 23:33:20 +02:00
twinaphex d15942f6c8 Cleanups 2020-06-07 20:55:27 +02:00
twinaphex 058adf247c Further optimizations to menu_entry_get - get rid of some unnecessary
small wrapper functions
2020-06-07 20:02:12 +02:00
twinaphex ad29b70d9e (RGUI) Cleanups 2020-06-07 18:09:31 +02:00
twinaphex 98b847cad9 Fix some memory leaks and fallthrough errors picked up on by
Clang static code analyzer
2020-06-07 16:15:35 +02:00
jdgleaver 9f4a9e9cd6 Core updater improvements 2020-05-27 17:02:43 +01:00
jdgleaver 18912ac23d Enable configuration of date seperator in clock and runtime 'last played' displays 2020-05-25 15:46:53 +01:00
twinaphex 5e772350b4 Turn rgui_osk_ptr_at_pos into static function 2020-05-24 04:06:49 +02:00
twinaphex eb92274f9b (RGUI) Cleanup function 2020-05-24 04:02:30 +02:00
twinaphex b5fe162c32 C89_BUILD fix 2020-05-24 03:52:23 +02:00
jdgleaver 5e904c4dc3 (Input Mapping/Remapping) Restore broken 'reset to default' functionality 2020-05-19 11:35:57 +01:00
jdgleaver 9d5a54ced4 (RGUI) Enable custom wallpaper when menu size is reduced at low resolutions 2020-05-14 14:18:53 +01:00
jdgleaver eff8c31ffd (XMB/GLUI) Limit tab switch rate when input repeat is active 2020-05-14 11:24:32 +01:00
jdgleaver 26c01dd34c (RGUI) Add option to always stretch menu to fill the screen 2020-05-11 11:38:24 +01:00
jdgleaver a9c496e01f (RGUI) Enable automatic menu size reduction when running at low resolutions (down to 256x192) 2020-04-02 16:54:39 +01:00