Commit Graph

2618 Commits

Author SHA1 Message Date
twinaphex a795237898 Add some last-minute icons 2017-08-17 01:03:30 +02:00
Twinaphex 1a3d79b458 Merge pull request #5306 from heuripedes/master
(xmb) Fix crash
2017-08-16 04:20:59 +02:00
twinaphex 5c7fd82a40 Add Music/Image/Video lists for MaterialUI and RGUI 2017-08-16 03:15:04 +02:00
Higor Eurípedes db48561289 (xmb) Fix crash 2017-08-15 21:34:49 -03:00
twinaphex 0d86027cd5 (RGUI) Add Load Content -> Favorites 2017-08-16 01:10:27 +02:00
twinaphex e32ec709b3 Added 'Favorites' to MaterialUI playlists tab 2017-08-16 00:01:56 +02:00
twinaphex 89b695dae3 Tweak Dark Blue a bit 2017-08-15 22:52:18 +02:00
twinaphex ef79711837 (MaterialUI) Hook up framebuffer opacity 2017-08-15 22:43:09 +02:00
twinaphex 5c6b230e42 Start adding separate setting 'framebuffer_opacity' 2017-08-15 22:17:02 +02:00
twinaphex 1887862a03 (MaterialUI) Update 2017-08-15 19:52:50 +02:00
twinaphex c438e556b1 (MaterialUI) Update icons 2017-08-15 19:40:49 +02:00
twinaphex 990f746aee (MaterialUI) Update icons 2017-08-15 19:34:34 +02:00
twinaphex b760a407fd (MaterialUI) Add icons 2017-08-15 19:20:16 +02:00
twinaphex e34f8e0911 Update 2017-08-15 19:05:23 +02:00
twinaphex f1069ee7ed (MaterialUI) Update 2017-08-15 19:02:58 +02:00
twinaphex 573cf1df1a (MAterialUI) use white icons for shield theme 2017-08-15 18:11:47 +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
r5 31317f7cbf (materialui.c) New struct to hold all theme-related info
Struct should be used to group together variables that
control font/bg/fg/highlight/icon colors.
2017-08-15 16:32:39 +01:00
twinaphex 19efd41164 Add more icons 2017-08-15 10:06:52 +02:00
twinaphex 5de11039c6 Updates 2017-08-15 09:02:55 +02:00
twinaphex aad8e551fe Add more icons 2017-08-15 08:52:04 +02:00
twinaphex 27966879b0 (MaterialUI) Add more icons 2017-08-15 08:16:32 +02:00
twinaphex ea16a51342 Add icons 2017-08-15 07:47:17 +02:00
twinaphex 1bcec096bb Update icons 2017-08-15 07:27:15 +02:00
twinaphex 64686b46b1 Add icons 2017-08-15 07:08:55 +02:00
twinaphex c5c5af0507 Add more icons 2017-08-15 06:42:48 +02:00
twinaphex 14f7ee6116 Add new icons 2017-08-15 06:01:35 +02:00
twinaphex b40f59a6ec (MaterialUI) Add audio icon 2017-08-15 05:42:44 +02:00
twinaphex 28ade72baf (MaterialUI) Cleanups 2017-08-15 05:23:54 +02:00
twinaphex 07dd7c8ccb Cleanups 2017-08-15 05:15:45 +02:00
twinaphex e9d738226a (MaterialUI) Some more refinements 2017-08-15 04:41:17 +02:00
twinaphex db24e4da42 Try to avoid countless string_is_equal function calls
being called multiple times per frame render - prebake
these decisions instead inside list_insert
2017-08-15 04:33:36 +02:00
twinaphex f608ac3556 (MaterialUI) small performance improvements 2017-08-15 03:24:07 +02:00
twinaphex a0859229f9 Locally cache menu_display_get_dpi inside a variable 2017-08-15 03:11:39 +02:00
twinaphex 8fc6427d0e Don't use menu_entries_get_end() inside for loop epilogue 2017-08-15 03:06:40 +02:00
twinaphex 058116b8da Add more labels 2017-08-15 03:00:49 +02:00
twinaphex 00ae975c6f (materialui) Add another icon 2017-08-15 01:21:20 +02:00
twinaphex 28147d8aa6 Add another icon 2017-08-15 01:11:37 +02:00
twinaphex 777308c42c Add icon 2017-08-15 00:35:36 +02:00
twinaphex 736477d4e4 (MaterialUI) Add icons 2017-08-15 00:24:02 +02:00
twinaphex e060029d4c (MaterialUI) Update icons 2017-08-14 23:51:52 +02:00
twinaphex 559fabeb08 (MaterialUI) Add more icons 2017-08-14 23:31:04 +02:00
twinaphex 4c877148fe (MaterialUI) Add image icon 2017-08-14 23:13:25 +02:00
twinaphex 648cf89893 Start using a second icon at the lefthand side 2017-08-14 23:05:51 +02:00
Rob Loach 7c54cebfb3
Merge branch 'master' of github.com:libretro/RetroArch into favorites 2017-08-13 21:20:22 -04:00
Rob Loach e324b4a074
Reorder the View settings 2017-08-13 19:10:09 -04:00
Rob Loach 8e0e99ba66
Add Show Favorites sublabel 2017-08-13 18:44:50 -04:00
Jean-André Santoni c9ad8cd1f9 (XMB) Display the small add-favorite icon 2017-08-14 00:12:55 +02:00
Higor Eurípedes 950b77c0ca (xmb) Speed up xmb_list_insert() and xmb_deep_copy() a bit
This replaces calloc() and memcpy() calls with custom functions to
handle xmb_node_t allocation and copy optimized for the common case.
2017-08-12 22:30:22 -03:00
Higor Eurípedes 9f760af6c6 Menu improvements (#5288)
* (menu_animation) Stop KILL_BY_SUBJECT asap

* (xmb) Don't query mouse/pointer state so many times per frame
2017-08-12 22:53:56 +02:00
Jean-André Santoni f1ccd29e77 (XMB) Display the favorite icon for content 2017-08-12 17:27:31 +02:00
Jean-André Santoni 61cc899867 (XMB) Display the favorites tab, part 1 2017-08-12 16:37:20 +02:00
twinaphex dad0fcbbe8 Get rid of the conditionals 2017-08-11 01:20:57 +02:00
twinaphex 22139dc4a0 Turn menu_animation_ctx_tag into typedef 2017-08-11 01:16:21 +02:00
twinaphex 4e66ec28cb Some more truncation fixes 2017-08-10 23:19:54 +02:00
twinaphex 16f59aba96 Some C89_BUILD fixes 2017-08-10 21:38:57 +02:00
Jean-André Santoni 05558697ca (Lakka) Fix Online Updater 2017-08-09 15:16:27 +02:00
Higor Eurípedes 8d358899df (xmb) Fix segfault when entering certain lists 2017-08-08 22:34:54 -03:00
Higor Eurípedes c0cb042998 (xmb) Improve responsiveness while browsing horizontally 2017-08-08 21:05:00 -03:00
twinaphex 56733c6f18 (xmb) deep list copy - Use malloc instead of calloc 2017-08-07 00:14:37 +02:00
twinaphex 7c1d3991f8 Some C89 buildfixes 2017-08-06 17:12:57 +02:00
Twinaphex ba31285160 Merge pull request #5172 from RobLoach/horizontalperf
Allow Toggling the XMB Horizontal Animation
2017-08-06 16:08:59 +02:00
Brad Parker 6b369775cf add unicode-aware option for word_wrap (only needed for xmb) 2017-08-06 03:33:13 -04:00
Jean-André Santoni 7a20875668 (MUI) More comments 2017-07-31 17:34:10 +02:00
Jean-André Santoni 3566c41b9c (MUI) More comments 2017-07-31 17:31:09 +02:00
Jean-André Santoni aed8ec7741 (MUI) First batch of comments 2017-07-31 17:06:12 +02:00
radius d560660bdc add room type in the title 2017-07-24 20:52:27 -05:00
radius e09075dc25 Add RetroArch version and use different icons for different room types 2017-07-24 20:13:52 -05:00
Rob Loach 7d71746b21
Add Horizontal Animation configuration 2017-07-14 15:11:27 -04:00
Rob Loach 24107229fc
Remove horizontal slide animation for XMB 2017-07-14 14:49:41 -04:00
Jean-André Santoni e08089de48 Fix Lakka updater 2017-06-21 14:16:19 +02:00
twinaphex 66fc9e6a06 Add menu_show_online_updater 2017-06-20 01:42:28 +02:00
Conn 78339ae67c xmb: fix incorrect wallpaper alpha blending 2017-06-19 16:38:09 +01:00
allanin c990a57359 Fixing wrong settings in Nuklear 2017-06-18 05:57:08 +00:00
twinaphex 6af5bd01bf Merge retro_stat and file_path 2017-06-16 15:00:11 +02:00
Conn f413b23f06 xmb: enable menu transparency support when emulation is paused (v2)
Allow xmb menu driver transparency when "Pause when menu activated" is enabled (default setting).
This is also the default behaviour of the rgui driver and is helpful for users to preview
video/shader changes on the fly.

Issues fixed:

gfx/video_driver: enable menu transparency only when game is loaded (as a loaded core can display
                  black or corrupt image)
gfx/video_driver: don't clobber cached frame during driver reinit if game was loaded
                  (fixes missing menu background/paused foreground on full screen toggle)
menu/drivers/xmb: ensure transparency is applied when game is loaded and no shader pipeline active.
menu/menu_driver: explicitly apply transparency only for existing textures (i.e. wallpapers), to
                  avoid background of cores with no content yet loaded mixing with wallpaper.
2017-06-02 02:55:59 +01:00
twinaphex 44b4a4e028 Revert "xmb: enable menu transparency support when emulation is paused"
This reverts commit 17d0037bd5.
2017-06-01 17:21:55 +02:00
Conn 17d0037bd5 xmb: enable menu transparency support when emulation is paused
Allow xmb menu driver transparency when "Pause when menu activated" is enabled (default setting).
This is also the default behaviour of the rgui driver and is helpful for users to preview
video/shader changes on the fly.

Issues fixed:

gfx/video_driver: enable menu transparency only when game is loaded (as a loaded core can display
                  black or corrupt image)
gfx/video_driver: don't clobber cached frame (fixes missing background on full screen toggle)
menu/drivers/xmb: ensure transparency is applied when game is loaded and no shader pipeline active.
menu/menu_driver: explicitly apply transparency only for existing textures (i.e. wallpapers), to
                  avoid background of cores with no content yet loaded mixing with wallpaper.
2017-05-31 23:45:16 +01:00
twinaphex eb8b31df3c Silence some Coverity warnings 2017-05-30 16:44:19 +02:00
twinaphex 449483206f Revert "New attempt to fix memory leaks of struct retro_system_info"
This reverts commit a1d3dd69dd.
2017-05-30 01:44:49 +02:00
twinaphex a1d3dd69dd New attempt to fix memory leaks of struct retro_system_info
char variables
2017-05-29 22:24:10 +02:00
Jean-André Santoni 710e912aca (XMB) Code cleaning 2017-05-29 21:00:00 +02:00
Jean-André Santoni 66bfdc9408 (XMB) draw_thumbnail refactoring 2017-05-29 20:58:29 +02:00
twinaphex 39f1441b7c (XMB) Small optimizations 2017-05-29 01:46:57 +02:00
twinaphex 66f056322a Fix pointer overflow 2017-05-28 17:53:45 +02:00
twinaphex 3fbed8df27 (Menu) Menu driver no longer uses a duplicate system info
struct
2017-05-28 17:21:57 +02:00
twinaphex c74104f8c9 Get rid of RARCH_MENU_CTL_SYSTEM_INFO_* 2017-05-28 16:25:46 +02:00
twinaphex 9438545bca Add music tab for non-ffmpeg enabled builds now; add 'Run'
and 'Add to mixer' options when selecting Ogg/WAV files
2017-05-27 23:56:10 +02:00
twinaphex 3e8234ab38 Cleanups 2017-05-27 19:13:22 +02:00
twinaphex 22f8dfab2d Update 2017-05-27 17:17:52 +02:00
twinaphex a626a30098 Turn menu_display_set_alpha into macro 2017-05-27 16:52:52 +02:00
twinaphex 09ddd9ddcf Cleanups 2017-05-27 16:31:47 +02:00
twinaphex 74f202bbda (Menu) Cleanups 2017-05-26 20:12:52 +02:00
twinaphex e2a6a7ad17 Add 'load_content' parameter to parse_drive_list 2017-05-26 15:52:38 +02:00
Jean-André Santoni 9e1c426a3a Use the new netplay room list in place of the old netplay menu 2017-05-25 17:35:14 +02:00
twinaphex 6b57791b0a Don't show up empty entries if there are no playlists 2017-05-23 10:46:42 +02:00
twinaphex 5a46537968 Silence Coverity warning/error 2017-05-22 10:35:58 +02:00
aliaspider dd5bc1a951 (WiiU) fix icon scaling in XMB. 2017-05-22 07:34:30 +01:00
Jean-André Santoni f25b60a7ab Display the Reboot entry in GLUI if HAVE_LAKKA 2017-05-21 15:32:09 +02:00
Jean-André Santoni 80f06b9574 Display thumbnails for Load Content->Collections 2017-05-21 15:08:56 +02:00
Jean-André Santoni 7197255211 (XMB) Fix dialog slice on 320x240 viewports 2017-05-21 09:55:50 +02:00
twinaphex 16996aad6d Make thumbnail show too for IMAGEVIEWER type 2017-05-19 18:45:59 +02:00
twinaphex 59fb7700b8 Combine menu_driver.c and menu_display.c 2017-05-19 15:25:14 +02:00
Twinaphex e42ed3e3df (iOS) Should fix some of the crashes 2017-05-19 14:46:59 +02:00
twinaphex 59b3344e72 Combine video_driver.c and video_shader_driver.c 2017-05-18 14:47:24 +02:00
twinaphex 9096038e20 Correct set_thumbnail_system/set_thumbnail_content functions 2017-05-17 09:32:17 +02:00
twinaphex ee8dc151a3 Combine menu_driver.c and menu_navigation.c 2017-05-17 03:00:32 +02:00
twinaphex 8eca08c6ac Start using string_is_equal_fast/string_is_not_equal_fast macros
instead of straight memcmp
2017-05-16 03:20:59 +02:00
twinaphex 7bf34c48a9 Cal xmb_list_get_selection only once 2017-05-15 19:00:24 +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 bf3188eac4 Combine runloop_ctl and rarch_ctl 2017-05-15 05:06:23 +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 a7d09733a6 Get rid of rarch_ctl/runloop_ctl calls from menu_display.c 2017-05-13 20:00:51 +02:00
Francisco José García García 5fc7a6776b (VITA) Fix problem with font renderer 2017-05-13 14:17:55 +02:00
twinaphex 42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
twinaphex f928e57064 Combine video_context_driver.c and video_driver.c 2017-05-09 01:25:59 +02:00
aliaspider 5a16b61ec5 XMB: unload thumbnail textures in xmb_context_destroy. fixes #3141 2017-05-03 14:14:35 +01:00
aliaspider 0310b67927 use strlen and not utf8len for the len parameter passed to
get_message_width. fixes #4873.
2017-05-03 03:09:01 +01:00
twinaphex a5d7bedb8a Pass video_is_threaded variable to menu driver init function 2017-04-29 17:27:54 +02:00
twinaphex 5f6a342817 Pass param 2017-04-29 17:19:29 +02:00
twinaphex b515cd10f1 Pass video_is_threaded to context_reset 2017-04-29 17:16:05 +02:00
twinaphex fe1151efc3 (Zarch) Buildfix 2017-04-29 02:02:28 +02:00
twinaphex e6ab06a701 Move path variables 2017-04-29 00:39:29 +02:00
twinaphex 05e4ec733e Move uint variables 2017-04-28 21:03:04 +02:00
twinaphex 7bbd20b31d Move int settings 2017-04-28 19:12:48 +02:00
twinaphex 2c53553952 (Zarch) Buildfix 2017-04-28 15:02:42 +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 a54af2f2c1 Prevent implicit memset 2017-04-27 01:27:02 +02:00
twinaphex e36564b2b0 (Zarch) Not sure why this was done 2017-04-25 15:34:18 +02:00
twinaphex 087002d9c5 Get rid of unused video_driver_get_frame_count - locking/unlocking
around this variable should no longer be necessary
2017-04-23 21:39:49 +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 3ec5816259 Rewrite RUNLOOP_CTL_SYSTEM_INFO_GET 2017-04-23 16:41:26 +02:00
Twinaphex d76c09fd08 Get rid of unused variables 2017-04-23 14:33:02 +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 6ebd4e139e Rewrite more string_is_equal call invocations as memcmp 2017-04-22 08:51:16 +02:00
twinaphex f9bc2d3783 Use memcmp instead of string_is_equal where possible for
better performance
2017-04-21 22:47:15 +02:00
twinaphex 32cebbbcba Turn more matrix_4x4 functions into macros 2017-04-16 04:00:20 +02:00
Twinaphex a5998cb589 (MUI) Remove some unused variables 2017-04-15 19:14:02 +02:00
Jean-André Santoni f4103b4074 (GLUI) Attempt to fix the browser+touch bug 2017-03-12 16:03:18 +01:00
Rob Loach 157fbeccb5
Add Font Text Color settings 2017-03-12 10:33:06 -04:00
Jean-André Santoni 130e3a77d8 (GLUI) Fix the menu entry being selected while we try to scroll 2017-03-05 09:49:22 +01:00
Jean-André Santoni 199d7b63a1 (Menu) Attempt to fix scroll speed issue 2017-03-05 00:15:21 +01:00
Jean-André Santoni bb0d4dae07 (Menu) iOS touch fixes 2017-03-04 22:16:55 +01:00
Jean-André Santoni 002928c399 (Menu) Separate callbacks for pointer_up and pointer_down 2017-03-04 15:11:29 +01:00
twinaphex 2be88a44ed (XMB) Fix 2017-02-28 04:50:07 +01:00
Jean-André Santoni 64a11ca0f4 (XMB) Allow hidding the netplay tab 2017-02-27 23:32:24 +01:00
Jean-André Santoni 834087d1ad (XMB) Use a tab styled icon for the netplay tab 2017-02-27 22:48:27 +01:00
Jean-André Santoni 46c153a0fe (XMB) Move netplay to the left of Add Tab 2017-02-27 22:36:45 +01:00
Jean-André Santoni 15001a87d3 (XMB) Use a texture slice for dialogs 2017-02-27 20:34:17 +01: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 fd5836d4e7 Prevent crash 2017-02-24 04:53:54 +01:00
Brad Parker d61d55e3ea update nuklear 2017-02-21 23:53:29 -05:00
Jean-André Santoni 1cccfa09fb (Menu) Fix core option ON/OFF buttons 2017-02-21 19:54:55 +01:00
twinaphex c215fef8dd Updates 2017-02-21 18:58:03 +01:00
twinaphex 1582a47bb9 Create task_push_content_load_new_content_with_new_core_from_menu 2017-02-21 04:31:03 +01:00
twinaphex aaaba64f81 Get rid of memsets in materialui.c 2017-02-20 01:59:08 +01:00
Brad Parker 75a96b10bb add 9-slice texture draw function and selectable texture filter type 2017-02-14 11:04:21 -05:00
Twinaphex 962cf6b076 Revert "Allow normal Battery/Clock icon sizes [WIP]" 2017-02-08 20:02:26 +01:00
Rob Loach 1ef482d6df
Apply icon scaling to the battery and clock icons 2017-02-07 21:48:18 -05:00
twinaphex 6a07780fa0 Add sublabels 2017-02-02 07:18:24 +01:00
orbea c2b20fd71f Move / to the bottom in Load Content 2017-01-31 02:33:57 -08:00
Rob Loach 0963431c6a
Add Dot-Art theme 2017-01-30 21:13:44 -05:00
twinaphex 5326bcf814 Backport lakka patch retroarch-08-osk-perf.patch 2017-01-29 03:57:45 +01:00
twinaphex d0f3973ea5 Cleanups 2017-01-26 03:54:38 +01:00
twinaphex d9ee401305 (XMB) Cut down on function calls 2017-01-26 03:46:05 +01:00
twinaphex 9f294ec99f (xmb) Move global variable 2017-01-25 22:50:39 +01:00
twinaphex 31fab19797 Cleanups 2017-01-25 18:43:04 +01:00
twinaphex 0a7538f1b8 Create menu_display_get_fb_size 2017-01-25 18:32:16 +01:00
twinaphex 1437d21457 Only call task_push_image_load if image exists 2017-01-23 18:30:17 +01:00
twinaphex d0d55ffaa1 Add HAVE_NETWORKING ifdefs 2017-01-23 01:30:50 +01:00
twinaphex 0d5b3b9273 Create menu_driver_is_alive 2017-01-23 00:37:52 +01:00
radius 45514e60a7 console build fix 2017-01-22 17:57:49 -05:00
Twinaphex 3ff158b907 Merge pull request #4436 from fr500/lobby
Basic lobby system (don't merge, just for tracking)
2017-01-22 21:08:43 +01:00
twinaphex 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex 181f6472b1 (MaterialUI) Get rid of early return 2017-01-22 01:46:08 +01:00
twinaphex 927e4b6be0 Less settings pointer grabbing 2017-01-20 15:38:20 +01:00
twinaphex 0be6264796 Get rid of more settings pointer grabbing 2017-01-20 15:33:47 +01:00
twinaphex 526072ccdf Cut down on menu_display_libretro_running usage 2017-01-20 14:25:00 +01:00
twinaphex 913d2362e8 Prevent null pointer dereference 2017-01-19 23:22:45 +01:00
twinaphex 2f175f1a15 Remove video_driver_get_size call in gfx/drivers_font 2017-01-19 22:03:59 +01:00
twinaphex dd2839686b (XMB) Fix OSK 2017-01-19 21:37:13 +01:00
twinaphex 47b6efd226 (XUI) Buildfix 2017-01-19 21:16:22 +01:00
twinaphex 3ab4d81722 (XDK) Fix 2017-01-19 21:10:46 +01:00
twinaphex 539728b3f2 (XUI) Style nits 2017-01-19 20:47:34 +01:00
twinaphex b4f88f1420 (XUI) Buildfix 2017-01-19 20:45:01 +01:00
twinaphex 7c652932c8 (360) More buildfixes 2017-01-19 20:36:59 +01:00
twinaphex 23afaa8799 (Xbox 360) Buildfixes 2017-01-19 20:34:07 +01:00
twinaphex fd8cdc389f (Xbox 360) More buildfixes 2017-01-19 20:31:33 +01:00
twinaphex f4020aa011 (Xbox 360) Buildfixes 2017-01-19 20:28:12 +01:00
twinaphex b93046f867 Cleanup mui_draw_scrollbar 2017-01-19 11:20:02 +01:00
twinaphex 6208d037fc (MaterialUI) Cleanups 2017-01-19 11:16:53 +01:00
radius 95a2da81e4 start adding ui elements to insert room list into 2017-01-18 22:46:48 -05:00
twinaphex a9a7f360d0 (nuklear) cleanup 2017-01-19 01:36:40 +01:00
twinaphex 832840f91c Cut down on more video_driver_get_size calls 2017-01-19 01:33:47 +01:00
twinaphex 24e0542bdb (menu) reduce calls to video_driver_get_size 2017-01-19 00:09:38 +01:00
twinaphex 00adc9a2d3 Rewrite menu_display_unset_viewport 2017-01-19 00:01:55 +01:00
twinaphex afd4494c2f (menu_driver.c) Get rid of video_driver_get_size call 2017-01-18 23:59:22 +01:00
twinaphex 1a30cfea09 Remove more video_driver_get_size calls 2017-01-18 23:13:19 +01:00
twinaphex c5445d2980 Reduce amount of times video_driver_get_size is called 2017-01-18 23:02:24 +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
twinaphex bf511b72e6 Create menu_driver_frame 2017-01-18 21:23:18 +01:00
Jean-André Santoni b9104f38b8 (GLUI) Align entry values on top to avoid overlaps with sublabels 2017-01-18 17:12:26 +01:00
twinaphex bf56463b76 Silence warnings 2017-01-18 14:17:09 +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 ebcf42ceb7 Remove unused variables 2017-01-17 18:56:14 +01:00
twinaphex d9c62e5e60 Fix C89_BUILD 2017-01-17 18:24:34 +01:00
twinaphex da044da3b4 Create menu_animation_push 2017-01-17 16:53:06 +01:00
twinaphex df783daab9 Create menu_animation_get_ideal_delta_time 2017-01-17 16:37:03 +01:00
twinaphex bfb124a60e Create menu_animation_ticker 2017-01-17 16:29:23 +01:00
Jean-André Santoni 617ce26efb (GLUI) Adapt mouse and touch code to the variable height menu entries 2017-01-17 15:21:59 +01:00
Jean-André Santoni b0a51d79ee (GLUI) Improve word wrapping with a better estimation of the glyph width 2017-01-17 15:21:59 +01:00
Jean-André Santoni dc4140a00b (GLUI) Word wrapping for sublabels 2017-01-17 15:21:59 +01:00
Jean-André Santoni 08366d318e (MUI) Add mui_node_t to store the height of menu entries 2017-01-17 15:21:59 +01:00
Jean-André Santoni 3d4c6d836f Fix GLUI ON/OFF switch y position 2017-01-17 15:21:59 +01:00
Brad Parker e1f4db8081 Win2000 buildfixes 2017-01-16 20:41:08 -05:00
Jean-André Santoni a9c3837cdb Display image thumbnail in the menu background selector 2017-01-17 01:02:48 +01:00
twinaphex 864df4f55d Move local variable 2017-01-16 23:38:46 +01:00
twinaphex ef974086aa Split up menu OSK code to separate file - menu/widgets/menu_osk.c 2017-01-12 11:31:24 +01:00
Jean-André Santoni 4bc04f7b28 Hide sublabels on super small screens like the one of Gamegirl 320x240 2017-01-11 01:24:50 +01:00
Jean-André Santoni d08fa66ff1 Also display image thumbnails in the file browser 2017-01-10 23:26:07 +01:00
twinaphex 1b13c9b9fc Fix xmb_draw_text regression 2017-01-09 23:11:05 +01:00
Josh Palmer 99988bbac5 Don't try to load wallpaper from an empty path in materialui.c 2017-01-09 20:26:09 +00:00
twinaphex 7cdfcb44eb Remove obsolete line 2017-01-09 19:18:18 +01:00
twinaphex 29370cb07c (Zarch) Buildfix 2017-01-09 18:55:13 +01:00
twinaphex fbb7dbd36b Add pipeline.active to menu_display_draw_ctx_t 2017-01-09 17:22:28 +01:00
twinaphex 1e60376e7c Simplify menu_display_draw_bg - take out XMB-specific code out of
menu_display.c
2017-01-09 16:55:46 +01:00
twinaphex 4d77dacbe5 Implement rgui_environ - framebuffer will update itself when mouse
is active
2017-01-09 16:49:57 +01:00
twinaphex 02dfda3ad3 Create menu_animation_update 2017-01-09 16:39:09 +01:00
twinaphex 52a0592a4d (XMB) Style nits 2017-01-09 16:26:50 +01:00
twinaphex 05bff46236 (MaterialUI) Fix performance regression - we were not checking
if the menu background actually exists prior to initiating the task
2017-01-09 16:21:07 +01:00
twinaphex 179831174d (xmb.c) Cleanups - don't grab settings pointer everywhere 2017-01-09 16:00:53 +01:00
Twinaphex 77ddedd87d Merge pull request #4386 from fr500/master
this code makes the pipeline work
2017-01-09 09:54:17 +01:00
radius e2c3784734 this code makes the pipeline work 2017-01-08 23:18:54 -05:00
Twinaphex 3b61a9f836 Merge pull request #4385 from fr500/master
cleanup more xmb code
2017-01-09 04:47:27 +01:00
radius b55fcb22ea cleanup more xmb code 2017-01-08 22:44:57 -05:00
twinaphex dd1c376ea9 C89_BUILD fixes 2017-01-09 01:55:38 +01:00
twinaphex 68d484bf60 Set supports_rgba before calling image_texture_load 2017-01-08 21:49:23 +01:00
twinaphex 61a8638d4c Fixes ribbon row offset issues 2017-01-08 04:16:13 +01:00
twinaphex c8bc6c7120 (XMB) Add Bokeh menu pipeline 2017-01-08 03:56:47 +01:00
twinaphex addd87b762 Update xui.cpp 2017-01-08 02:14:44 +01:00
twinaphex 9d9a5e71ab (XMB) Set fullpath dir for each node entry 2017-01-07 18:32:55 +01:00
twinaphex 4e037cbe68 (XMB) 'Menu wallpaper' - Show images in aesthetically pleasing way 2017-01-07 17:10:29 +01:00
twinaphex 1d43224f7e (xmb.c) header cleanup 2017-01-05 07:42:35 +01:00
twinaphex 1fa08e327b Silence some warnings about uninitialised values 2017-01-04 09:15:11 +01:00
twinaphex 598032f15e Cleanup 2016-12-30 05:33:42 +01:00
twinaphex 876a68717e We don't need enum_idx for task_push_image_load 2016-12-30 05:33:04 +01:00
twinaphex 9657bbd998 Get rid of set_rgba/unset_rgba inside image_texture.c 2016-12-29 23:22:40 +01:00
twinaphex 6a166faa0c Revert "Remove supports_rgba varaible from image_texture.c"
This reverts commit bd0c97fdc4.
2016-12-29 22:53:10 +01:00
twinaphex bd0c97fdc4 Remove supports_rgba varaible from image_texture.c 2016-12-29 22:39:52 +01:00
Ryunam c80d1e8242 Add toggle to show / hide Import Content tab on XMB 2016-12-24 18:45:15 +01:00
twinaphex 3639011ed4 (XMB) Cleanup 2016-12-24 01:44:30 +01:00
Jean-André Santoni fe0e458ba9 Move shutdown at the bottom of the main menu 2016-12-23 22:12:50 +01:00
twinaphex 0382f3ccd3 (XMB/MaterialUI) Hide mouse cursor after roughly 3 seconds
of inactivity
2016-12-23 22:12:30 +01:00
Romain Graillot 401e82c316 VITA/materialui - make sublabel text readable 2016-12-23 12:14:46 +01:00
twinaphex 77e5cdbfde Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
This reverts commit ad7386913c.
2016-12-22 23:36:11 +01:00
twinaphex ad7386913c Rename runloop_msg_queue_push to video_driver_msg_queue_push
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
Brad Parker 0551e2dea8 move win32 check to frontend driver 2016-12-21 09:34:57 -05:00
Brad Parker 0008e9a046 win32 check was in wrong place 2016-12-20 23:34:46 -05:00
Brad Parker 3449324ab4 move battery level to the right of the clock 2016-12-20 09:44:29 -05:00
Brad Parker d20f45c9d4 make battery level check into a task 2016-12-20 09:18:07 -05:00
Brad Parker 1f450834ed unknown battery level on windows should not be displayed 2016-12-20 01:25:32 -05:00
Brad Parker 1942d29a33 battery placement 2016-12-19 19:06:19 -05:00
Jean-André Santoni 9e50b6fc44 Improve the battery placement again 2016-12-20 01:03:06 +01:00
Jean-André Santoni 24a34229a6 Improve the battery placement again 2016-12-20 00:55:21 +01:00
Jean-André Santoni ce27d38d0e Fix battery placement 2016-12-20 00:47:18 +01:00
Brad Parker f0fc61be32 fix for non-incrementing difference in timer 2016-12-19 18:42:23 -05:00
Brad Parker 5945b8d888 always show battery level, not just when it actually updates 2016-12-19 18:03:31 -05:00
Brad Parker 51b9886586 add timer to check battery level every 30 seconds 2016-12-19 15:49:11 -05:00
Brad Parker 1e5c675702 adjust scaling/positioning for new battery icons 2016-12-19 15:31:10 -05:00
twinaphex b536f3f5f7 Get rid of implicit memsets 2016-12-19 14:29:27 -05:00
Brad Parker 7aac7f986a add option to show battery level next to the datetime in the menu 2016-12-19 14:28:21 -05:00
twinaphex 327c81ed3a (XMB) Create icons for CFILE 2016-12-18 17:26:02 +01:00
twinaphex c6727bd788 Change Audio Sync string 2016-12-15 11:45:28 +01:00
twinaphex 01afcaa050 Add icon for 'Parent Directory' 2016-12-15 11:31:06 +01:00
twinaphex aee432a528 (materialui.c) Cleanup 2016-12-15 11:24:05 +01:00
twinaphex 2eca6aa04d (XMB) Don't use hardcoded 'OFF' 2016-12-15 11:23:08 +01:00
twinaphex 492e363fde Create xmb->thumbnail_orig_width/height 2016-12-14 20:49:50 +01:00
twinaphex 4d4710d881 Update MaterialUI 'Load Content' selection 2016-12-14 17:53:22 +01:00
twinaphex 43f9f8e8ef (XMB) Cleanups 2016-12-14 16:47:10 +01:00
twinaphex c8273cd14a (XMB) Use database icon for drives inside Load Content 2016-12-13 03:55:28 +01:00
twinaphex d7a082e005 Rename 'Select File' to 'Favorites' 2016-12-13 01:34:54 +01:00
twinaphex 5723c79dac (XMB) Use folder icons for 'Downloads dir' / 'Select File' 2016-12-13 01:34:52 +01:00
twinaphex 9909669d01 Combine Load Content and Load Content (Detect Core) 2016-12-13 01:34:49 +01:00
twinaphex 5a2dfe9ded Revert "Combine Load Content and Load Content (Detect Core)"
This reverts commit 92ae2ab860.
2016-12-12 17:19:19 +01:00
twinaphex 92ae2ab860 Combine Load Content and Load Content (Detect Core) 2016-12-12 16:20:43 +01:00
twinaphex e08c1dce6e (XMB) Put thumbnail behind OSK overlay 2016-12-12 14:18:25 +01:00
lasers 8366b26d36 Switch XMB Tabs (Music,Video) 2016-12-12 03:54:53 -06:00
twinaphex 5fa01c94d3 (XMB) Put thumbnail on foreground 2016-12-12 03:57:56 +01:00
twinaphex 3e25dfb220 (XMB) Add log 2016-12-12 03:34:21 +01:00
twinaphex b9984387f5 (XMB) Add another log 2016-12-12 03:28:55 +01:00
twinaphex dd33715074 (XMB) Cleanups 2016-12-12 03:24:31 +01:00
twinaphex a4dde93a2f Add XMB_DEBUG 2016-12-12 03:20:00 +01:00
twinaphex 90c463b779 (XMB) Add logging 2016-12-12 03:18:48 +01:00
lasers 16eebb3f58 Add Systematic Theme 2016-12-08 23:39:39 -06:00
twinaphex b0fcdf9db4 Wrong usage of enum 2016-12-08 03:02:30 +01:00
markwkidd 39a92f889a replace hardcoded "lpl" w/FILE_PATH_LPL_EXTENSION_NO_DOT 2016-12-07 14:47:43 -05:00
twinaphex b92711ddce (XMB) Try to silence Coverity warning 2016-12-06 07:12:28 +01:00
twinaphex 9f470c53ae Add 'Simple Snow' shader to GLSL backend 2016-12-06 00:48:36 +01:00
twinaphex abaa6eda62 Rename VIDEO_SHADER_MENU_SEC to VIDEO_SHADER_MENU_2 2016-12-06 00:34:38 +01:00
twinaphex b5177d807e Style nits 2016-12-04 04:43:53 +01:00
twinaphex 8e7d440ed5 (Zarch) Silence Zarch warning 2016-12-02 17:44:35 +01:00
twinaphex 642310e08a Remove runloop.h header include from many files 2016-12-02 06:19:27 +01:00
Twinaphex 5e75820880 Remove unused variables 2016-12-01 22:54:34 +01:00
Jean-André Santoni 2fc592bbe6 Savestate thumbnails reimplementation 2016-12-01 20:31:07 +01:00
Jean-André Santoni d00566b018 Add setting for the savestate thumbnails 2016-12-01 20:31:07 +01:00
Jean-André Santoni a0c5a28602 Fix wrong thumbnail index 2016-12-01 20:31:07 +01:00
Jean-André Santoni 367dcef0b1 Savestate thumbnails 2016-12-01 20:31:07 +01:00
Brad Parker 78e75cdc69 whitespace 2016-11-27 22:02:22 -05:00
Brad Parker ee49eeec09 fix endless word_wrap() loop when a label has a newline and no spaces 2016-11-27 22:02:10 -05:00
Jean-André Santoni 57d3236b99 Delete a debug message 2016-11-27 23:21:07 +01:00
Jean-André Santoni ec24fb6bbd (XMB) Display thumbnails for image history 2016-11-27 23:16:45 +01:00
twinaphex e1d4ccd7fd Update intl headers 2016-11-25 23:04:00 +01:00
twinaphex bc5b1b9d60 Cleanups 2016-11-25 22:43:42 +01:00
twinaphex df6a7993b3 OFF/ON labels can be translated now too 2016-11-25 22:28:12 +01:00
twinaphex 21e9bde569 Silence warning 2016-11-21 15:00:57 +01:00
Twinaphex eb7bf1387a Revert "Improvs one at a time - Configurations" 2016-11-21 07:26:58 +01:00
Twinaphex bc3d4ff015 Merge pull request #4012 from lasers/improvs-one-at-a-time
Improvs one at a time - Configurations
2016-11-21 07:08:16 +01:00
twinaphex 2deb306967 Turn video_shader_driver_use into macro 2016-11-20 16:31:45 +01:00
twinaphex 205e7cf272 Fix C89_BUILD 2016-11-20 14:48:00 +01:00
twinaphex f33d7f2712 Unused variable 2016-11-19 04:04:55 +01:00
Jean-André Santoni 5be99842b5 Merge pull request #3996 from markwkidd/crossplatform-thumbnail-filenames
improve cross-platform support for thumbnail filenames
2016-11-18 21:30:23 +01:00
lasers 6265d1e90a Clean the Configuration mess 2016-11-18 13:45:10 -06:00
Alcaro 53c7bfc501 This one uses one float per vertex, whether snow is enabled or not 2016-11-18 17:10:52 +01:00
Brad Parker 750165a251 prevent use-after-free error 2016-11-17 21:17:24 -05:00
twinaphex 20c1ef83d6 First stab at getting snow shader to work 2016-11-17 21:08:50 +01:00
twinaphex a2c69ec254 Added snow shader hooks - doesn't work yet though - shader driver
system is very limited in terms of how we can set custom menu
shaders - will require a rethink
2016-11-17 20:54:29 +01:00
markwkidd e0deb20e30 Update xmb.c 2016-11-15 16:54:35 -05:00
markwkidd 0d8c2aa119 improve description of thumb filename scrub, add parenthesis 2016-11-15 16:48:29 -05:00
markwkidd 1ad1598be2 Update xmb.c 2016-11-15 15:58:18 -05:00
markwkidd 9d0e5c012e change thumbnail filename scrub to use strpbrk() 2016-11-15 15:57:51 -05:00
markwkidd 08514679d5 Update xmb.c 2016-11-15 15:47:18 -05:00
markwkidd 167a71635d Update xmb.c 2016-11-15 14:04:59 -05:00
markwkidd 096b316183 additional fixes per the PR discussion 2016-11-15 14:01:28 -05:00
markwkidd d0f23fdddb Update xmb.c 2016-11-15 09:05:33 -05:00
markwkidd 06221da8a1 fix escape characters, remove dupe line, add comment 2016-11-15 09:03:55 -05:00
markwkidd a9ead799e6 improve cross-platform support for thumbnail filenames
The intention of this PR is to allow RetroArch playlists to display the 'prohibited' characters & \ / ? : < > : * | on the screen, while searching for matching thumbnail files that replace these problematic characters with an underscore. This step of the process is bolded in the flowchart below as #2 under 'Playlist display.'

I don't normally work in C -- this change is a hack job. It did look like string_replace_substring could handle being daisy-chained so I thought I'd see if this could spark a productive conversation.

Playlist generation:
    1) Use hash values to match ROM files to known-good databases such as No-Intro. (exists)
    2) Create playlist using 'display names' from the known-good databases (exists)

Playlist display:
    1) Read display name from the playlist file (exists)
    **2) Transform characters that are not cross-platform friendly into underscores to determine thumb filename (this PR)**
    3) Look for a thumbnail file that matches this filename (exists)
    4) Display the thumbnail image (exists)
2016-11-14 13:24:05 -05:00
twinaphex 14f56e15c9 Fix Nuklear 2016-11-06 17:36:04 +01:00
twinaphex 9ce285a077 (Nuklear) Another buildfix 2016-11-06 17:29:12 +01:00
twinaphex f1129d982f (Nuklear) Silence some build errors 2016-11-06 17:27:19 +01:00
twinaphex 0c41a8873d Move 'Start Videoprocessor Core' / 'Start Remote RetroPad Core' to
'Load Core'
2016-11-06 00:04:37 +01:00
radius 486254f06d separate hardcore achievements 2016-11-05 16:55:57 -05:00
twinaphex 0f2bd3e653 remove MENU_ENUM_LABEL_VALUE_BACK 2016-11-05 01:41:44 +01:00
twinaphex 1a1b221ddd Create Configurations list 2016-11-04 15:03:09 +01:00
twinaphex c35d723b40 Fix C89_BUILD 2016-11-04 14:29:02 +01:00
Jean-André Santoni 80d23769a9 Sublabels for GLUI 2016-11-03 20:25:00 +01:00
twinaphex 57981b2714 Hide 'Add Content' list in MaterialUI, and move it to 'Playlists' tab 2016-11-03 19:05:04 +01:00
Twinaphex 2e7eb72884 Get rid of unused variable 2016-11-03 16:36:42 +01:00
Jean-André Santoni 4722bb45c8 Move the font_param stuff to menu_display.c 2016-11-03 15:56:40 +01:00
Jean-André Santoni 745da4d66b Adapt OSK rendering to vertical screens like phones 2016-11-03 09:21:27 +01:00
Jean-André Santoni 5bdd9533e7 Improve OSK look in GLUI 2016-11-03 09:12:37 +01:00
Jean-André Santoni f72bf26eac Improve OSK look on XMB 2016-11-03 08:55:24 +01:00
Jean-André Santoni a7ecf7615d Add special OSK keys to GLUI too 2016-11-02 16:16:05 +01:00
Jean-André Santoni 31073214b6 Add special keys on the OSK 2016-11-02 16:15:23 +01:00
Jean-André Santoni 4bf172835d Expose the NeoActive icon theme 2016-10-31 21:42:46 +01:00
Jean-André Santoni 659235c572 Merge pull request #3906 from lasers/add-monochrome-jagged
Add Monochrome Jagged
2016-10-31 08:20:33 +01:00
Brad Parker 5d28029be8 remove confirm_on_exit menu option 2016-10-30 23:29:03 -04:00
lasers 8797dfbee1 Add Monochrome Jagged 2016-10-30 17:14:13 -05:00
twinaphex 7d0ebd1b51 Some C89_BUILD fixes 2016-10-30 14:27:24 +01:00
Jean-André Santoni 41611e3d74 Touch and mouse support for the OSK 2016-10-30 11:48:48 +01:00
Brad Parker 28c0e78292 ignore trigger input while binding a new key 2016-10-29 21:58:43 -04:00
twinaphex 0fee70457b (MSVC) Fix issues 2016-10-30 02:40:05 +01:00
Brad Parker 1a73b1d144 OSK cleanup, add katakana support 2016-10-29 19:51:02 -04:00
Jean-André Santoni 281335f86f Improve OSK look 2016-10-30 00:20:37 +02:00
Jean-André Santoni b176aa2396 OSK Fix and cleaning 2016-10-29 23:28:53 +02:00
Jean-André Santoni 156081635c Merge pull request #3898 from heuripedes/master
(xmb) Fix memory leak
2016-10-29 23:22:33 +02:00
Jean-André Santoni 97e13c4409 Preliminary changes for the utf8 OSK 2016-10-29 22:43:34 +02:00
Higor Eurípedes 5de85bb3e5 (xmb) Fix memory leak
Fixes #3857
2016-10-29 14:36:16 -03:00
twinaphex d4ecce48c7 Fix truncated messagebox messages 2016-10-29 08:38:14 +02:00
Jean-André Santoni 6cc14a4fb9 Add missing copyright mention on some files 2016-10-27 18:17:43 +02: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 50ba48924d Reduce more PATH_MAX_LENGTH usage 2016-10-27 09:49:21 +02:00
twinaphex 8d6be4b700 Reduce size of some messages (was PATH_MAX_LENGTH by default,
which can default to 4096)
2016-10-27 09:13:36 +02:00
twinaphex 97d80d5e3e Get rid of more implicit memsets 2016-10-26 06:23:05 +02:00
Jean-André Santoni ac18d31ac4 (XMB) Icons for Save Overrides 2016-10-25 13:34:01 +02:00
Jean-André Santoni 55c480358d Move draw_quad to menu_display 2016-10-25 08:11:37 +02:00
Jean-André Santoni cbbb88ab16 Code cleaning 2016-10-25 07:52:47 +02:00
Jean-André Santoni 23ef14347f (MUI) On-screen keyboard 2016-10-25 07:48:27 +02:00
twinaphex f49e1fbc84 C89_BUILD fixes 2016-10-24 22:18:12 +02:00
Jean-André Santoni df1f4dbc89 (Menu) Integrate an joypad driven OSK to the menu driver. 2016-10-24 20:26:22 +02:00
twinaphex 2b4d87a983 Remove setting_get_type 2016-10-23 02:28:22 +02:00
twinaphex aca8970e79 CXX_BUILD fixes 2016-10-21 19:14:48 +02:00
twinaphex 56d427df65 C89_BUILD fixes 2016-10-21 19:12:06 +02:00
Jean-André Santoni 6420f9414f (XMB) Basic word wrapping 2016-10-20 19:15:21 +02:00
Jean-André Santoni d027a558c0 (XMB) Fix label centering 2016-10-20 16:29:14 +02:00
twinaphex 0a295998a2 Hook up sublabels 2016-10-20 16:10:20 +02:00
twinaphex 5f552253c4 Add sublabel to menu_entry_t 2016-10-20 15:47:02 +02:00
Twinaphex 1471c9c299 Merge pull request #3835 from lakkatv/master
(XMB) Add a second font
2016-10-20 15:11:43 +02:00
Jean-André Santoni dff751420a (XMB) Add a second font 2016-10-20 09:52:17 +02:00
Twinaphex 762a0faef3 Merge pull request #3834 from JuanVCS/master
Move 'Save Core/Game Overrides' to Quick Menu
2016-10-20 03:24:50 +02:00
Higor Eurípedes ec776a8d75 (zarch) Fix build 2016-10-19 20:13:01 -03:00