Commit Graph

1320 Commits

Author SHA1 Message Date
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