Commit Graph

4028 Commits

Author SHA1 Message Date
sonninnos ee11b79738
Improve playlist thumbnail cycling (#17897)
* Improve playlist thumbnail cycling

* GLUI: Thumbnail cycling fixes
2025-05-13 22:14:49 +03:00
sonninnos 5e03ef57ec
Ozone+XMB: Fix content icons when playlist tabs hidden (#17888) 2025-05-11 21:22:32 +03:00
sonninnos df1c342cb2 Ozone: C89 buildfix 2025-05-09 02:05:44 +03:00
sonninnos cacff13799 Ozone: Improve metadata background fade 2025-05-09 01:44:20 +03:00
sonninnos ae9e8ba75c Ozone: Skip thumbnail background for metadata display 2025-05-09 01:29:57 +03:00
sonninnos 7b37f85a99
XMB: Add temporary thumbnail toggle (#17881) 2025-05-09 00:56:13 +03:00
LibretroAdmin 0670d6d87e
Merge pull request #17853 from sonninnos/menu-thumbnail-background 2025-05-05 14:45:11 +02:00
pstef 583687081c Revisit selection and size_t to silence warnings
There is a type mismatch between selection (size_t) and how it's passed
to some functions. In 4f3ae82 I got it backwards and changed the type in
savestate thumbnail function definitions to size_t, but in that case we
can assume that there won't be more than 999. So in this case it's OK to
keep the unsigned int and cast selection to that type.

Thumbnails on playlists are the other case and the limit is not so clear
to me, so I assume it's reasonable to promote the type of the function
parameter i from unsigned to size_t.
2025-05-03 19:08:56 +00:00
sonninnos e3583cbcbb Add common Thumbnail Background option for all menu drivers 2025-05-03 19:12:10 +03:00
pstef c968c1a51d Use size_t for new_selection as done everywhere else 2025-04-30 23:48:39 +00:00
pstef b9bee801fd Revert "Use size_t for new_selection as done everywhere else"
At least `case MENU_ACTION_UP` compares new_selection against 0, the
type needs to be signed. Revert 5710a7f6 now and revisit after a deeper
look.
2025-04-16 11:29:06 +00:00
pstef 57726895dd Finish converting selection variables to size_t
fixes 5710a7f6e5
2025-04-12 10:30:36 +00:00
LibretroAdmin 4c0744b644
Merge pull request #17795 from pstef/selection-size_t 2025-04-10 20:25:55 -07:00
pstef 317c80a257 Silence a shorten-64-to-32 warning
The result of this multiplication will fit into a 32-bit int.
2025-04-10 21:10:45 +00:00
pstef 5710a7f6e5 Use size_t for new_selection as done everywhere else 2025-04-10 21:10:45 +00:00
pstef 4f3ae82ed3 Savestate thumbnails: selection is usually size_t 2025-04-10 19:20:56 +00:00
pstef 83e974077f Guarantee space for string characters after strlcpy
to silence a couple of stringop-overflow warnings (3DS).
2025-03-28 11:11:09 +00:00
pstef 59a0665a20 Remove unused variable
unused since b5e01422e1
2025-03-28 10:57:53 +00:00
pstef b59b038a3e Silence an unreferenced local variable warning
Not used here since 106dc5d8b7
2025-03-28 09:48:21 +00:00
pstef aa94f571e2 Silence an unused variable warning
This is not used since 73abaddd9c
2025-03-27 23:21:19 +00:00
LibretroAdmin 999de04ace
Merge pull request #17733 from pstef/ozone-footer-label 2025-03-25 21:45:08 -07:00
pstef eb8819867b Partially revert 0033224c25
font_driver_get_message_width() can return -1 if it fails,
ozone_cache_footer_label() has a fallback for this case
2025-03-25 21:02:29 +00:00
pstef 870d57445a Move INLINE earlier in function declarations
to silence a warning.
2025-03-25 20:20:37 +00:00
pstef fc9f0b04be CTR: Silence a couple of GCC 14 warnings 2025-03-16 01:01:04 +00:00
sonninnos ee8a641275 Core load+unload fixes 2025-03-13 15:09:38 +02:00
zoltanvb 675909333d Remove discord avatar references
These additions were never enabled in current builds, discord
avatar stuff was disabled in #7964.
2025-03-09 09:00:25 +01:00
sonninnos aaa7b272aa XMB: Gray theme color correction 2025-02-28 08:44:37 +02:00
sonninnos b62cc87e84
Turbo Fire overhaul (#17633) 2025-02-27 20:15:22 -08:00
sonninnos 4de34208ed Ozone: Messagebox font fix 2025-02-22 22:31:47 +02:00
sonninnos b5756a1b20
Prevent crash when Main Menu is empty (#17604) 2025-02-20 14:09:47 +02:00
sonninnos 6c08bf003b
XMB: Title replace '/' with '-' instead of ' ' (#17603) 2025-02-19 21:49:55 +02:00
sonninnos 8f3347d9ab
GLUI: Limit save state thumbnail size (#17600) 2025-02-19 17:06:01 +02:00
sonninnos b5e01422e1
XMB: Trigger bg-image load on theme change (#17599) 2025-02-19 17:05:34 +02:00
Eric Warmenhoven 0ed66a79f1
glui: fix add to playlist icon in quick menu (#17596) 2025-02-18 22:55:04 +01:00
sonninnos e4fe551924
Gray Dark+Light theme adjustments (#17597) 2025-02-18 20:47:10 +02:00
sonninnos 73abaddd9c
GLUI: Add save state thumbnails (#17592) 2025-02-18 17:11:46 +01:00
sonninnos 01a2da47a6
Ozone: Messagebox background asset fix (#17566) 2025-02-13 09:28:59 +01:00
LibretroAdmin 8a22b87101 Revert rich_label changes 2025-02-12 17:46:32 +01:00
sonninnos 106dc5d8b7
GLUI: Allow fullscreen thumbnail browsing (#17562) 2025-02-12 16:50:17 +01:00
LibretroAdmin 135a228ac1 menu_entry - rich_label gets merged into label - make struct smaller 2025-02-12 15:17:58 +01:00
LibretroAdmin 8e2e2cdbac Style nits 2025-02-12 13:06:40 +01:00
LibretroAdmin a167fb1c2f Unused variables cleanup 2025-02-12 11:59:22 +01:00
LibretroAdmin f6006ae6ca Style nits 2025-02-12 10:17:35 +01:00
LibretroAdmin 366612fb82 Revert "Fix some string appending"
This reverts commit 65b9ea4e76.
2025-02-11 23:48:12 +01:00
sonninnos 2073b8abfc
XMB: Icon thumbnail improvements (#17558) 2025-02-11 23:09:47 +01:00
LibretroAdmin 65b9ea4e76 Fix some string appending 2025-02-11 23:08:55 +01:00
LibretroAdmin 50a0e17539 (Menu/XMB/Ozone) Less settings_t pointer grabbing 2025-02-10 15:13:59 +01:00
sonninnos 87b3032139
XMB: Color tuning (#17547) 2025-02-10 11:52:08 +01:00
sonninnos c1077a5ef5
RGUI: Thumbnail fixes (#17546) 2025-02-10 11:51:56 +01:00
sonninnos 372396d5b6
Add separate visibility toggle for playlist tabs (#17545) 2025-02-10 00:45:50 +01:00