Commit Graph

2001 Commits

Author SHA1 Message Date
Rob Loach 7e7c17596d
Add Add To Favorites Playlist icon id 2017-11-25 12:51:12 -05:00
GameDragon2k cfe59bcf2a Cheevos badges 2017-11-23 08:04:54 -05:00
GameDragon2k 8b9ad28ecb channges to populate and apply badges. 2017-11-23 07:56:47 -05:00
GameDragon2k 84e80e47df Initial test for badge icon 2017-11-23 07:53:24 -05:00
Alfrix 1bd65c8f3e Add Retrosystem theme 2017-11-17 19:42:55 -03:00
twinaphex 5879e551a5 Pass video_info to font driver functions 2017-11-13 10:42:40 +01:00
rz5 0d7f9c7cf0
(xmb) De-hardcode the size of 'tabs' array
As per @bparker06's recommendation.

First element of the enum is forced to be zero, so we can add a tail to the enum that we can use to query its max length.
2017-11-06 20:20:14 +00:00
Twinaphex 5136ec2df0 Updates 2017-11-06 05:37:32 +01:00
rz5 82de482b9f
(xmb) Fixed array index out of bounds
Caught by asan:

menu/drivers/xmb.c:3491:16: runtime error: index 8 out of bounds for type 'uint8_t [8]'
menu/drivers/xmb.c:1149:23: runtime error: index 8 out of bounds for type 'uint8_t [8]'
2017-11-06 01:06:13 +00:00
twinaphex bb051f185b MSVC/C89 buildfixes 2017-10-22 05:13:22 +02:00
Brad Parker 338723bc31 fix some null pointer accesses with empty strings 2017-10-15 00:39:55 -04:00
Twinaphex 01f8e4e74f Merge pull request #5539 from Brunnis/master
XMB: Fix playlist entry graphic update issue when all system tabs except Main Menu are disabled
2017-10-12 14:08:38 +02:00
Brunnis a87cf6d2e7 Fix issue in XMB where playlist entry graphic wouldn't update when scrolling through the first playlist tab, if all system tabs except the Main Menu tab were disabled. 2017-10-12 09:49:59 +02:00
Brunnis 39619d1245 Implemented new Kiosk Mode setting which hides all configuration related settings/tabs in XMB. 2017-10-11 11:30:53 +02:00
Mikael Brunnhede 83991d6c36 Implemented setting for showing/hiding the "Reboot" option in XMB. The setting is only shown on Lakka. 2017-10-06 09:40:41 +02:00
Mikael Brunnhede 9db0e9dbc6 Implemented setting for showing/hiding the "Quit RetroArch" option in XMB. The setting is only shown on Lakka. 2017-10-06 09:27:42 +02:00
Mikael Brunnhede f073d5167a Implemented setting for showing/hiding the "Help" option in XMB. 2017-10-06 08:28:45 +02:00
Mikael Brunnhede 7ee1797fa1 Implemented setting for showing/hiding the "Configurations" option in XMB. 2017-10-06 08:18:39 +02:00
Mikael Brunnhede 19b313c221 Implemented setting for showing/hiding the "Information" option in XMB. 2017-10-05 14:30:15 +02:00
Mikael Brunnhede 0eb5566dea Implemented setting for showing/hiding the "Load Content" option in XMB. 2017-10-05 09:26:25 +02:00
Mikael Brunnhede cc3b64f951 Implemented setting for showing/hiding the "Load Core" option in XMB. 2017-10-05 09:14:05 +02:00
twinaphex 032109512a Fix more Coverity errors 2017-10-04 08:37:21 +02:00
Higor Eurípedes fca48021aa (xmb) Fix whitespace 2017-10-03 21:16:11 -03:00
Higor Eurípedes 6ed9f28656 (xmb) Set selection_ptr_old to zero when animations are off 2017-10-03 21:15:35 -03:00
Twinaphex 9c89b3e546 Merge pull request #5496 from Brunnis/master
Add setting for showing/hiding the ability to rename playlist items
2017-10-02 22:37:50 +02:00
Mikael Brunnhede af7df0cba3 Add setting for showing/hiding the ability to rename playlist items. 2017-10-02 22:17:44 +02:00
twinaphex 721afe22d8 (MSVC 2010) Compile griffin.c as C 2017-10-02 22:06:32 +02:00
twinaphex 1d960e0c42 Try to silence Coverity error 2017-10-01 18:23:40 +02:00
twinaphex e66ef15580 Remove another useless wrapper function 2017-10-01 17:17:53 +02:00
twinaphex a87bef6ed0 Remove useless wrapper function 2017-10-01 17:11:09 +02:00
Brad Parker a11d04f252 xmb: check that node exists before dereferencing it 2017-10-01 02:08:41 -04:00
twinaphex 455b202142 Fix another Coverity error 2017-09-30 17:09:52 +02:00
twinaphex b46f2ba35f Fix Coverity error 2017-09-30 17:05:26 +02:00
twinaphex 4dd6c7fac7 Fix crash 2017-09-30 16:55:50 +02:00
twinaphex 2a8b74eeb9 Fix some Coverity errors 2017-09-30 16:52:41 +02:00
twinaphex b0de197da4 Memset this variable 2017-09-30 07:43:37 +02:00
twinaphex e376bd75c0 Fix crash with savestate thumbnails 2017-09-30 07:10:58 +02:00
twinaphex 638a441530 (XMB) Be safer 2017-09-30 06:40:54 +02:00
twinaphex 94fdf314f2 Cleanup conditionals 2017-09-30 06:11:18 +02:00
twinaphex d6b385d0b8 Try to be more safe 2017-09-30 05:08:11 +02:00
Twinaphex 66de49c987 Fix memory leaks and crashes 2017-09-29 21:19:07 +02:00
twinaphex f398f44253 Rewrite xmb_draw_item 2017-09-29 21:00:56 +02:00
twinaphex 238de4aa57 Prevent memory leak 2017-09-29 20:56:54 +02:00
twinaphex 7f80ecbe93 (XMB) xmb_free - prevent memory leaks 2017-09-29 19:57:23 +02:00
twinaphex 8e01424450 Refactor and rewrite big char arrays 2017-09-29 19:55:06 +02:00
twinaphex efde859e17 Rewrite menu_entry_get_rich_label 2017-09-29 18:46:53 +02:00
twinaphex 9c90f97792 No longer use menu_entry_alloc 2017-09-29 18:37:04 +02:00
twinaphex 05d5def6c2 Simplify xmb_draw_item 2017-09-29 18:12:17 +02:00
twinaphex 51d98ef0c0 (XMB) Reduce stack usage 2017-09-29 16:54:57 +02:00
twinaphex 8bf741257c (XMB) Reduce stack usage 2017-09-29 16:47:30 +02:00
twinaphex dc11a02e61 Cleanup 2017-09-29 16:34:20 +02:00
twinaphex b2932d5270 Split up function into two - create xmb_draw_item 2017-09-29 16:32:30 +02:00
twinaphex 5379b12e7c FIx some new Coverity errors 2017-09-29 05:39:06 +02:00
twinaphex 270f35753a reorder XMB variables 2017-09-28 08:42:12 +02:00
twinaphex dfe6035ade Put menu_entry_t on heap inside xmb_draw_items 2017-09-28 07:26:43 +02:00
twinaphex f914a91944 Use menu_entry_get_type_new 2017-09-28 07:15:29 +02:00
twinaphex c5255b1bff Simplify menu_entry_get_rich_label 2017-09-28 06:19:34 +02:00
twinaphex 2f10fd14d6 Create menu_entry_init/menu_entry_free 2017-09-28 06:02:14 +02:00
twinaphex bb6e4a6633 xmb_draw_items - small cleanups 2017-09-28 05:37:19 +02:00
twinaphex a616fa16f3 Small cleanups 2017-09-28 05:00:22 +02:00
twinaphex 7633141bd6 Try to prevent potential memory leak 2017-09-28 03:53:48 +02:00
twinaphex 8b5f8d8c64 menu_displaylist_info - rewrite path 2017-09-28 03:06:54 +02:00
twinaphex 08ecfc74ec Rewrite info.label 2017-09-28 02:45:03 +02:00
twinaphex 72f42b602f menu_displaylist_info - reduce stack usage - exts no longer
a fixed size path
2017-09-28 01:38:05 +02:00
Mikael Brunnhede a1e9027fe2 Added XMB menu option to show the Settings tab if it has previously been hidden. 2017-09-26 14:41:07 +02:00
twinaphex a532ef3cea (XMB) Prevent memory leak 2017-09-12 04:47:37 +02:00
twinaphex a25f9d291e (XMB) Reduce stack usage 2017-09-12 04:37:58 +02:00
twinaphex 632225ee73 Reduce stack usage 2017-09-11 04:40:35 +02:00
twinaphex ea5538d955 (XMB) Reduce stack size cleanups 2017-09-11 02:37:53 +02:00
twinaphex f722e26167 Cleanups 2017-09-10 23:22:09 +02:00
twinaphex 155d6a23b9 Start using menu_displaylist_info_free 2017-09-10 22:57:26 +02:00
twinaphex 6ec9d643f6 (XMB) Reduce size of sysname 2017-09-09 07:59:53 +02:00
Twinaphex 6d65c5157a remove unused variables 2017-09-09 07:22:25 +02:00
twinaphex 8e53ce6184 (XMB) Get rid of for loops for iterating over shadow coordinates 2017-09-09 06:52:49 +02:00
twinaphex 03009d618e Get rid of loop inside xmb_frame 2017-09-09 06:48:31 +02:00
twinaphex ca32013665 Reduce size of some variables 2017-09-08 23:09:16 +02:00
twinaphex 582b688121 Silence some warnings for PS3 2017-09-06 00:21:20 +02:00
Brad Parker 8d525f711a msvc2003 buildfixes 2017-09-03 23:39:25 -04:00
twinaphex 80dc96a8fb CXX_BUILD buildfix 2017-09-04 03:49:23 +02:00
Higor Eurípedes 455349880e (xmb) Fix crash when browsing to small lists 2017-09-03 18:06:38 -03:00
Higor Eurípedes eac68b9d41 (xmb) Limit selection_buf_old to visible items 2017-09-03 16:30:45 -03:00
Higor Eurípedes 6c7a354822 (xmb) Remove xmb->menu_stack_old 2017-09-03 14:51:14 -03:00
twinaphex 67710daf4b Fix initialization from incompatible pointer type 2017-09-03 15:45:18 +02:00
Higor Eurípedes 718eeb4a39 (xmb) Fix memleak
Due to file_list_free()'s behavior of free()ing userdata as if it was a
simple, contiguous structure xmb_node_t's fullpath member wasn't being
free()'d.
2017-09-03 10:25:15 -03:00
Higor Eurípedes a7e6b02107 (xmb) Refactor xmb_copy_node()
xmb_node_t is nowhere as big as it used to be, so copying is fine now.
2017-09-03 10:19:03 -03:00
Higor Eurípedes 65ec1e973a (xmb) Add xmb_free_list_nodes()
Fixes some node->fullpath memleaks.
2017-09-03 09:48:31 -03:00
Higor Eurípedes 1a1e5047e8 (xmb) Fix crash while scanning 2017-09-02 20:21:02 -03:00
Higor Eurípedes 4bfc8f8243 (xmb) Fix crash when toggling the menu 2017-08-31 14:52:54 -03:00
Higor Eurípedes f521a32c00 (xmb) Don't animate more than needed when switching lists 2017-08-30 22:23:29 -03:00
Higor Eurípedes bd96c75bfe (xmb) Make xmb_node_t smaller
Each xmb_node_t instance used over 4KiB of memory even when it didn't
need to. In big list like MAME (30+ thousand entries) RetroArch would
consume over 100MiB (4096 bytes * 30000) just to hold all xmb_node_t
instances.
2017-08-29 22:19:19 -03:00
Higor Eurípedes 70b6f951d3 (xmb) Uncomment xmb_calculate_visible_range() call
I tested the other drivers quickly and the previous commit did not
affect them, so I'm enabling this again.
2017-08-22 22:00:14 -03:00
Alex e5adb1056c (XMB) Regression Fix thumbnail ahead OSK overlay 2017-08-20 06:38:23 +02:00
Higor Eurípedes 6bc5cd302a (xmb) Comment out visible item calculation in xmb_draw_items()
Fixes a regression where fading animations didn't render if you were far
into the previous list. This happened because "current" has an incorrect
value thanks to a menu_navigation_set_selection(0) call in
menu_cbs_left.c:162
2017-08-19 11:01:27 -03:00
Higor Eurípedes aaecf82608 (xmb) Skip drawing the fading list when it is already transparent 2017-08-18 22:33:38 -03:00
Jean-André Santoni 6940019102 (XMB) Icon for the rename action 2017-08-18 18:30:31 +07:00
Higor Eurípedes 0d59994c42 (xmb) Only iterate over visible items in xmb_render() 2017-08-17 21:36:48 -03:00
Higor Eurípedes ea9991f749 (xmb) Detect non-visible items before drawing 2017-08-17 21:36:48 -03: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 ef79711837 (MaterialUI) Hook up framebuffer opacity 2017-08-15 22:43:09 +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
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
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
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 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 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 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
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
aliaspider dd5bc1a951 (WiiU) fix icon scaling in XMB. 2017-05-22 07:34:30 +01: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 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 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
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 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 ed53be7c81 Move all bool settings 2017-04-28 14:11:34 +02:00
twinaphex a54af2f2c1 Prevent implicit memset 2017-04-27 01:27:02 +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 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
Rob Loach 157fbeccb5
Add Font Text Color settings 2017-03-12 10:33:06 -04: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
Jean-André Santoni 1cccfa09fb (Menu) Fix core option ON/OFF buttons 2017-02-21 19:54:55 +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
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 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 d0d55ffaa1 Add HAVE_NETWORKING ifdefs 2017-01-23 01:30:50 +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 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 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
radius 95a2da81e4 start adding ui elements to insert room list into 2017-01-18 22:46:48 -05: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 c5445d2980 Reduce amount of times video_driver_get_size is called 2017-01-18 23:02:24 +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
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 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 dc4140a00b (GLUI) Word wrapping for sublabels 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
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 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 179831174d (xmb.c) Cleanups - don't grab settings pointer everywhere 2017-01-09 16:00:53 +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 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 876a68717e We don't need enum_idx for task_push_image_load 2016-12-30 05:33:04 +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
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 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 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 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 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 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 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 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
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 f72bf26eac Improve OSK look on XMB 2016-11-03 08:55:24 +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
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
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 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
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
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 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
twinaphex 290c5ea2f5 Get rid of some implicit memsets 2016-10-19 04:02:00 +02:00
twinaphex 9b68544992 Remove unused variables 2016-10-19 02:29:19 +02:00
Higor Eurípedes 46fe9fa29e Add multiple font support to material and xmb 2016-10-18 20:36:54 -03:00
twinaphex 584d9a5997 Prevent some more implicit memsets 2016-10-18 04:15:24 +02:00
Juan 248205d425 Move 'Save Core/Game Overrides' to Quick Menu 2016-10-17 01:24:57 -03:00
twinaphex 546f01eea3 Prevent some more implicit memsets 2016-10-16 01:45:50 +02:00
twinaphex 3dc0e92cca Prevent more implicit memsets 2016-10-16 00:58:18 +02:00
aliaspider a8aa78456c xmb: fix a crash.
xmb_node_allocate_userdata needs to be called for the list since is
generated with menu_entries_append_enum, which allocates action data for
each items. those would be otherwise misinterpreted as nodes.
2016-10-11 03:49:47 +01:00
aliaspider 1aafa29562 (3DS) xmb menu tweak. 2016-10-10 22:18:42 +01:00
twinaphex 1cf2799a8a (MaterialUI) Remove some implicit memsets 2016-10-08 19:25:05 +02:00
twinaphex f7544d0fc1 Avoid implicit memsetting of path values in XMB 2016-10-08 18:17:33 +02:00
twinaphex 9384875ab0 Don't use HAVE_NETPLAY any more 2016-09-29 21:07:10 +02:00
Gregor Richards 03c9dab93a Adding a netplay menu
In this first cut, Netplay can be enabled "mid-stream", but not much
else is supported. Client reconnection and either-side disconnection are
listed in the menu but don't yet do anything.
2016-09-29 13:04:38 -04:00
Jean-André Santoni fcdc6187cb WiFi icons 2016-09-22 22:27:50 +02:00
twinaphex b3f50a3758 Prevent uninitialized scalar variable 2016-09-20 15:56:47 +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 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 3a663ba013 (XMB) Use menu_entry_get_value 2016-09-15 16:30:22 +02:00
twinaphex 78c4bc4a5b (xmb.c) Try to make sure 1st and 2nd arguments for fill_pathname_join
are not one and the same
2016-09-15 16:25:10 +02:00
twinaphex f648ea8602 Cleanups 2016-09-15 16:07:20 +02:00
twinaphex 02e01e0b0a Create menu/widgets/menu_entry 2016-09-15 00:20:43 +02:00
twinaphex 892c0a6f52 Create menu/widgets/menu_list 2016-09-15 00:10:37 +02:00
Jean-André Santoni 7731b14b5c (XMB) Undo icon 2016-09-13 22:58:52 +02:00
twinaphex c35d763990 Cleanups 2016-09-08 06:00:54 +02:00
twinaphex 82d82110ae Merge system.h with core.h 2016-09-06 06:11:54 +02:00
sergiobenrocha2 3ff191a3c1 Moved down this Start Video Processor. 2016-08-28 22:28:55 -03:00
Jean-André Santoni 9fe67ac09f (Menu) Display a Remove from Entry 2016-08-29 00:54:51 +02:00
Monroe88 3a7b1e241a Add Save Overrides to XMB and GLUI Main Menu 2016-08-28 11:00:51 -05:00
orbea 5344103685 Move 'Start Remote RetroPad' for both glui and xmb to match rgui 2016-08-27 15:01:35 -07:00
Twinaphex 89d0798e68 Merge pull request #3423 from bparker06/utf8
Initial UTF-8 support for rgui/xmb/glui. Enables first 256 codepoints.
2016-08-26 17:27:20 +02:00
twinaphex 9ef45957d5 Stub out debug logging 2016-08-26 00:47:58 +02:00
Jean-André Santoni d13c3b53d9 (XMB) Prevent label overlap 2016-08-26 00:28:57 +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
Brad Parker 35e67e69e5 Initial utf8 support for rgui/xmb. Only supports first 256 codepoints due to current freetype atlas limitation 2016-08-23 14:49:44 -04:00
Francisco José García García 4221374072 (VITA) Add XMB support 2016-08-23 02:49:53 +02:00
radius a467e13302 reorder XMB tabs 2016-08-21 00:09:29 -05:00
Jean-André Santoni 04fb4f6dde (XMB) Allow hiding some tabs 2016-08-18 16:42:39 +02:00
Jean-André Santoni 4228e3dcc3 Revert "Reworked xmb driver to allow tab hiding"
This reverts commit 069a9cbfe6.
2016-08-18 14:06:54 +02:00
Ghost Coder 069a9cbfe6 Reworked xmb driver to allow tab hiding 2016-08-17 11:28:42 -05:00
Alcaro 32a56d2738 Revert "[bugged] Reworked xmb driver to allow tab hiding" 2016-08-17 15:07:17 +02:00
Twinaphex f26044678d Merge pull request #3341 from gitghostcoder/master
[bugged] Reworked xmb driver to allow tab hiding
2016-08-17 09:45:47 +02:00
Ghost Coder 46029bef22 Reworked xmb driver to allow tab hiding 2016-08-06 04:08:21 -05:00
twinaphex 444d957978 (PSGL) Fix 32bit color 2016-08-03 17:07:38 +02:00
twinaphex cd14455a51 Don't hide ADD_CONTENT_LIST behind HAVE_LIBRETRODB 2016-08-02 15:26:35 +02:00
twinaphex 7d7a62b92a Show 'Start Video Processor' item again on main menu 2016-07-31 14:34:18 +02:00
twinaphex 10a9effc1d Silence warnings 2016-07-31 14:29:33 +02:00
Twinaphex c899f4c2ef Merge pull request #3293 from lakkatv/master
(XMB) Display corresponding icons for each history list items
2016-07-31 02:11:26 +02:00
Jean-André Santoni c2af3325ae (XMB) Display corresponding icons for each history list items 2016-07-31 01:47:58 +02:00
Andre Leiradella 2a4de40bab fixed unguarded use of XMB_TEXTURE_IMAGES 2016-07-30 22:17:55 +01:00
twinaphex ee742bdb0a Add this back to Main Menu in case HAVE_FFMPEG is not defined 2016-07-30 19:44:42 +02:00
twinaphex 5beb759865 Move 'Start Video Processor Core' option over to 'Videos' tab 2016-07-30 19:43:33 +02:00
Twinaphex 7572924abf Buildfix 2016-07-30 19:30:29 +02:00
twinaphex 1e0a4518de (XMB) Add Music/Movie/Images tabs 2016-07-30 19:29:10 +02:00
twinaphex 4f617071db Add Start Video Processor menu entry 2016-07-28 20:35:05 +02:00
twinaphex cd2d5f75bb Comment out log 2016-07-25 17:23:50 +02:00
twinaphex 5a48d892ca Show RetroPad core again 2016-07-24 23:55:43 +02:00
twinaphex d4a3d90fff (xmb.c) use fill_pathname_join_delim 2016-07-23 04:36:22 +02:00
twinaphex 832ea8c3d9 C89_BUILD fix 2016-07-21 21:57:07 +02:00
twinaphex ccd41e2a94 More hashes removals 2016-07-21 05:43:19 +02:00
twinaphex 6e5738f8b0 Create menu_display_reset_textures_list 2016-07-21 03:00:14 +02:00
twinaphex 5d06f654da Rearrange this 2016-07-17 15:59:38 +02:00
twinaphex c560f1c71b Use return value of image_texture_load 2016-07-17 15:58:14 +02:00
Alex Eckhart ea3b79cb4a Fix vulkan xmb bug. 2016-07-16 20:32:00 -06:00
twinaphex 67c0bc25f4 Hide away Retropad remote core for now 2016-07-14 23:29:15 +02:00
twinaphex fabf68e441 Set XMB icon theme by default to Monochrome, and fix hardcoding 2016-07-14 21:24:33 +02:00
twinaphex e8ff596177 (XMB) xmb_draw_bg - color theme gradient themes can now be selected
when shader pipeline is turned off, and will colorize the wallpaper
2016-07-14 20:28:47 +02:00
twinaphex 745bc1eb0d Dehardcode shader pipeline enums 2016-07-14 18:40:57 +02:00
twinaphex 664f90b023 Add 'Wallpaper' color theme for XMB too 2016-07-14 18:29:05 +02:00
twinaphex 401eb7bc7a One more dehardcode 2016-07-14 18:20:36 +02:00
twinaphex 14797ae18e Dehardcode enums for XMB themes 2016-07-14 18:19:59 +02:00
twinaphex ea175fd26f Rename menu_entries_add_enum to menu_entries_append_enum 2016-07-13 01:17:09 +02:00
twinaphex 840ff59dd0 Remove SL_FLAG_ALLOW_EMPTY_LIST 2016-07-10 19:35:01 +02:00
twinaphex f8d844e150 Make sure thumbnail is always drawn with full opacity 2016-07-09 15:21:57 +02:00
twinaphex e0504bfc62 Reorganize xmb/MaterialUI settings 2016-07-09 13:05:58 +02:00
twinaphex 8430697116 Add menu_entry_get_rich_label 2016-07-08 16:55:21 +02:00
twinaphex fe70f766f1 Cleanups 2016-07-01 20:59:51 +02:00
twinaphex f513e1fac2 (menu_cbs.c) Cleanups 2016-07-01 20:23:22 +02:00
twinaphex 37f64d39a3 Use FILE_PATH_PNG_EXTENSION 2016-07-01 17:04:11 +02:00
twinaphex cddb0a3b48 Hide 'Start Core' if we cannot directly start the core 2016-07-01 12:18:38 +02:00
twinaphex eb4d8678e9 (XMB) Cleanups 2016-06-30 05:14:12 +02:00
twinaphex c38c28a0f5 Create fill_pathname_join_concat 2016-06-29 17:46:50 +02:00
twinaphex f4ef5e82c2 Create and use fill_string_concat 2016-06-29 17:41:32 +02:00
twinaphex ca3eecf5c0 Create fill_pathname_join_noext 2016-06-28 13:05:46 +02:00
twinaphex 5ba74302b2 Cleanups 2016-06-28 11:04:59 +02:00
twinaphex 2dddc3fc88 Add FILE_PATH_LPL_EXTENSION 2016-06-26 10:12:28 +02:00
twinaphex f5fcd45a3f Fix touch back button code 2016-06-22 06:48:35 +02:00
twinaphex d2c9c280fe No longer use CB_ hashes 2016-06-20 16:14:59 +02:00
twinaphex a585017208 Rename MENU_FILE_ to FILE_TYPE_ 2016-06-20 15:50:37 +02:00
twinaphex 450e1f4746 Rename menu_hash_to_file_type 2016-06-20 15:33:22 +02:00
twinaphex 284f8cfd23 Remove menu_hash_ files 2016-06-20 03:35:09 +02:00
twinaphex 5075712cac Get rid of menu_hash_calculate - use msg_hash_calculate instead 2016-06-20 00:37:38 +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 28538b95a7 Use MENU_ENUM_LABEL_CONTENT_ACTIONS 2016-06-18 04:09:07 +02:00
twinaphex 7297ced92a Set menu_displaylist_info_t's enum_idx 2016-06-17 23:47:23 +02:00
twinaphex 99f1d6123e Create menu_hash_to_file_type 2016-06-17 23:16:59 +02:00
twinaphex e122fd95dd Fix savestate options 2016-06-17 22:36:13 +02:00
twinaphex ff36aa94e5 (Android) Buildfixes 2016-06-17 22:12:06 +02:00
twinaphex ca2c2feda5 Start using entry.enum_idx 2016-06-17 21:05:28 +02:00
twinaphex b606d47622 Don't rely on 'value' setting 2016-06-17 20:15:35 +02:00
twinaphex f7f56edffd Make 'Add tab' translatable 2016-06-17 20:11:47 +02:00
twinaphex 4ef5b42cab Can now translate 'Settings tab' 2016-06-17 20:01:48 +02:00
twinaphex 1acc59b598 We can translate the History Tab label now 2016-06-17 19:57:48 +02:00
twinaphex 0eb847e9b1 We can translate 'Main Menu' now 2016-06-17 18:11:52 +02:00
twinaphex 4282fd0c21 Cleanups 2016-06-16 16:33:39 +02:00
twinaphex bf708362b4 (XMB/MaterialUI) CLeanups 2016-06-16 16:31:59 +02:00
twinaphex 2acb04649e Add MENU_ENUM_LABEL_MAIN_MENU 2016-06-16 13:13:43 +02:00
twinaphex db679a85f3 (menu/drivers) Use menu_hash_to_str_enum 2016-06-15 23:34:47 +02:00
twinaphex 5f064245c8 xmb_menu_init_list - use menu_entries_add_enum 2016-06-15 14:41:42 +02:00
twinaphex 277e46badc (XMB/MaterialUI) Use DISPLAYLIST_SETTING_ENUM 2016-06-15 10:57:59 +02:00
twinaphex 5435a1ad7d (XMB) Start using DISPLAYLIST_SETTING_ENUM 2016-06-15 01:52:42 +02:00
twinaphex e64b5cc62f Use DISPLAYLIST_SETTING_ENUM 2016-06-15 01:49:34 +02:00
twinaphex 8badf1787d CLeanups 2016-06-11 21:11:57 +02:00
twinaphex 917e3078e9 Cleanups 2016-06-11 21:08:57 +02:00
twinaphex 1e13cb9c69 Cleanups 2016-06-11 20:21:22 +02:00
twinaphex 3d2cc8b14a Cleanups 2016-06-11 20:11:36 +02:00
twinaphex 5b76402e6b Remove unused variables 2016-06-11 20:03:11 +02:00
twinaphex 7d0cb7c689 More cleanups 2016-06-11 20:01:33 +02:00
twinaphex 5ea923030b Rename functions/enums 2016-06-11 19:55:27 +02:00
twinaphex 538a8d9e18 (XMB) Cleanups 2016-06-11 19:50:44 +02:00
twinaphex 78904911ca Start using fill_pathname_application_directory 2016-06-11 19:37:16 +02:00
twinaphex 6989d60cdc Create fill_pathname_application_directory 2016-06-11 19:21:58 +02:00
twinaphex b83d58cd59 xmb_gradient_ident - don't bake it in when HAVE_SHADERPIPELINE
is not defined
2016-06-07 15:25:00 +02:00
twinaphex 883d9ff6b5 Add HAVE_SHADERPIPELINE define 2016-06-07 00:00:28 +02:00
twinaphex 3b83b6d030 Fix uninitialized scalar variable warnings 2016-06-03 04:12:18 +02:00
twinaphex ccd5b2f73d Add 'Start Remote Gamepad' entry 2016-05-27 19:18:46 +02:00
twinaphex 7d26034ebe Rename rarch_task_* to task_* 2016-05-27 18:14:47 +02:00
twinaphex 4f98cf05f4 Fix uninitialized scalar variable warnings 2016-05-26 17:32:27 +02:00
twinaphex 4e07d14488 Fix 'result is not floating point' warning 2016-05-24 21:53:08 +02:00
Sebastien Ronsse 420d8a5fb2 xmb: Fix memory leak due to horizontal list not being freed properly 2016-05-24 13:15:09 +10:00
twinaphex 0bd999faa5 Revert "Don't use rarch_task_push_image inside xmb_context_reset_background"
This reverts commit 40e1082cda.
2016-05-23 22:53:09 +02:00
Torsten Paul 4c3281bd39 Revert "(XMB) Fixes memory leaks in XMB by not relying upon image tasks"
This reverts commit 2f1063ff72.
2016-05-23 22:36:29 +02:00
Twinaphex 2f1063ff72 (XMB) Fixes memory leaks in XMB by not relying upon image tasks 2016-05-21 21:37:41 +02:00
twinaphex 40e1082cda Don't use rarch_task_push_image inside xmb_context_reset_background 2016-05-21 21:00:37 +02:00
twinaphex 7fe5d21452 (XMB) use string_is_equal 2016-05-21 20:53:57 +02:00
twinaphex 2f2ddb472a (XMB) Move function to menu_display.c 2016-05-21 20:47:49 +02:00
twinaphex 0798157df3 Try calling video_driver_texture_unload before calling video_driver_texture_load 2016-05-21 19:43:32 +02:00
twinaphex e4a44cbf13 menu_display_thumbnail_handle_upload - free userdata 2016-05-21 19:28:29 +02:00
twinaphex 7e36dcb27f move video_texture_image to libretro-common and rename it to image_texture.c 2016-05-18 12:58:00 +02:00
twinaphex f052ebf872 Set #if 0 to 1 to test JPEG thumbnails 2016-05-17 13:19:47 +02:00
twinaphex b2f5e2ac08 Rename gfx_font_raster_block 2016-05-10 02:42:02 +02:00
twinaphex 0e08dbe931 Rename gfx_coord to video_coord 2016-05-10 02:32:59 +02:00
Jean-André Santoni 7bb4af1e6d (XMB) separate ps3 and psp displays and start introducing more differences 2016-05-09 05:12:40 +07:00
Jean-André Santoni 91835daee8 (XMB) Refactor variable names 2016-05-09 04:22:22 +07:00
Jean-André Santoni a5f06e9250 (XMB) Refactor variable names 2016-05-09 04:19:34 +07:00
Jean-André Santoni 8ac6d05e55 (XMB) Use variables instead of defines for icon alpha. 2016-05-09 04:16:23 +07:00
Jean-André Santoni aa32b5cc6e (XMB) Use variables instead of defines for icon zoom. 2016-05-09 04:09:52 +07:00
Jean-André Santoni dfe9419522 (XMB) Use variables instead of defines for icon placement 2016-05-09 04:05:11 +07:00
Jean-André Santoni 08de0c75eb (XMB) Variable shadow offset 2016-05-09 03:57:02 +07:00
Jean-André Santoni ea53567520 (XMB) Initial support for the Pixel theme, for Gamegirl 2016-05-09 03:45:38 +07:00
Jean-André Santoni 464ed074e2 (XMB) Unhardcode shadow offset 2016-05-09 03:12:54 +07:00
Jean-André Santoni 7341501e7e (XMB) Disable an optimization bug fixes a display bug 2016-05-09 02:58:35 +07: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
Hans-Kristian Arntzen 464a4add66 XMB ribbon works in Vulkan. 2016-05-08 11:11:28 +02:00
radius be3f0f9267 example implementation of using the menu driver to display the OSD, commented out 2016-05-07 19:51:52 -05:00
Twinaphex 1c2bf6e305 Revert "http tasks can now be cancelled; on-demand thumbnail download working" 2016-05-05 17:00:43 +02:00
Twinaphex c2102ecfb5 Revert "(XMB) Bugfix the thumbnail display. And prevent download on non playl…" 2016-05-05 17:00:24 +02:00
Jean-André Santoni 87e22df9c8 (XMB) Bugfix the thumbnail display. And prevent download on non playlist entries. 2016-05-05 21:15:05 +07:00
Andre Leiradella 9b889e14d4 http tasks can now be cancelled; on-demand thumbnail download working 2016-05-05 09:48:50 -03:00
twinaphex 729b1bf64b (Menu) Rename more xmb_ variables 2016-05-01 04:46:16 +02:00
twinaphex 6d720ff337 (XMB/Shader pipeline) Rename some variables and enable ribbon by default 2016-05-01 04:40:20 +02:00
Andrés 96de4b3e0e Merge pull request #2914 from lakkatv/master
(XMB) Yet another gradient, for high contrast
2016-04-29 00:09:25 +02:00
Jean-André Santoni 0dc69d4721 (XMB) Yet another gradient, for high contrast 2016-04-29 05:06:32 +07:00
twinaphex 895783d854 Move some variables 2016-04-28 20:49:13 +02:00
twinaphex 7dffc6286b Internally change directory settings 2016-04-28 19:26:02 +02:00
Twinaphex e69c43f2a8 C89_BUILD fixes 2016-04-27 23:03:49 +02:00
Jean-André Santoni 7150ea5df2 (XMB) Finalize the thumbnail type switching on keypress 2016-04-28 03:26:09 +07:00
Torsten Paul fdd6d26d85 Add uniform lookup for menu shaders.
This fixes the mix-up of parameter assignments for the XMB ribbon shader
which was caused by all 4 uniform locations set to 0.
2016-04-26 00:08:24 +02:00
Twinaphex b2ed32d664 Merge pull request #2899 from lakkatv/master
(XMB) Temporary patch for the messagebox glitch
2016-04-25 19:29:42 +02:00
Jean-André Santoni 90d31a527c (XMB) Temporary patch for the messagebox glitch 2016-04-26 00:09:30 +07:00
twinaphex 76d00b8b66 Fixes regression 2016-04-25 18:00:24 +02:00
twinaphex 2ce247f11a Revert "Revert "(XMB) Thumbnails shadows""
This reverts commit faa717a8ab.
2016-04-25 17:55:18 +02:00
twinaphex faa717a8ab Revert "(XMB) Thumbnails shadows"
This reverts commit ee076f848e.
2016-04-25 17:52:17 +02:00
Jean-André Santoni ee076f848e (XMB) Thumbnails shadows 2016-04-25 22:39:00 +07:00
twinaphex 68265f6c52 Add 'draw_pipeline to menu/drivers_display 2016-04-25 13:56:12 +02:00
twinaphex 54c0ca4bf5 C89_BUILD fixes 2016-04-25 13:45:53 +02:00
twinaphex 78d48c53d2 Rename MENU_DISPLAY_CTL_DRAW_RIBBON to MENU_DISPLAY_CTL_DRAW_PIPELINE 2016-04-24 23:05:24 +02:00
twinaphex 18b0fb1422 (Menu) Cleanups 2016-04-24 22:56:28 +02:00
twinaphex 8cb66dd021 Add way to switch back and forth between shader pipeline 2016-04-24 22:03:39 +02:00
Jean-André Santoni 422c6d8984 (XMB) Ribbon lighting + readability tweaks 2016-04-23 05:24:44 +07:00
Jean-André Santoni be6cdbc3c0 (XMB) Make gradient opaque unless libretro is running 2016-04-22 20:05:56 +07:00
Jean-André Santoni 9cd0d46476 (XMB) Add back the red gradient 2016-04-22 18:16:31 +07:00
Jean-André Santoni 339a0cdef4 (XMB) Increase the delay for xmb_toggle to make the animation more noticeable 2016-04-22 18:11:39 +07:00
Jean-André Santoni 0f6c3564dc (XMB) Use an easing function closer to the one used in PS3 2016-04-22 18:10:20 +07:00
Jean-André Santoni f47c020946 (XMB) Code cleaning 2016-04-22 17:43:23 +07:00
Jean-André Santoni c7f8df9327 (Menu) Use MENU_DISPLAY_CTL_LIBRETRO_RUNNING in all menu drivers 2016-04-22 17:25:02 +07:00
Jean-André Santoni a06ebe33e4 (Menu) Remove useless variables 2016-04-22 17:21:52 +07:00
Jean-André Santoni d76cca7a47 (XMB) Use MENU_DISPLAY_CTL_LIBRETRO_RUNNING 2016-04-22 17:14:34 +07:00
Jean-André Santoni dad5215d93 (XMB) Rename variables 2016-04-22 17:11:56 +07:00
Jean-André Santoni f8f8650349 (XMB) More gradients 2016-04-22 15:20:08 +07:00
Jean-André Santoni 171453ac1d (XMB) Use MENU_DISPLAY_CTL_DRAW instead of MENU_DISPLAY_CTL_DRAW_BG in xmb_draw_dark_layer 2016-04-22 14:27:34 +07:00
Jean-André Santoni fe255f103e (XMB) Use a separate function to darken the screen 2016-04-22 14:05:18 +07:00
Jean-André Santoni a4308640a2 (XMB) Gradient switching 2016-04-22 13:47:14 +07:00
Jean-André Santoni 989823691e (XMB) Normalize the shadows setting name 2016-04-22 12:46:56 +07:00
Jean-André Santoni a1e91ff606 (XMB) Ribbon Enable setting 2016-04-22 12:32:32 +07:00
twinaphex 0c0134d4d6 Revert "Cleanups"
This reverts commit d239bee4e8.
2016-04-21 21:24:14 +02:00
twinaphex d0a87a236d Do blending begin/end only once instead of for every item 2016-04-21 10:16:21 +02:00
twinaphex a908cf4101 Do blending begin / end only once for horizontal tabs 2016-04-21 10:14:46 +02:00
twinaphex d239bee4e8 Cleanups 2016-04-21 09:39:36 +02:00
twinaphex 2c75c45f3b Refactor xmb_draw_icon 2016-04-21 09:18:03 +02:00
twinaphex ba91ae5909 (XMB) Refactor icon code 2016-04-21 09:14:25 +02:00
twinaphex 1add138dae (XMB) Cleanups 2016-04-21 07:02:30 +02:00
twinaphex 9ba0cbfac7 Cleanup menu_display_draw_cursor 2016-04-21 05:08:36 +02:00
twinaphex af976d5da3 Cleanup xmb_draw_bg 2016-04-21 05:04:01 +02:00
twinaphex 3ddb5d51b3 Cleanups 2016-04-21 04:54:07 +02:00
twinaphex c9ed624078 Create menu_display_set_alpha 2016-04-21 04:34:02 +02:00
twinaphex 02776fed31 (XMB) Cleanups 2016-04-21 04:17:45 +02:00
twinaphex f2ed54fcf3 (XMB) cleanups 2016-04-21 04:12:24 +02:00
Jean-André Santoni 01dcf48c5b (XMB) Fix some icons in the quick menu 2016-04-21 02:53:42 +07:00
twinaphex 8de7fa63ae Remove this - seems to be unnecessary 2016-04-20 21:40:30 +02:00
Jean-André Santoni 343824858b (XMB) Disable ribbon 2016-04-21 01:29:37 +07:00
Jean-André Santoni 04370c6597 (XMB) Separate xmb_draw_bg and xmb_draw_ribbon. Fixes the black help layer. 2016-04-21 01:20:52 +07:00
Jean-André Santoni 252414f4d7 (XMB) Move the ribbon display code to menu_display 2016-04-21 01:18:30 +07:00
Jean-André Santoni 0bdf68d0ea (XMB) Temporary fix for the GLSL ribbon on OSX 2016-04-21 00:26:05 +07:00
Jean-André Santoni 29d07d1ba6 (Menu) Fix a regression in xmb_draw_text 2016-04-20 23:25:52 +07:00
twinaphex a912a64514 (XMB) Cleanups 2016-04-20 17:37:31 +02:00
twinaphex a7142680ca (XMB) Cleanup 2016-04-20 17:34:15 +02:00
twinaphex a713325459 (XMB) Clenaups 2016-04-20 08:01:51 +02:00
twinaphex 9af9a1c89e Cleanups 2016-04-20 07:31:26 +02:00
twinaphex a1969de2c3 Create menu_display_draw_text 2016-04-20 06:56:19 +02:00
twinaphex 4325a323e5 Remove duplicate blending 2016-04-19 23:40:36 +02:00
twinaphex a29ac9598a (XMB) Don't need to include glsym anymore 2016-04-19 23:15:17 +02:00
twinaphex 1bbc2f09b5 (courtesy of teepee) Rewrite the ribbon code to use the coordinate
array
2016-04-19 23:00:55 +02:00
twinaphex 65bd8194cd Cleanup 2016-04-19 17:37:27 +02:00
twinaphex 17273493ef (Menu) Create viewport function callback 2016-04-19 08:50:35 +02:00
twinaphex 1aa8a950ef Set draw->x/draw->y outside before calling MENU_DISPLAY_CTL_DRAW_BG 2016-04-19 07:58:50 +02:00
twinaphex cbcbd895d2 Create menu_display_draw_cursor - code de-duplication 2016-04-19 07:41:05 +02:00
twinaphex 528eddbed5 Cleanups for cursor code 2016-04-19 07:35:26 +02:00
twinaphex 846bea4074 (XMB) Cleanup 2016-04-19 07:24:37 +02:00
twinaphex 0283a87560 (XMB) Disable XMB ribbon 2016-04-19 07:17:39 +02:00
twinaphex ee639d8b20 (XMB/Zarch) Use same coord array for XMB/Zarch 2016-04-19 07:17:17 +02:00
twinaphex ab1c26d532 (XMB) Cleanups 2016-04-18 02:27:46 +02:00
twinaphex 06796bcc14 Refactor xmb_context_reset_textures 2016-04-18 02:20:54 +02:00
twinaphex 8a8a270159 (XMB) Cleanups 2016-04-18 02:10:24 +02:00
twinaphex c7be8edd89 (XMB) Cleanups 2016-04-18 01:53:50 +02:00
twinaphex 38cc90d0e0 (XMB) Refactor ribbon 2016-04-18 01:52:16 +02:00
twinaphex 3264426a96 (XMB) Add coord_array 2016-04-17 23:23:48 +02:00
twinaphex 34389dbd22 Remove useless glVertexPointer call 2016-04-17 20:42:12 +02:00
twinaphex 2fc465ea83 Disable Ribbon by default 2016-04-17 20:14:12 +02:00
Twinaphex 287fa45e73 Merge pull request #2871 from lakkatv/master
(XMB) Ribbon: use gfx_coords_t, and unhardcode some numbers
2016-04-17 20:11:29 +02:00
Jean-André Santoni 0410d7a59e (XMB) Ribbon: use gfx_coords_t, and unhardcode some numbers 2016-04-18 01:05:27 +07:00
twinaphex 09b0a09ca2 Alpha needs to be set to 0.90 for gradient ribbon background,
otherwise fadeout will not work properly when we are at the info
screen
2016-04-17 18:20:41 +02:00
twinaphex ec4f961348 (XMB Cg) Ribbon works with Cg now too 2016-04-17 17:59:40 +02:00
twinaphex e48e294009 (XMB Ribbon) Make gradient background transparent when libretro
core is running
2016-04-17 06:56:26 +02:00
twinaphex 58f145282e (XMB) Set uniform to vertex program and add 'add_prefix' to uniform_info struct 2016-04-17 06:11:48 +02:00
Twinaphex 0f337d49c8 (XMB) Remove unused variable 2016-04-17 04:29:37 +02:00
Twinaphex 3a717adbf9 Revert "(XMB) Apply the fade in animation on the ribbon when launching RA or…" 2016-04-16 23:18:25 +02:00
Jean-André Santoni 6f4e3079bd (XMB) Apply the fade in animation on the ribbon when launching RA or toggling the menu 2016-04-17 03:46:39 +07:00
Jean-André Santoni 8317c5849c (XMB) Draw gradient 2016-04-17 03:06:20 +07:00
Jean-André Santoni 1b0381ca02 (XMB) Slower the ribbon 2016-04-17 02:54:00 +07:00
Jean-André Santoni 5bdd9be52b (XMB) Refactor ribbon init 2016-04-17 02:50:17 +07:00
twinaphex a969547e81 Add XMB_RIBBON_ENABLE switch to XMB 2016-04-16 21:09:54 +02:00
twinaphex ad627701da (XMB) Cleanups 2016-04-16 17:57:51 +02:00
twinaphex 00c7d918e9 (XMB) Comment out unused variables 2016-04-16 07:33:56 +02:00
Twinaphex 5bba5813cf Cleanups - remove unused variables 2016-04-16 07:27:47 +02:00
twinaphex 6f0011fd9f xmb_thumbnails_ident - cleanup 2016-04-16 05:07:08 +02:00
Jean-André Santoni b5dc5470a4 (XMB) Thumbnails: workaround for titles containing slashes 2016-04-16 02:10:30 +07:00
twinaphex e1a3ceaaee draw_bg operation should not implicitly enable/disable blending -
should be done outside
2016-04-12 22:24:33 +02:00
twinaphex 83efd732dd (XMB) Move set viewport call outside 2016-04-12 20:17:50 +02:00
twinaphex 033cecf08c (menu_display) Cleanups 2016-04-12 20:07:23 +02:00
twinaphex c390794452 (XMB) Change types 2016-04-12 16:26:36 +02:00
twinaphex 64f53d8237 (XMB) Refactor blend begin/end 2016-04-12 16:25:13 +02:00
Jean-André Santoni 0e393211f3 (XMB) White texture that will be used for the ribbon 2016-04-12 09:53:51 +07:00
Jean-André Santoni 8e86d11f57 Add list_prepend to the menu ctx drivers 2016-04-11 23:31:49 +07:00
twinaphex 7e7a1fa5f9 Rename menu_entries_push to menu_entries_add 2016-04-11 05:49:39 +02:00
Twinaphex 2bcc36b387 Remove unused variables 2016-04-10 16:25:24 +02:00
Jean-André Santoni 64e2f9e2f0 (XMB) Subtler drop shadows 2016-04-09 13:23:59 +07:00
Jean-André Santoni 8c02d63f2e (XMB) Add support for the RetroActive theme 2016-04-09 12:46:40 +07:00
Jean-André Santoni 7dfb3c373a (XMB) Thumbnail type switching 2016-04-08 01:42:53 +07:00
Jean-André Santoni 53a1369dba (XMB) Shadows 2016-04-08 00:24:55 +07:00
Jean-André Santoni e96c2b4ef3 (XMB) Refactoring, draw_icon can call draw_icon_predone 2016-04-07 23:43:04 +07:00
Jean-André Santoni 2640748b89 (XMB) Use a PSP-like layout for screen smaller than 640px 2016-03-24 07:23:04 +07:00
twinaphex 6f37163675 CXX_BUILD warning fixes 2016-03-22 02:59:13 +01:00
twinaphex 7b48a0c57e (XMB) Prevent symbol collission 2016-03-21 21:18:25 +01:00
Jean-André Santoni 66544dcea4 (XMB) Theme switching 2016-03-22 02:54:16 +07:00
twinaphex 4d30df7a64 Header cleanup 2016-03-21 19:23:45 +01:00
twinaphex 93b7dc1bdd (libretro-common) move 'lists' files to lists/ 2016-03-20 14:53:54 +01:00
radius 53be91af9e style nits 2016-03-09 16:17:18 -05:00
twinaphex 1742b96ec0 Add menu_texture_item 2016-03-05 08:40:28 +01:00
twinaphex ed54600b41 (XMB) Start using DISPLAYLIST_SETTING 2016-03-04 07:41:45 +01:00
twinaphex fe3c279f73 Cleanups 2016-03-03 06:59:54 +01:00
twinaphex 7df467422b Create typedefs 2016-03-02 22:17:05 +01:00
twinaphex 05f2a2d18c Communicate better that these are enums 2016-02-25 19:30:14 +01:00
twinaphex 255ee8766f Communicate better that this is an enum 2016-02-25 19:27:06 +01:00
twinaphex 1d84894e09 Create MENU_ANIMATION_CTL_IDEAL_DELTA_TIME_GET 2016-02-25 16:05:30 +01:00
twinaphex afcb3f1e5d Create MENU_ANIMATION_CTL_PUSH 2016-02-25 15:44:30 +01:00
twinaphex b5f4332e74 Create MENU_ANIMATION_CTL_TICKER 2016-02-25 15:19:33 +01:00
twinaphex 5dbca80ed8 Add MENU_ANIMATION_CTL_KILL_BY_SUBJECT 2016-02-25 15:05:18 +01:00
twinaphex bd0347f1ae Create MENU_ANIMATION_CTL_KILL_BY_TAG 2016-02-25 13:23:39 +01:00
twinaphex 77c583ae47 Create DISPLAYLIST_PROCESS 2016-02-24 23:19:53 +01:00
twinaphex e8eaa54218 Refactor menu_displaylist_ctl 2016-02-24 23:05:54 +01:00
twinaphex 7968914453 Refactor menu_displaylist_push_list to menu_displaylist_ctl 2016-02-24 22:56:41 +01:00
twinaphex e8a5f6194e Create MENU_ENTRIES_CTL_CLEAR 2016-02-24 22:45:21 +01:00
Hans-Kristian Arntzen adbf9fed16 Vulkan implementation. 2016-02-16 20:42:02 +01:00
twinaphex f2952c530c Cleanups 2016-02-10 06:01:11 +01:00
twinaphex ce2869b4d8 Create tasks_internal and split up RA-specific task code to outside 2016-02-09 17:12:39 +01:00
twinaphex 159ebcc8a2 (XMB) Fix icons 2016-02-09 15:21:45 +01:00
twinaphex e7798ed511 Refactor datetime menu display function 2016-02-09 05:03:13 +01:00
twinaphex 7c7b170ceb Refactor rotate Z draw calls 2016-02-09 04:43:15 +01:00
twinaphex 2b86b9dbe6 (menu_display.c) Refactor draw functions 2016-02-09 04:34:07 +01:00
twinaphex a3fd1868c1 Turn function static 2016-02-09 03:11:14 +01:00
twinaphex 38a341e6b5 Use video_driver_texture_load and video_driver_texture_unload
directly from menu drivers
2016-02-09 01:45:37 +01:00
twinaphex cdf272665e Cleanups 2016-02-09 01:39:01 +01:00
twinaphex dd106ee8d2 Add more menu_display_ctl actions 2016-02-09 01:24:35 +01:00
twinaphex d0e9881f46 Add MENU_DISPLAY_CTL_FONT_BIND_BLOCK 2016-02-09 00:57:10 +01:00
twinaphex 3e0d3cbd55 Create MENU_DISPLAY_CTL_INIT_FIRST_DRIVER 2016-02-09 00:49:37 +01:00
radius 2fca1cccd3 add xmb font 2016-02-08 01:11:56 -05:00
radius 5c4ab83d98 add XMB settings for scale and opacity 2016-02-08 00:34:13 -05:00
twinaphex 05d9827830 Revert "Get rid of SL_FLAG_ALLOW_EMPTY_LIST"
This reverts commit bb0b8764c5.
2016-02-06 21:33:45 +01:00
twinaphex bb0b8764c5 Get rid of SL_FLAG_ALLOW_EMPTY_LIST 2016-02-06 21:29:44 +01:00
twinaphex 6623bdc054 (XMB) Fix text being cut off 2016-02-04 22:03:36 +01:00
twinaphex 9a75893cff Nits 2016-02-04 21:40:29 +01:00
twinaphex 18a8b0f29d Silence warnings with non-HAVE_DYNAMIC 2016-02-04 11:28:12 +01:00
twinaphex 321690b416 Refactors to do with set_fork method 2016-02-03 14:36:34 +01:00
twinaphex 9a5ce5fdb3 Make HAVE_LIBRETRO_MANAGEMENT define obsolete 2016-02-03 12:31:29 +01:00
Monroe88 2ce3ed1319 Keep Quick Menu at the top of the Main Menu 2016-01-31 14:36:41 -06:00
twinaphex a267bdfbe3 MOve gfx/image/image.c to gfx/video_texture_image.c 2016-01-30 02:39:08 +01:00
twinaphex 1745e71088 Add 'Start Core' option 2016-01-24 01:51:05 +01:00
Twinaphex 4dd08e6382 Merge pull request #2660 from duduke/master
Reboot Menu Item
2016-01-22 14:39:21 +01:00
twinaphex 528a03f6f4 Use string_is_equal more 2016-01-20 04:54:17 +01:00
twinaphex 2b8520f7ab Remove alot of unused variables 2016-01-19 23:46:09 +01:00
twinaphex 1eac61e9a0 Create RARCH_CTL_IS_DUMMY_CORE 2016-01-19 23:44:32 +01:00
twinaphex 01d58f8681 Create RARCH_CTL_IS_INITED, RARCH_CTL_SET_INITED, RARCH_CTL_UNSET_INITED 2016-01-19 23:26:47 +01:00
duduke 7de7c98b27 Added a reboot menu item 2016-01-18 21:31:38 +02:00
twinaphex e5b328607d Avoid adding 'Add Tab' to XMB list if HAVE_LIBRETRODB is not defined 2016-01-14 13:30:25 +01:00
twinaphex f0a0314fc8 (XMB) Enable for PS3 2016-01-12 08:58:39 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex ee01fff66f Cleanups 2016-01-08 22:26:13 +01:00
twinaphex 70a57fa80e (XMB) Check if path contains '.lpl' first 2016-01-08 09:33:53 +01:00
twinaphex 66449802e4 (menu) Start going through string_is_empty 2015-12-26 07:37:44 +01:00
Twinaphex 9cf654367a (XMB) Fix memory leak 2015-12-23 13:47:53 +01:00
Higor Eurípedes f6421f9988 (XMB) Fix buffer overflow
It was introduced by 3df4101 . MENU_ENTRIES_CTL_START_GET and
MENU_ENTRIES_CTL_START_GET access size_t-sized data, but an
unsigned was passed.
2015-12-12 21:39:42 -03:00
twinaphex ecdecad963 Add MENU_DISPLAY_CTL_BLEND_BEGIN/MENU_DISPLAY_CTL_BLEND_END 2015-12-12 23:53:16 +01:00
twinaphex 8833ba1141 Create MENU_DISPLAY_CTL_FONT_FLUSH_BLOCK 2015-12-12 23:48: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 7942328e39 Create MENU_ENTRIES_CTL_LIST_GET 2015-12-11 22:05:54 +01:00
twinaphex fa535f788e Create MENU_ENTRIES_CTL_NEEDS_REFRESH 2015-12-11 21:41:59 +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 9580dc5392 pass userdata handle to list_get_entry callback 2015-12-11 14:52:16 +01:00
twinaphex 9e383749ae Pass userdata handle to get_selection callback 2015-12-11 14:50:06 +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 d6538bb7ae Pass userdata pointer to list_insert callback 2015-12-10 19:08:28 +01:00
twinaphex b42149c826 Pass void pointers to list_push callback 2015-12-10 19:02:01 +01:00
twinaphex 78db1845dc Move data pointer to navigation_clear callback 2015-12-10 17:24:56 +01:00
twinaphex 18d3cb0649 Pass data to context_reset callback 2015-12-10 17:01:06 +01:00
twinaphex 02bac66c9e Pass userdata to context_destroy callback 2015-12-10 16:57:48 +01:00
twinaphex 71548e2e10 Pass userdata to toggle callback 2015-12-10 16:54:46 +01:00
twinaphex 19f0a23e7e load_image - add userdata handle 2015-12-10 16:51:59 +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 bd0a427df1 Pass userdata pointer to list_cache callback 2015-12-10 16:17:23 +01:00
twinaphex f0a8867487 (XMB) Refactors 2015-12-10 16:14:53 +01:00
twinaphex bf73abc753 Cleanups 2015-12-10 15:48:04 +01:00
twinaphex 46b5c5e79f (XMB) Cleanup 2015-12-10 15:47:08 +01:00
twinaphex bed86cc57e (XMB) Cleanup 2015-12-10 15:46:15 +01:00
twinaphex 87ff4d7d82 Pass userdata handle to frame callback 2015-12-10 15:44:26 +01:00
twinaphex 527f7c7266 (XMB) Cleanups 2015-12-10 15:28:05 +01:00
twinaphex a173b5a2bb Some more cleanups 2015-12-10 15:23:43 +01:00
twinaphex 14427dd725 (XMB) Cleanups 2015-12-10 15:21:20 +01:00
twinaphex fbdfad6250 Remove unused void * parameter for init_main_font 2015-12-10 15:19:41 +01:00
twinaphex d2c5139ab1 Revert "Add userdata pointer to frame callback"
This reverts commit ca9520a522.
2015-12-10 15:17:37 +01:00
twinaphex ca9520a522 Add userdata pointer to frame callback 2015-12-10 15:12:47 +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 f374e12143 Cleanup 2015-12-10 14:36:31 +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 5ec501f934 move prevent_populate to menu_driver_ctl 2015-12-07 16:57:06 +01:00
twinaphex 1cfb39a9d1 merge menu.c and menu_driver.c 2015-12-06 17:55:27 +01:00
twinaphex 9471020bf7 Reduce some more msg char variables 2015-12-06 15:55:05 +01:00
twinaphex c4d1f2c49d Get rid of some implicit memsets for font_params local variables 2015-12-06 14:46:50 +01:00
twinaphex 39e9d5c5ba Start cutting down on the size of some char local variables - we
don't need PATH_MAX_LENGTH for everything
2015-12-06 13:28:20 +01:00
twinaphex 978f05ef3b remove unused variables 2015-12-05 12:19:15 +01:00
twinaphex 7246d219b6 Cut down on dependencies on driver->font_osd_driver 2015-12-05 11:48:06 +01:00
twinaphex 1c1ac91221 Don't need first param for menu_display_font_flush_block 2015-12-05 11:42:46 +01:00
twinaphex c5879028b3 Not sure why an empty handle was being passed to menu_display_font_bind_block 2015-12-05 11:40:49 +01:00
twinaphex a747af2687 Nothing was done with first param of menu_display_font_bind_block 2015-12-05 11:38:18 +01:00
twinaphex 44b708642c Expand font_driver_bind_block 2015-12-05 11:34:56 +01:00
twinaphex 4c8a2a3f88 Create font_driver_bind_block 2015-12-05 10:59:03 +01:00
twinaphex 4e0a4150b5 Merge runloop and runloop_data.c 2015-11-30 15:35:57 +01:00
Twinaphex 11757fdcb7 Merge pull request #2460 from lakkatv/xmb
(XMB) Fix boxart ratio
2015-11-24 19:39:12 +01:00
Jean-André Santoni e6924a725b (XMB) Fix boxart ratio 2015-11-25 01:34:26 +07:00
Higor Eurípedes 92683976a5 Add user_data pointer to rarch_task_push_image_load() 2015-11-24 13:50:44 -03:00
Jean-André Santoni 0789e9f394 (XMB) Load boxarts from subfolders named after the system name in no-intro. Start following the convention of no-intro-screenshot-reloaded to get title screenshots, or in game screenshots, and we will add boxarts by ourselves later. 2015-11-24 05:21:29 +07:00
Higor Eurípedes 5d92e9061c Reimplement image loading using tasks 2015-11-23 17:42:01 -03:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
Jean-André Santoni 19e3b35d7d Disable rounding of the icon size, makes the icons blurry in some case, but should also fix positionning bugs on some resolutions 2015-11-22 02:08:03 +07: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
Jean-André Santoni e8b484d93e (XMB) Fix boxart when opening the contextual menu, and when comming back from the game 2015-11-19 23:39:48 +07:00
Jean-André Santoni 7f1d91caa5 (XMB) Display achievement list icon 2015-11-19 15:14:19 +07:00
Jean-André Santoni ff7b3ec943 (XMB) Fix messages centering 2016-08-10 22:30:17 +02:00
twinaphex 38f30c8f10 Add Save Current Config to Menu 2015-11-11 02:57:20 +01:00