Commit Graph

357 Commits

Author SHA1 Message Date
twinaphex
2e5530b531 Take out unused variable 2019-01-20 02:32:27 +01:00
twinaphex
9bb7132b97 Move command_playlist_ functions to playlist.c
(RGUI) Header buildfix
2019-01-20 01:57:24 +01:00
twinaphex
22e99568ed Small cleanups 2019-01-20 00:48:02 +01:00
jdgleaver
4b859fd097 (RGUI) Add rudimentary playlist thumbnail support 2019-01-18 16:16:44 +00:00
twinaphex
c98b2e2292 Buildfixes and more static code analysis warning fixes 2019-01-10 22:24:43 +01:00
jdgleaver
74312180b9 (RGUI) Fix background + border colours for Gekko platforms 2019-01-10 13:16:08 +00:00
twinaphex
60533b10b7 (RGUI) Add specific color conversion for Gekko [Wii/Gamecube] 2019-01-09 22:05:33 +01:00
jdgleaver
c433934415 (RGUI) Fix background + border colours for PS2 2019-01-09 15:34:52 +00:00
jdgleaver
faaa6e081b (RGUI) Add colour themes 2019-01-09 10:50:24 +00:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
jdgleaver
1398d889cb (RGUI) Fix colours for PSP and GEKKO builds 2019-01-04 13:41:15 +00:00
Francisco Javier Trujillo Mata
577456e3e7 Make a struct to save the colors used in the RGUI 2019-01-04 00:38:06 +01:00
Francisco Javier Trujillo Mata
cca9bcc09d Make general functions to lead with RGUI colors 2019-01-04 00:38:06 +01:00
jdgleaver
f603d4ec30 (RGUI) Enable customisation of background and border colours 2018-12-20 16:13:16 +00:00
orbea
13e29308d5 Fix gcc -Wformat-truncation= warnings.
menu/drivers/rgui.c: In function ‘rgui_render’:
menu/drivers/rgui.c:670:53: warning: ‘%-*s’ directive output may be truncated writing up to 2147483648 bytes into a region of size between 0 and 252 [-Wformat-truncation=]
       snprintf(message, sizeof(message), "%c %-*.*s %-*s",
                                                     ^~~~
menu/drivers/rgui.c:676:13:
             type_str_buf);
             ~~~~~~~~~~~~
menu/drivers/rgui.c:670:42: note: assuming directive output of 254 bytes
       snprintf(message, sizeof(message), "%c %-*.*s %-*s",
                                          ^~~~~~~~~~~~~~~~
menu/drivers/rgui.c:670:7: note: ‘snprintf’ output between 4 and 4294967300 bytes into a destination of size 255
       snprintf(message, sizeof(message), "%c %-*.*s %-*s",
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             entry_selected ? '>' : ' ',
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~
             (int)(RGUI_TERM_WIDTH(fb_width) - (entry_spacing + 1 + 2) - entry_title_buf_utf8len + entry_title_buf_len),
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             (int)(RGUI_TERM_WIDTH(fb_width) - (entry_spacing + 1 + 2) - entry_title_buf_utf8len + entry_title_buf_len),
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             entry_title_buf,
             ~~~~~~~~~~~~~~~~
             entry_spacing,
             ~~~~~~~~~~~~~~
             type_str_buf);
             ~~~~~~~~~~~~~
menu/drivers/rgui.c:670:53: warning: ‘%-*s’ directive output may be truncated writing up to 2147483648 bytes into a region of size between 0 and 252 [-Wformat-truncation=]
       snprintf(message, sizeof(message), "%c %-*.*s %-*s",
                                                     ^~~~
menu/drivers/rgui.c:676:13:
             type_str_buf);
             ~~~~~~~~~~~~
menu/drivers/rgui.c:670:42: note: assuming directive output of 254 bytes
       snprintf(message, sizeof(message), "%c %-*.*s %-*s",
                                          ^~~~~~~~~~~~~~~~
menu/drivers/rgui.c:670:7: note: ‘snprintf’ output between 4 and 4294967300 bytes into a destination of size 255
       snprintf(message, sizeof(message), "%c %-*.*s %-*s",
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             entry_selected ? '>' : ' ',
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~
             (int)(RGUI_TERM_WIDTH(fb_width) - (entry_spacing + 1 + 2) - entry_title_buf_utf8len + entry_title_buf_len),
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             (int)(RGUI_TERM_WIDTH(fb_width) - (entry_spacing + 1 + 2) - entry_title_buf_utf8len + entry_title_buf_len),
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             entry_title_buf,
             ~~~~~~~~~~~~~~~~
             entry_spacing,
             ~~~~~~~~~~~~~~
             type_str_buf);
             ~~~~~~~~~~~~~
2018-12-16 20:22:53 -08:00
Francisco Javier Trujillo Mata
21587ba2a4 Now RGUI shows fullscreen proper colors 2018-11-09 22:40:50 +01:00
Francisco Javier Trujillo Mata
f4680b03eb now it looks full screen 2018-11-09 22:40:50 +01:00
Francisco Javier Trujillo Mata
0880bd00b0 PS2 is compiling with null drivers 2018-11-09 22:40:50 +01:00
=Christian Murphy
940a03f552 Linux friendly datetime locale settings, slightly less friendly datetime locale settings for Windows 2018-10-01 23:32:54 +01:00
M4xw
26eca6bbd6 [LIBNX] Don't enable custom rgui bg colors for OpenGL build and change ifdef to libnx only 2018-09-28 02:38:58 +02:00
twinaphex
9cbd7ec6f3 (RGUI) Add some Switch ifdefs to RGUI 2018-09-12 08:01:19 +02:00
twinaphex
65fe25f03c (RGUI) Add background border filler thickness enable 2018-04-24 16:45:06 +02:00
twinaphex
ee421fcaa8 Add RGUI Border Filler Enable 2018-04-24 16:01:51 +02:00
twinaphex
1836d08b33 Revert "Start passing around menu_driver_data around properly"
This reverts commit 7c314a9165.
2018-04-11 06:12:14 +02:00
twinaphex
7c314a9165 Start passing around menu_driver_data around properly 2018-04-10 19:17:51 +02:00
twinaphex
298e8b6326 Remove C++ comments 2018-01-02 07:13:09 +01:00
meepingsnesroms
657f5aa2a2 Fix copy to self causing abort on OSX 2018-01-01 15:18:24 -08:00
meepingsnesroms
7ac985e9be Add all xmb menu options to rgui and glui, 3ds warning fix, move start directory to top of load content 2018-01-01 10:38:16 -08:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
2dc9c8ead7 Comment out unused code 2017-11-27 04:43:13 +01:00
twinaphex
cdb24aff1c (RGUI) Silence warning 2017-10-02 20:33:46 +02:00
twinaphex
e66ef15580 Remove another useless wrapper function 2017-10-01 17:17:53 +02:00
twinaphex
1156d6cec5 Simplify conditionals 2017-09-30 06:18:38 +02:00
twinaphex
4db14dca9a (RGUI) Rewrite msgbox 2017-09-29 20:01:00 +02:00
twinaphex
efde859e17 Rewrite menu_entry_get_rich_label 2017-09-29 18:46:53 +02:00
twinaphex
9185fb3ed1 (RGUI) Cleanups 2017-09-28 08:51:28 +02:00
twinaphex
7adf4ca854 Simplify menu_entry_get_spacing 2017-09-28 06:44:04 +02:00
twinaphex
b8e900cd32 Rewrite menu_entry_get_value 2017-09-28 06:32:49 +02:00
twinaphex
c5255b1bff Simplify menu_entry_get_rich_label 2017-09-28 06:19:34 +02:00
twinaphex
1b168bc95e Cleanups 2017-09-09 04:31:56 +02:00
Brad Parker
ebc9ee192b rgui does not support unicode, this prevents a buffer overflow if an unsupported language is set 2017-08-20 14:41:09 -04:00
twinaphex
764f5e22aa (RGUI) Redesign blit_line somewhat 2017-08-20 20:33:03 +02:00
twinaphex
09cf3262f1 (RGUI) Cleanups 2017-08-15 17:56:42 +02:00
twinaphex
ade279c0ba (RGUI) Cleanups 2017-08-15 17:51:08 +02:00
twinaphex
07dd7c8ccb Cleanups 2017-08-15 05:15:45 +02:00
twinaphex
5a46537968 Silence Coverity warning/error 2017-05-22 10:35:58 +02:00
twinaphex
59fb7700b8 Combine menu_driver.c and menu_display.c 2017-05-19 15:25:14 +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
1fef134f04 Create menu_driver_navigation_set 2017-05-15 07:56:22 +02:00