Commit Graph

653 Commits

Author SHA1 Message Date
Twinaphex 5d3233c1d5
Merge pull request #8506 from jdgleaver/rgui-int-scale-fix
(RGUI) Overhaul 'Lock Menu Aspect Ratio' option
2019-03-20 16:25:13 +01:00
jdgleaver f114e14d48 (RGUI) Overhaul 'Lock Menu Aspect Ratio' option 2019-03-20 13:41:27 +00:00
jdgleaver 9f93ec1077 (RGUI) Wii build fix 2019-03-20 09:46:18 +00:00
jdgleaver 8336163112 (RGUI) Ensure update is immediate when changing 'Menu Aspect Ratio' 2019-03-19 15:10:14 +00:00
jdgleaver a17f0e2136 (RGUI) Allow text to be centred when selecting widescreen layouts 2019-03-19 13:11:00 +00:00
jdgleaver e72c67bf87 (RGUI) Add widescreen support 2019-03-19 11:49:53 +00:00
jdgleaver 28bb7c67af (RGUI/XMB) Enable thumbnail display on mixed content playlists (history, favourites, etc.)
Move thumbnail path handling code to reusable menu_thumbnail_path.h/.c file

(XMB) Bug fixes:

- Show thumbnails correctly when 'Show associated cores in playlists' is enabled

- Prevent each thumbnail from being loaded twice (!) when changing current selection
2019-03-14 11:53:16 +00:00
jdgleaver 11488857ee (RGUI) Fix 'Lock Menu Aspect Ratio' option when using custom viewports 2019-02-25 16:24:16 +00:00
Twinaphex 6592325b67
Merge pull request #8364 from jdgleaver/rgui-dynamic-layout
(RGUI) Add 'full width' layout option
2019-02-25 16:43:09 +01:00
jdgleaver d683892b1f (RGUI) Ensure menu color theme is applied immediately 2019-02-25 13:22:44 +00:00
jdgleaver 448b780a8b (RGUI) Add 'full width' layout option 2019-02-25 12:24:59 +00:00
Hugo Hromic 9168f2a645 (rgui.c) fix build error due to broken PR
Fixes PR #8357
2019-02-24 13:26:07 +00:00
Twinaphex 409f9eb5b8
Merge pull request #8357 from hhromic/fixes
Couple of minor fixes
2019-02-24 14:02:57 +01:00
Hugo Hromic 147bd5e051 (rgui.c) silence warning in C89_BUILD
Fixes:

    menu/drivers/rgui.c: In function ‘rgui_render’:
    menu/drivers/rgui.c:1690:10: warning: ISO C90 forbids mixed
    declarations and code [-Wdeclaration-after-statement]
              menu_entry_t entry;
              ^~~~~~~~~~~~
2019-02-24 12:13:54 +00:00
twinaphex f0d51596d1 Another buildfix 2019-02-23 22:15:03 +01:00
Twinaphex adc9ecf4cc
Merge pull request #8335 from natinusala/master
Reintroduce menu widgets (only runloop_msg_queue for now)
2019-02-23 14:22:31 +01:00
Brad Parker 4f0d61a2ac update copyright 2019-02-22 19:13:36 -05:00
jdgleaver 4a26e4bc97 Standardise and improve playlist display 2019-02-22 15:23:10 +00:00
natinusala 4d86030cc2 rgui: restore original ticker spacer 2019-02-21 20:58:22 +01:00
natinusala 6e20d216bd Avoid redefining the ticker spacer in each menu driver 2019-02-21 20:58:22 +01:00
jdgleaver e76fc2d487 Improve menu titles (collections, playlists, database info) 2019-02-19 17:08:12 +00:00
jdgleaver 7447434233 (RGUI) Only parse menu sublabels when changing selected entry 2019-02-19 13:33:11 +00:00
jdgleaver 834f1c1b23 (RGUI) Sanitise menu sublabels 2019-02-19 11:32:59 +00:00
jdgleaver 8cca081719 (RGUI) Improve playlist titles 2019-02-18 10:38:02 +00:00
jdgleaver 2ceecd2ff1 (RGUI) Add option to hide associated cores in playlists 2019-02-17 14:39:14 +00:00
orbea f4a374a209 Fix CXX_BUILD. 2019-02-15 09:36:25 -08:00
jdgleaver 35b9a2f814 (RGUI) Prevent unnecessary truncation of menu entries 2019-02-15 14:53:35 +00:00
natinusala f481c594e8 menu_animation: use milliseconds as a unit 2019-02-14 19:24:31 +01:00
jdgleaver 27694b6b31 Add optional 'looping' menu text ticker 2019-02-14 15:10:07 +00:00
jdgleaver cf6e23cebd (RGUI) Add optional internal upscaling 2019-02-13 11:09:02 +00:00
jdgleaver 1569785a1c (RGUI/GLUI) Ensure menu title is set correctly when displaying message boxes 2019-02-12 11:07:58 +00:00
jdgleaver 930bb5d71f (RGUI) Add menu sublabel support 2019-02-11 14:38:10 +00:00
natinusala 5c8a835cda rgui: fix search box refresh 2019-02-09 18:34:01 +01:00
twinaphex 59ded50d59 (Menu) Add back get_load_content_animation_data 2019-02-08 08:24:33 +01:00
twinaphex 7022786f34 Revert parts of menu_widgets that were causing breakage, but leave
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01:00
twinaphex 72d58d318a Prevent crash at exit on OSX 2019-02-08 04:50:25 +01:00
jdgleaver e3c383bb41 (RGUI) Add 'Lock Menu Aspect Ratio' option 2019-02-07 17:15:06 +00:00
jdgleaver b27c23f0eb (RGUI) Fix ticker text 2019-02-07 11:09:21 +00:00
natinusala c20ab3864d First version of menu widgets (gl only) 2019-02-06 20:48:24 +01:00
orbea 28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
Brad Parker f8ba41d76e C89 buildfix 2019-01-29 21:24:22 -05:00
jdgleaver 99fa2b54eb (RGUI) Overhaul custom theme interface + add wallpaper support 2019-01-29 17:20:46 +00:00
jdgleaver bd56e1e29c (RGUI) Allow selection of thumbnail downscaling method 2019-01-23 16:47:15 +00:00
jdgleaver 9d0e9632c1 (RGUI) Add automatic downscaling of large thumbnails 2019-01-22 15:00:45 +00:00
jdgleaver 56ddc76ebb (RGUI) Replace RPNG + direct file access with task_push_image_load() 2019-01-21 17:32:48 +00:00
jdgleaver 40e9fe5cf1 (RGUI) Fix information display bug 2019-01-21 11:07:32 +00:00
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
twinaphex 0185f71bab Cleanups 2017-05-13 23:47:25 +02:00
twinaphex dd79c9a236 Pass is_idle to menu driver render function 2017-05-13 21:06:06 +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 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 cc095e56fc Start refactoring bool variables 2017-04-28 00:53:20 +02:00
twinaphex 467070f6a6 Silence Coverity warning 2017-04-23 21:07:49 +02:00
twinaphex 25c8baeefe menu drivers will have their own frame count; this fixes the
tickering issues with threaded video mode
2017-04-23 18:42:12 +02:00
twinaphex 7ea0528c6b Turn MENU_NAVIGATION_CTL_{SET|GET}_SELECTION into separate
functions
2017-04-23 14:31:49 +02:00
twinaphex 8e6b7a2751 Rewrite menu_entries function 2017-04-23 13:46:21 +02:00
Twinaphex 216e7bcdaf Silence more warnings on iOS 2017-02-26 21:46:19 +01:00
Twinaphex b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex 0a7538f1b8 Create menu_display_get_fb_size 2017-01-25 18:32:16 +01:00
twinaphex 0d5b3b9273 Create menu_driver_is_alive 2017-01-23 00:37:52 +01:00
twinaphex 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex 913d2362e8 Prevent null pointer dereference 2017-01-19 23:22:45 +01:00
twinaphex 84f9d8674f Implement rgui_frame 2017-01-18 22:23:19 +01:00
twinaphex dc19649802 Reduce dependence on video_driver_get_frame_count 2017-01-18 21:40:56 +01:00
Brad Parker 8cdfa75b48 set ints to 0 instead of NULL 2017-01-17 18:44:29 -05:00
Brad Parker a220815b40 fix race condition in frame count with video_threaded on 2017-01-17 18:42:58 -05:00
twinaphex bfb124a60e Create menu_animation_ticker 2017-01-17 16:29:23 +01:00
twinaphex 4d77dacbe5 Implement rgui_environ - framebuffer will update itself when mouse
is active
2017-01-09 16:49:57 +01:00
twinaphex 0f2bd3e653 remove MENU_ENUM_LABEL_VALUE_BACK 2016-11-05 01:41:44 +01:00
Brad Parker d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
twinaphex 611784cbd8 (rgui) Reduce char variables 2016-10-27 09:50:46 +02:00
twinaphex f923c7ecd7 (RGUI) Avoid implicit memsets for path variables 2016-10-08 18:19:48 +02:00
twinaphex 9726de615b Fix stray icon 2016-09-16 13:03:26 +02:00
twinaphex 82673b4db4 Warning cleanups 2016-09-15 19:26:04 +02:00
twinaphex 5cf5371314 Refactor menu_input_dialog 2016-09-15 19:07:30 +02:00
twinaphex e8e16aca9e Create menu_input_dialog_get_label_buffer functions 2016-09-15 19:01:33 +02:00
twinaphex 982a818b48 Create menu_input_dialog_get_buffer 2016-09-15 18:56:51 +02:00
twinaphex bb5543c2a1 Cleanups 2016-09-15 18:50:33 +02:00
twinaphex c35d763990 Cleanups 2016-09-08 06:00:54 +02:00
twinaphex b6daaed566 Rename git_version.c to version_git.h, create separate
version.h file
2016-09-01 17:49:28 +02:00
Brad Parker 30e99927d2 undo previous new files and use existing encoding_utf header 2016-08-23 19:16:18 -04:00
Brad Parker d063cb9283 do not make UTF-8 the default, simplify/centralize the common string functions, make sure rgui/materialui use utf8 strlen when available 2016-08-23 19:00:53 -04:00
twinaphex 8430697116 Add menu_entry_get_rich_label 2016-07-08 16:55:21 +02:00
twinaphex 5ba74302b2 Cleanups 2016-06-28 11:04:59 +02:00
twinaphex f5fcd45a3f Fix touch back button code 2016-06-22 06:48:35 +02:00
twinaphex 284f8cfd23 Remove menu_hash_ files 2016-06-20 03:35:09 +02:00
twinaphex 65dff0a03a menu_hash_to_str_enum has now become msg_hash_to_str 2016-06-20 00:31:13 +02:00
twinaphex 9aece7b695 Replace more menu_hash_to_str usage 2016-06-15 23:31:05 +02:00
twinaphex 3b83b6d030 Fix uninitialized scalar variable warnings 2016-06-03 04:12:18 +02:00
Hans-Kristian Arntzen d723411436 De ioctl video_driver. 2016-05-08 14:00:51 +02:00
Hans-Kristian Arntzen 951c3e4085 De-ioctl menu display interface.
Holy crap ...
2016-05-08 12:38:46 +02:00
Jean-André Santoni 7150ea5df2 (XMB) Finalize the thumbnail type switching on keypress 2016-04-28 03:26:09 +07:00
Jean-André Santoni 90d31a527c (XMB) Temporary patch for the messagebox glitch 2016-04-26 00:09:30 +07:00
Jean-André Santoni 8e86d11f57 Add list_prepend to the menu ctx drivers 2016-04-11 23:31:49 +07:00
twinaphex 93b7dc1bdd (libretro-common) move 'lists' files to lists/ 2016-03-20 14:53:54 +01:00
twinaphex 5a1d8a96d0 (Menu) Create new input_ctl actions for pointer dragging 2016-03-03 23:21:02 +01:00
twinaphex 6f80e09ce1 Change MIN/MAX to upper-case 2016-03-02 00:07:31 +01:00
twinaphex 05f2a2d18c Communicate better that these are enums 2016-02-25 19:30:14 +01:00
twinaphex b5f4332e74 Create MENU_ANIMATION_CTL_TICKER 2016-02-25 15:19:33 +01:00
twinaphex 433155c95f Move UTF8 helper functions to encoding_utf.c (libretro-common) -
hopefully did not introduce any regressions
2016-02-25 00:57:46 +01:00
Alcaro f14624370d Add UTF-8 string copy function. 2016-02-24 23:29:12 +01:00
Alcaro cb9976a125 Wipe debug code. 2016-02-24 18:56:29 +01:00
Alcaro d98c7a1c34 (RGUI) Fix string alignment under UTF8. 2016-02-24 18:50:21 +01:00
twinaphex e7798ed511 Refactor datetime menu display function 2016-02-09 05:03:13 +01:00
twinaphex bd1291dd71 Simplify framebuffer code for RGUI 2016-02-08 22:42:23 +01:00
twinaphex 459c18f5de Attempt to make blit_line more robust 2016-02-08 19:18:40 +01:00
twinaphex d092e20b5a Simply 'framebuffer dirty' code 2016-02-08 18:54:19 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex 66449802e4 (menu) Start going through string_is_empty 2015-12-26 07:37:44 +01:00
twinaphex 3df4101321 Get rid of menu_entries_set_start and menu_entries_get_start 2015-12-12 14:39:35 +01:00
twinaphex fa535f788e Create MENU_ENTRIES_CTL_NEEDS_REFRESH 2015-12-11 21:41:59 +01:00
twinaphex fde4826754 Add MENU_ENTRIES_CTL_SHOW_BACK 2015-12-11 21:34:27 +01:00
twinaphex 00b979ba67 Move userdata to menu_driver.c as static variable 2015-12-11 15:14:39 +01:00
twinaphex 6ae5725373 Simplify usage of menu->userdata 2015-12-11 14:55:04 +01:00
twinaphex 2215aa2c87 (menu_driver.c) Pass userdata to free callback 2015-12-11 14:38:57 +01:00
twinaphex adc359ec7a Pass more userdata handles to callbacks 2015-12-11 14:26:51 +01:00
twinaphex 78db1845dc Move data pointer to navigation_clear callback 2015-12-10 17:24:56 +01:00
twinaphex 94248be657 Pass userdata variable to populate_entries 2015-12-10 16:45:38 +01:00
twinaphex 333ee443e3 Change pointer_tap callback 2015-12-10 16:26:40 +01:00
twinaphex 604cbc585f Pass userdata pointer to environ callback 2015-12-10 16:23:32 +01:00
twinaphex abc2315c78 Remove unused pointer 2015-12-10 14:52:34 +01:00
twinaphex 686bcf723d Move scroll_y to userdata 2015-12-10 14:50:43 +01:00
twinaphex f4695c7547 Pass userdata pointer to render callback 2015-12-10 14:45:34 +01:00
twinaphex 2930997c25 Pass userdata to messagebox callback 2015-12-10 14:40:56 +01:00
twinaphex 02fb8dd052 Avoid warning 2015-12-10 14:03:34 +01:00
twinaphex 8acaa19d01 CLeanups 2015-12-10 13:48:41 +01:00
twinaphex f0e11659c7 Header include changes 2015-12-09 09:53:43 +01:00
twinaphex 1cfb39a9d1 merge menu.c and menu_driver.c 2015-12-06 17:55:27 +01:00
twinaphex 736f343d9f Create RARCH_MENU_CTL_IS_ALIVE 2015-12-05 13:49:34 +01:00
twinaphex c8d8176c0c Get rid of unused variables 2015-12-05 12:50:56 +01:00
twinaphex 9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex 4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +01:00
twinaphex 1368897cd6 (Wii) Warning fixes 2015-11-30 19:34:34 +01:00
twinaphex 5d52f4856a Get rid of INLINE qualifier for some functions 2015-11-30 05:13:12 +01:00
twinaphex e2fde41124 Move current_msg to gfx/video_driver.c 2015-11-29 20:59:52 +01:00
twinaphex 2b4464f30a Implement RARCH_MAIN_CTL_IS_IDLE 2015-11-28 15:03:59 +01:00
twinaphex 7141210d15 Remove video_driver_has_windowed 2015-11-20 15:20:54 +01:00
twinaphex 533b799692 Create video_driver_ctl and get rid of video_driver_get_frame_count 2015-11-20 15:08:27 +01:00
twinaphex a9b7636ddb Abstract away GL code in menu behind display driver interface 2015-11-08 01:30:07 +01:00
twinaphex b5855fa49c Backport changes to RGUI too 2015-11-01 20:45:29 +01:00
Twinaphex 5287e46e57 Revert "(Menu) Make the mouse left click and the pointer tap use the same cod…" 2015-11-01 20:35:43 +01:00
Jean-André Santoni 5b51124b62 (Menu) Make the mouse left click and the pointer tap use the same codepath 2015-11-02 02:22:21 +07:00
Jean-André Santoni bd99e952d6 (Menu) Move pointer_tap on the menu driver side 2015-11-02 01:17:06 +07:00
twinaphex d1896ce4f4 (RGUI) Titles should uppercase on RGUI 2015-10-28 02:01:38 +01:00
twinaphex 14bf640bf6 Create list_push callback - allows us to override lists 2015-10-22 04:12:32 +02:00
twinaphex 38c66f62d0 Merge menu_video.c and menu_display.c 2015-10-18 07:15:54 +02:00
twinaphex 41f2ec1ecf Show game cursor also when video context driver has no windowed mode
support at all and mouse is still enabled
2015-10-08 07:11:52 +02:00
twinaphex f5255889c6 Only show ingame cursor when in fullscreen mode 2015-10-08 07:07:47 +02:00
twinaphex 0d6c5ec4d1 (GLUI/RGUI) Take out scrollup/scrolldown functionality for now 2015-10-05 02:06:39 +02:00
twinaphex b6bd6152a0 Add zarch_iterate 2015-10-03 05:24:03 +02:00
twinaphex 6d4900dc1c Create function pointer for iterate function 2015-10-03 05:08:29 +02:00
twinaphex 798e7fa7fa Move function pointer around 2015-10-03 04:32:38 +02:00
twinaphex 167cd269ae Add init_list to menu driver callbacks 2015-10-03 03:15:47 +02:00
Alcaro 03ff1f060d Fix some MENU_DISPLAY_CTL_WIDTH/HEIGHT abuse. 2015-09-30 20:26:00 +02:00
twinaphex f0c520224e (GX) Buildfix 2015-09-27 01:27:21 +02:00
twinaphex e354200909 (RGUI) Cleanups 2015-09-27 01:23:49 +02:00
twinaphex 6ce4b96d12 Header include cleanups 2015-09-27 01:10:15 +02:00
twinaphex 057b498bb1 (RGUI) Start refactoring menu_display code in RGUI 2015-09-27 00:00:54 +02:00
twinaphex f83e26ea32 Add MENU_DISPLAY_CTL_MSG_FORCE/MENU_DISPLAY_CTL_SET_MSG_FORCE 2015-09-26 23:51:35 +02:00
twinaphex 515c8c6322 More menu_display_ctl refactors 2015-09-26 23:37:25 +02:00
twinaphex 16eb95d3aa Cleanup some enums 2015-09-26 23:27:03 +02:00
twinaphex e3a7a67e43 Add some MENU_DISPLAY_CTL_* enums 2015-09-26 23:25:04 +02:00
twinaphex cc4a918296 Create rarch_main_ctl 2015-09-26 12:58:02 +02:00
twinaphex d6015cc4a3 (menu_input.c) Rename some enums 2015-09-26 02:52:05 +02:00
twinaphex 37e9108820 Move internal display state to menu_display.c 2015-09-26 01:23:10 +02:00
twinaphex 88307565c1 Refactor away menu_animation_clear_active 2015-09-25 23:39:02 +02:00
twinaphex 541c9a2066 Refactor menu_animation.c 2015-09-25 22:24:07 +02:00
twinaphex 314dbf44e8 Add MENU_DISPLAY_CTL_SET_FB_DATA 2015-09-25 21:36:11 +02:00
twinaphex eae4d761ba (Menu) Refactors 2015-09-25 21:32:16 +02:00
twinaphex f6a7256f20 Make state static and move it to menu_display.c 2015-09-25 21:25:37 +02:00
twinaphex 6482969459 (Menu) Cleanups/refactors 2015-09-25 21:20:26 +02:00
twinaphex 1329b4f265 (Menu) Cleanups 2015-09-25 21:07:12 +02:00
twinaphex f4951300b7 Add MENU_DISPLAY_CTL_FB_DATA, MENU_DISPLAY_CTL_FB_PITCH 2015-09-25 21:03:23 +02:00
twinaphex bfb491c1e1 (RGUI) blit_line - pass frame buf data and pitch to function 2015-09-25 20:54:39 +02:00
twinaphex 71b49d8ee5 (RGUI) Refactors 2015-09-25 20:47:50 +02:00
twinaphex 35707d45e1 Refactors 2015-09-25 20:42:45 +02:00
twinaphex f9742d21a2 (Menu) Refactors 2015-09-25 20:37:04 +02:00
twinaphex 8dbc4c0eb0 Add MENU_DISPLAY_CTL_WIDTH, CTL_HEIGHT, CTL_SET_WIDTH, CTL_SET_HEIGHT 2015-09-25 20:28:56 +02:00
twinaphex ee7ce4feaa Remove unused variables 2015-09-25 15:02:19 +02:00
twinaphex d4e2b6128b Refactor menu_navigation_get_selection 2015-09-25 14:57:37 +02:00
twinaphex 4e4bad9eba Create MENU_DISPLAY_CTL_UPDATE_PENDING 2015-09-25 14:07:01 +02:00
twinaphex 26e1ec35cb Create menu_display_ctl 2015-09-25 13:27:15 +02:00
twinaphex a45c9167b9 (Menu) menu drivers no longer need to grab pointer to menu_input state 2015-09-24 20:32:21 +02:00
twinaphex 39ce494077 (menu input) More refactors 2015-09-24 20:23:18 +02:00
twinaphex c0b46e3003 Add more functionality to menu_input_ctl 2015-09-24 20:08:11 +02:00
twinaphex aed44e970c Add MENU_CTL_MOUSE_PTR 2015-09-24 19:51:55 +02:00
twinaphex 3fb90871f6 Create menu_input_ctl 2015-09-24 19:47:41 +02:00
twinaphex 10d1aea0e3 Go through menu_input_mouse_state 2015-09-24 17:29:46 +02:00
twinaphex 172e75c758 Revert "Refactor menu_input.c"
This reverts commit 3ddbf2d5cc.
2015-09-24 14:17:03 +02:00
twinaphex 7982674685 Revert "Remove unused variables"
This reverts commit 8b0a952c59.
2015-09-24 14:16:51 +02:00
twinaphex 8b0a952c59 Remove unused variables 2015-09-24 13:39:47 +02:00
twinaphex 3ddbf2d5cc Refactor menu_input.c 2015-09-24 13:22:46 +02:00
twinaphex 51d3738a00 Revert "Add type to populate_entries"
This reverts commit 5a7de50bd3.
2015-09-21 21:32:31 +02:00
twinaphex 5a7de50bd3 Add type to populate_entries 2015-09-21 20:48:26 +02:00
aliaspider 224dc0d34b use relative path in the include. 2015-09-13 23:13:36 +01:00
aliaspider 3733956fd0 (CTR/3DS) update makefile.ctr
- move per-core build settings to a seperate file.
- make the griffin build optional (enabled by default).
2015-09-13 22:33:35 +01:00
Alcaro 889a4f4955 Add UTF-8 support to RGUI. Others still assume ISO-8859-1, they'll have to be fixed one by one before we enable UTF-8 globally. 2015-09-10 23:10:23 +02:00
Twinaphex 3b3fa56309 Cleanup menu_animation_t 2015-09-06 05:00:08 +02:00
twinaphex 8405f76ff3 Refactor menu_animation.c 2015-09-06 02:41:36 +02:00
twinaphex d6e3040e5d Use menu_navigation_get_selection 2015-09-06 02:06:02 +02:00
twinaphex d4eefc020f Cleanups 2015-09-05 18:49:48 +02:00
twinaphex a509de60b5 Cleanups 2015-09-04 21:31:22 +02:00
twinaphex 9925da95ae Refactor menu_entries_get_core_title 2015-08-17 18:14:51 +02:00
Twinaphex 996c010ca6 Fixup 2015-08-17 16:00:29 +02:00
twinaphex dc73edadcf Cleanup old ugly hack 2015-08-17 05:05:29 +02:00
Twinaphex 5bafed71ea removed unused variables 2015-08-05 13:09:11 +02:00
twinaphex 74ee9b05f3 Create rarch_main_set_idle - make 'idle' variable self-contained 2015-08-05 12:40:47 +02:00
twinaphex 0c023dcb68 Reimplement frame count 2015-08-03 23:01:07 +02:00
twinaphex 3d36cb02ac No more separate runloop_t 2015-08-03 20:15:46 +02:00
Higor Eurípedes b217bbad24 (menu_animation) Create menu_animation_ticker_generic 2015-07-15 20:56:25 -03:00
twinaphex 14b6a6636b Create menu_video.c 2015-07-09 18:39:40 +02:00
twinaphex 7a4f6bcb2d (PS3) Silence some warnings 2015-07-09 08:28:08 +02:00
twinaphex 387d687ef9 (MSVC) Some MSVC buildfixes 2015-07-09 00:24:10 +02:00
twinaphex f2d20786a4 (RGUI) Indenting nits 2015-07-08 17:27:34 +02:00
twinaphex 039ba91c48 Add mechanism so that task_database informs the menu driver that
we need to refresh the horizontal list. Kivutar; make the icons
work again after we do a horizontal list refresh
2015-07-08 01:01:41 +02:00
twinaphex f2a608b131 Create menu_environ callback 2015-07-08 00:37:44 +02:00
Alcaro 4ca6c2398c More C89 cleanups, part 3 2015-06-26 18:35:52 +02:00
twinaphex c74631e2c7 (Menu) Cleanup warnings in CXX_BUILD mode 2015-06-26 13:47:36 +02:00
twinaphex 1b34dd4ce0 Some more CXX_BUILD fixes 2015-06-25 17:36:31 +02:00
twinaphex 0e2345227a Some CXX_BUILD fixes 2015-06-25 17:25:09 +02:00
twinaphex 293c915438 (RGUI/GLUI) Cleanups 2015-06-25 08:26:59 +02:00
twinaphex 45e008d3b0 (Menu/intl) Create MENU_VALUE_BACK 2015-06-25 07:15:19 +02:00
Toad King f2f636ca19 recache RGUI background when framebuffer changes size 2015-06-24 23:19:28 -05:00
Higor Eurípedes 45556766bf (RGUI) Fix performance regression 2015-06-23 23:07:08 -03:00
Higor Eurípedes 71f025c2b6 (RGUI) Fix delayed info/help/search screens 2015-06-23 22:25:00 -03:00
twinaphex d188f4e261 (RGUI) Optimization 2015-06-24 03:01:09 +02:00
twinaphex 87563b3e09 (RGUI) Add another header include 2015-06-17 19:47:38 +02:00
twinaphex 3101506d5e (RGUI) Add some header includes 2015-06-17 19:46:09 +02:00
twinaphex 819723be06 Move '_refresh' functions to menu_entries.c 2015-06-16 03:03:20 +02:00
twinaphex d66db000c6 Create wrappers for accessing menu->begin 2015-06-16 01:59:26 +02:00
Higor Eurípedes 817ac29a34 (RGUI) Avoid implicit memset in rgui_render() 2015-06-15 20:19:49 -03:00
twinaphex ab1c5f95f1 Create menu_driver_list_get_selection 2015-06-15 19:00:52 +02:00
twinaphex 3139f13612 (Menu) Cleanups 2015-06-15 02:37:32 +02:00
twinaphex 58d7c0fd3b Move some more variables to menu_animation_t 2015-06-15 01:50:57 +02:00
twinaphex 6a2b871f16 Create menu_display_get_ptr 2015-06-14 15:34:05 +02:00
twinaphex bff61a9485 (Menu) Create menu_animation_get_ptr 2015-06-13 23:23:29 +02:00
twinaphex 84a1885786 Create menu_input_get_ptr 2015-06-13 22:57:55 +02:00
twinaphex 9fd3d6f635 (RGUI) Go through frame_buf pointer 2015-06-13 16:51:16 +02:00
twinaphex 263b9e8bcc Go through menu_display_fb_get_ptr pointer 2015-06-13 16:42:11 +02:00
twinaphex 0781311059 (RGUI) Cleanup 2015-06-13 16:29:41 +02:00
twinaphex d4cbc7695a Go through menu_navigation_t pointer 2015-06-13 16:22:05 +02:00
twinaphex b31723236d (Menu) Cleanups 2015-06-13 00:09:09 +02:00
twinaphex 1011e0499e Some cleanups - use menu_navigation_get_ptr 2015-06-12 16:13:12 +02:00
twinaphex 64d6a6db81 (RGUI) Cleanups 2015-06-12 16:11:50 +02:00
twinaphex 2eba39e41d (XMB/Horizontal list)
1) Create list_get_entry
2) Will show one entry at the top that is the 'full database' for
that collection
2015-06-08 17:02:14 +02:00
twinaphex 5af0ce575c Add menu driver 'init_bind' 2015-06-08 16:01:57 +02:00
twinaphex 62b7b2602d Refactor disp_timedate_set_label 2015-06-08 14:57:46 +02:00
twinaphex 38ce8ffcef Create menu_driver_list_get_size 2015-06-07 15:43:03 +02:00
twinaphex edc7f21cfe Cleanups 2015-06-05 18:22:15 +02:00