Commit Graph

653 Commits

Author SHA1 Message Date
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
twinaphex 74bb85fe7c (RGUI) Indent nits 2015-06-02 19:04:01 +02:00
twinaphex 296b359ba1 Rename menu_entry_get_label to menu_entry_get_path 2015-06-01 15:16:54 +02:00
twinaphex ee6f54baa7 Create menu_entry_get_spacing 2015-06-01 15:13:49 +02:00
twinaphex 26c75a8a1c Start changing signature of menu_entry_is_currently_selected 2015-06-01 15:08:58 +02:00
twinaphex bc843adc01 Start using menu_entry_get_label 2015-06-01 15:05:32 +02:00
twinaphex 05aee4f775 Start using menu_entry_get_value 2015-06-01 14:59:15 +02:00
twinaphex 6c9b545a66 Move get_title function to menu_entry.c 2015-06-01 11:55:03 +02:00
natinusala 90d646dc45 Added perform_action to menu_ctx_driver 2015-05-19 21:05:40 +02:00
twinaphex 375c49b6c8 Move is_menu out of runloop struct and create get/set functions in menu_driver.c
and make the underlying variable static to make it thread-safe
2015-05-19 20:11:57 +02:00
twinaphex a49e50896c Create wrapper functions menu_display_fb_set_dirty and menu_display_fb_unset_dirty 2015-05-18 23:14:56 +02:00
twinaphex 8dfbc1b54e Wrap menu->need_refresh 2015-05-15 22:06:42 +02:00
twinaphex 14aa1a5bda Use menu_entries_show_back 2015-05-15 00:16:39 +02:00
Twinaphex aad6f622a2 Remove unused variables 2015-05-15 00:08:39 +02:00
twinaphex 47a9f2c405 Start using menu_entries_get_title 2015-05-15 00:07:07 +02:00
twinaphex 3426dbca7f Start using menu_entries_get_end 2015-05-15 00:03:06 +02:00
Jay McCarthy bd66d9796f change menu_entries to my wish list of functionality 2015-05-14 16:18:32 -04:00
Twinaphex 014c1b343d Get rid of unused variables 2015-05-11 18:47:08 +02:00
twinaphex a014f2db88 Move framebuffer is dirty and other menu-related state flags
to menu_handle_t
2015-05-11 18:46:06 +02:00
twinaphex 1a152677a3 Get rid of entry_iterate callback in menu driver 2015-05-11 18:31:44 +02:00
twinaphex 079b9f10ff Create menu_entry_iterate 2015-05-11 17:53:33 +02:00
twinaphex cdfd5406fe (RGUI) Remove unused variable 2015-05-10 12:33:48 +02:00
twinaphex 53866fe029 (Menu) Code duplication cleanup - use get_core_title 2015-05-10 12:10:06 +02:00
twinaphex 7914946d19 Move code from menu_list.c to menu_entry.c 2015-05-10 11:23:00 +02:00
twinaphex 9b9e65abf3 Start using video_driver_get_frame_count 2015-05-09 16:04:12 +02:00
twinaphex a57cfde1cd Use menu_list_get_entry for menu_entries_cbs_iterate.c 2015-05-08 11:41:41 +02:00
twinaphex 5ca48cd13b Cleanups 2015-05-08 09:25:16 +02:00
twinaphex fa5ef2e750 Simplify menu_list_get_entry 2015-05-07 10:15:33 +02:00
twinaphex f9713ab764 Create menu_list_entry_is_currently_selected 2015-05-07 09:56:11 +02:00
twinaphex f171be5fb6 Use menu_list_get_entry directly 2015-05-07 09:39:04 +02:00
twinaphex a13442625b Cleanups 2015-05-07 04:37:46 +02:00
twinaphex bcab96bb77 (Menu) Simplify menu_display_setting_label 2015-05-07 04:28:57 +02:00
Twinaphex f3a7252ea8 (Menu) Update function 2015-05-05 22:21:38 +02:00
twinaphex e494165513 Change menu_display_setting_label 2015-05-05 21:35:25 +02:00
twinaphex 89b313da0c (GLUI/XMB) Use menu_display_setting_label too 2015-05-05 20:09:29 +02:00
twinaphex caaf6a8aa9 Create menu_display_setting_label 2015-05-05 19:50:39 +02:00
twinaphex dbd0da41a2 (RGUI) Use menu_display_update_pending 2015-05-04 09:16:43 +02:00
twinaphex b10ce11ad3 Move font variables to menu_handle_t 2015-04-24 23:06:04 +02:00
twinaphex b924d57838 (XMB) Style nit - 80-char limit 2015-04-21 16:45:27 +02:00
twinaphex a104517168 (Menu) Create menu_display.c/menu_display.h 2015-04-21 14:44:26 +02:00
Jean-André Santoni 6b3421b971 (RGUI) Center the title, and display a BACK button 2015-04-19 18:48:05 +07:00
Jean-André Santoni 128cf327a3 (Menu) Drag to scroll with touch 2015-04-16 15:32:49 +02:00
twinaphex d374fb863c Use retro_inline.h for remaining 'inline' instances 2015-03-29 16:43:02 +02:00
twinaphex 56943ccb40 Create video_driver_set_texture_frame 2015-03-22 19:15:34 +01:00
twinaphex 508ade73f9 Rename menu_driver_resolve to menu_driver_get_ptr 2015-03-21 23:56:42 +01:00
twinaphex 3676917265 Silence unused variable warnings 2015-03-21 06:55:34 +01:00
twinaphex 5a443d229a global_get_ptr update pt. 2 2015-03-21 05:42:49 +01:00
twinaphex 5d8ce54a9f Updates pt. 4 2015-03-20 22:22:06 +01:00
twinaphex aa8e5bc8cf (GX) Buildfix/warning fix 2015-03-18 20:31:01 +01:00
Twinaphex 0782cb5168 (Apple) Build fixes 2015-03-18 20:15:40 +01:00
twinaphex 3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex 7378299282 Create rarch_main_get_ptr 2015-03-18 06:47:22 +01:00
twinaphex 569ab60e43 Use g_settings.menu.mouse.enable directly 2015-03-17 04:01:58 +01:00
twinaphex 80a6673004 Fix some CXX_BUILD errors 2015-03-16 16:57:27 +01:00
Higor Eurípedes 5d1ca03bd2 (RGUI, GLUI) Convert font color to the proper format before using it 2015-03-15 13:07:22 -03:00
twinaphex 80d9785f46 Update msg_queue_pull instances to go through new interface too 2015-03-15 03:02:49 +01:00
Higor Eurípedes 0a8a5c9efc (RGUI) Fix color conversion 2015-03-14 20:08:23 -03:00
Higor Eurípedes 6f7fa1ab91 (RGUI, GLUI) Use custom title_color 2015-03-14 19:44:27 -03:00
Higor Eurípedes fec88a5cb4 (Menu) Add font color settings 2015-03-14 19:22:06 -03:00
twinaphex 9ad2484734 (RGUI) rgui_render - do early return if g_runloop.is_idle is true 2015-03-11 16:59:46 +01:00
twinaphex 23fde82836 Create menu_display_update_pending 2015-03-11 16:35:12 +01:00
Jean-André Santoni 9d8817d687 (Menu) Better mouse scrolling 2015-03-10 15:22:46 +01:00
Higor Eurípedes 2216f60046 (RGUI) Fix Video Settings page 2015-03-08 16:39:21 -03:00
Higor Eurípedes 50ff11fdec (RGUI) Call set_texture_frame only when the framebuffer is dirty 2015-03-08 16:14:35 -03:00
Higor Eurípedes 50b09109d9 (Menu) Let the menu driver clear the dirty bits 2015-03-08 15:18:50 -03:00
Higor Eurípedes 7d41e01e93 (RGUI) Only render when needed 2015-03-08 14:12:13 -03:00
Higor Eurípedes 1d7bddaef3 (rgui) Cache and tile checked background 2015-03-08 09:18:45 -03:00
twinaphex d11006e041 Move frame_count to g_runloop 2015-03-07 13:14:04 +01:00
twinaphex 795ef467ac Move msg_queue and nbio/http to runloop struct 2015-03-07 13:01:41 +01:00
twinaphex a74cb0574b Create g_runloop and start moving variables there 2015-03-07 12:36:50 +01:00
twinaphex df35e9fb75 Refactor menu_navigation.c 2015-02-14 00:47:42 +01:00
twinaphex 4d31687899 Create menu_driver_resolve to avoid having to pass state pointer
around between functions
2015-02-13 19:00:59 +01:00
twinaphex e58c1491a2 Selecting wallpaper now directly changes background image -
implemented only for XMB so far, GLUI coming up next
2015-02-13 00:12:15 +01:00
twinaphex 50c89847f0 Backport new element display settings to GLUI/RGUI 2015-02-12 19:35:24 +01:00
Alcaro 7938e05b9c Shut up some more Valgrind errors. (Why is r600_dri.so branching on the frame buffer?) 2015-02-12 18:31:01 +01:00
twinaphex 5bb11314d5 (Menu) Move width and height to frame_buf struct - mouse code needs
to be entirely rewritten
2015-02-11 21:52:21 +01:00
twinaphex b1c775849a (RGUI) Cleanups 2015-02-11 21:30:57 +01:00
twinaphex 8f77b7d52a (Menu) Cleanups pt. 2 2015-02-11 21:29:14 +01:00
twinaphex c3fdd42fb0 Refactor menu 2015-02-11 21:15:39 +01:00
twinaphex 0c170ab56e (Menu) Get rid of void * pt. 2 2015-02-11 20:40:48 +01:00
twinaphex 4d478434c7 (Menu) Start getting rid of void * pointer 2015-02-11 20:28:54 +01:00
twinaphex 6b8aece1f7 (Menu) Cleanups 2015-02-11 19:28:06 +01:00
twinaphex 8e42857488 (Menu) Move set_texture call to higher-level iterate function 2015-02-11 19:16:06 +01:00
twinaphex 00cd281a1f Move menu_ticker_line to menu_animation.c 2015-02-11 18:52:59 +01:00
twinaphex 915c97b76f Refactor menu_driver.h 2015-02-11 18:36:37 +01:00
twinaphex 3d83c1fa75 Free menu->frame_buf in menu_free 2015-02-11 07:02:12 +01:00
twinaphex b658d47c70 (RGUI) Cleanups 2015-02-11 05:23:02 +01:00
twinaphex 4d1cc8c2a9 (RGUI) Cleanups 2015-02-11 05:16:19 +01:00
twinaphex e8ad0d183b Cleanup color_rect 2015-02-11 05:09:31 +01:00
twinaphex da004daa8a Move frame_buf/frame_buf_pitch to menu_driver struct 2015-02-11 05:08:07 +01:00
Jean-André Santoni f331eba299 (Menu) iterate was not used either 2015-02-10 15:06:41 +01:00
Jean-André Santoni e330f03124 (Menu) init_lists was not used either 2015-02-10 15:02:38 +01:00
Jean-André Santoni 274cfe0f9f (Menu) input_postprocess was not used anymore by any menu driver 2015-02-10 14:52:25 +01:00
Jean-André Santoni f24bdb1cbf (Menu) No more core_info manipulation on the menu driver side. Instead, we ensure that core_info is inited before menu init, and call context reset after core info update. 2015-02-05 00:39:59 +01:00
twinaphex d7fd935049 (RGUI) Cleanups 2015-02-02 19:02:34 +01:00
twinaphex 26dead5902 (RGUI) Cleanups 2015-02-02 18:56:58 +01:00
twinaphex 17edfbd019 (RGUI) Similar speed hack 2015-02-01 23:55:13 +01:00
twinaphex 6bfbe1dc6d Get rid of unused variables 2015-02-01 14:58:33 +01:00
twinaphex 7521b9fcda rgui_entry_iterate - some more safety checks 2015-02-01 10:23:40 +01:00
twinaphex 3a9bbff1be (RGUI) Cleanups 2015-02-01 08:18:33 +01:00
twinaphex fc5fe960a5 Refactor cbs->action_get_representation 2015-01-31 17:46:14 +01:00