Commit Graph

1959 Commits

Author SHA1 Message Date
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
f923c7ecd7 (RGUI) Avoid implicit memsets for path variables 2016-10-08 18:19:48 +02:00
twinaphex
f7544d0fc1 Avoid implicit memsetting of path values in XMB 2016-10-08 18:17:33 +02:00
Higor Eurípedes
392bcfd98b (material) Reduce CPU usage in big lists by 3
The program spent more time clearing rich_label and entry_value than
fetching it's value from the menu system and rendering it on the screen.
2016-10-08 11:33:44 -03: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
twinaphex
ee087498a3 Try to prevent warning 2016-09-29 04:25:55 +02: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
a9b8114109 Reafctor input_bind_dialog code 2016-09-15 20:45:00 +02:00
twinaphex
a21674881c Add menu_input_bind_dialog 2016-09-15 20:35:39 +02:00
twinaphex
82673b4db4 Warning cleanups 2016-09-15 19:26:04 +02:00
twinaphex
5cf5371314 Refactor menu_input_dialog 2016-09-15 19:07:30 +02:00
twinaphex
e8e16aca9e Create menu_input_dialog_get_label_buffer functions 2016-09-15 19:01:33 +02:00
twinaphex
982a818b48 Create menu_input_dialog_get_buffer 2016-09-15 18:56:51 +02:00
twinaphex
bb5543c2a1 Cleanups 2016-09-15 18:50:33 +02:00
twinaphex
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
6c4c0cf5e7 Use menu_entry_get_value 2016-09-15 16:13:17 +02:00
twinaphex
f648ea8602 Cleanups 2016-09-15 16:07:20 +02:00
twinaphex
233925bea6 Rename widgets/menu_popup to widgets/menu_dialog 2016-09-15 15:57:25 +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
twinaphex
1a40ace1ac Cleanup 2016-09-14 23:47:18 +02:00
twinaphex
4c2d754b06 (Zarch) Nits 2016-09-14 23:44:49 +02:00
Jean-André Santoni
7731b14b5c (XMB) Undo icon 2016-09-13 22:58:52 +02:00
twinaphex
056cc8ece8 Move menu_popu.c to menu/widgets 2016-09-11 21:03:31 +02:00
twinaphex
7ac1ed7e10 Cleanups 2016-09-11 14:54:34 +02:00
twinaphex
012e069f86 Get rid of general.h includes 2016-09-11 13:21:56 +02:00
twinaphex
c35d763990 Cleanups 2016-09-08 06:00:54 +02:00
twinaphex
83194ff235 (menu) Cleanups 2016-09-08 05:43:10 +02:00
twinaphex
c3ba0ba4e9 Revert "Refactor core_system_info_* functions"
This reverts commit f637805c9e.
2016-09-06 08:38:26 +02:00
twinaphex
f637805c9e Refactor core_system_info_* functions 2016-09-06 07:08:38 +02:00
twinaphex
82d82110ae Merge system.h with core.h 2016-09-06 06:11:54 +02:00
twinaphex
075aea2289 Header include cleanups 2016-09-06 00:56:00 +02:00
Brad Parker
ef29bc96b0 do not return to game after canceling quit confirm if user toggled the menu manually 2016-09-05 11:35:27 -04:00
Brad Parker
276542ea98 more menu popup refactor, add back working confirm_on_exit 2016-09-05 01:04:15 -04:00
twinaphex
9e61f6ffd0 Cleanups 2016-09-04 23:34:24 +02:00
twinaphex
95041d948b Revert "Make menu_popup.c self-contained"
This reverts commit 9e2a148b7e.
2016-09-04 23:15:01 +02:00
twinaphex
9e2a148b7e Make menu_popup.c self-contained 2016-09-04 23:14:04 +02:00
twinaphex
9c897e262b Create menu_popup.c 2016-09-04 22:58:54 +02:00
twinaphex
36092d8033 Create struct for help_screen 2016-09-04 22:26:33 +02:00
Brad Parker
43bfd5d39f back button should still be able to dismiss help text 2016-09-04 15:45:41 -04:00
Brad Parker
27925da4ae revert confirm_on_exit option for now 2016-09-04 15:31:50 -04:00
Alcaro
d610a6baf7 stupid constants not casting themselves properly 2016-09-04 18:14:27 +02:00
Alcaro
5aa0628ebf Kill an overflow or two. Or twelve. 2016-09-04 18:12:03 +02:00
Brad Parker
2b1facdc33 fix nuklear compilation 2016-09-04 00:15:05 -04:00
Twinaphex
58aa3a7345 Remove unused variable 2016-09-03 07:12:23 +02:00
Brad Parker
5c0002934a allow back/cancel button to dismiss help text 2016-09-01 23:14:09 -04:00
Brad Parker
ee7545857c add config option to enable quit confirmation 2016-09-01 21:47:25 -04:00
twinaphex
b6daaed566 Rename git_version.c to version_git.h, create separate
version.h file
2016-09-01 17:49:28 +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
Twinaphex
f342248115 (Zarch) Buildfix 2016-08-28 19:11:03 +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
twinaphex
19787792df Buildfix for Zarch 2016-08-21 13:22:24 +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
e93f362427 Merge pull request #3296 from lakkatv/master
(GLUI) Message box improvements
2016-07-31 16:22:03 +02:00
Jean-André Santoni
12fa1c634c (GLUI) Message box improvements 2016-07-31 16:11:47 +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
3efdfb8ba7 Add help message for FILE_TYPE_DIRECTORY 2016-07-30 01:36:09 +02:00
Twinaphex
410d97dfb0 Remove unused variable 2016-07-29 01:41:22 +02:00
twinaphex
4f617071db Add Start Video Processor menu entry 2016-07-28 20:35:05 +02:00
twinaphex
b9aa9a6b1e Fix namespace conflicts 2016-07-27 21:28:33 +02:00
twinaphex
cca2724f52 Add help messages 2016-07-27 21:01:39 +02:00
twinaphex
67e4514e9d add help messages 2016-07-27 20:47:54 +02:00
twinaphex
95cfa33629 Add more help messages 2016-07-27 16:49:13 +02:00
twinaphex
02dcbce602 Add more help messages 2016-07-27 16:37:28 +02:00
Jean-André Santoni
53689babb3 (GLUI) Display a rectangle behind the info messages 2016-07-26 21:36:41 +02:00
Jean-André Santoni
34c0b6a29c (GLUI) Fix help messages vertical centering 2016-07-26 21:12:34 +02:00
Jean-André Santoni
68fd31a0f7 (GLUI) Align help messages to the left, in a centered box 2016-07-26 21:10:43 +02:00
twinaphex
8cd59822e8 Start adding fallback help messages for file types 2016-07-26 15:12:20 +02:00
twinaphex
cd2d5f75bb Comment out log 2016-07-25 17:23:50 +02:00
Twinaphex
f1c9ed29b3 Cleanup some unused memory writes 2016-07-25 06:49:30 +02:00
twinaphex
5a48d892ca Show RetroPad core again 2016-07-24 23:55:43 +02:00
twinaphex
13deab48d9 Get rid of menu_hash_get_help hashing versions 2016-07-24 12:47:58 +02:00
twinaphex
5fe397b48e Start moving help messages over to enum 2016-07-24 12:36:02 +02:00
twinaphex
64897a9228 Take out another hash label 2016-07-24 12:14:06 +02:00
twinaphex
84291d2d3d Create menu_hash_get_help_enum 2016-07-24 11:43:40 +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
2d6f0f194b (MaterialUI) prevent unused value warnings - assinging value from 'Z' to 'header_bg_color' but that stored value is overwritten before it can be used 2016-07-12 20:57:15 +02:00
twinaphex
490af3cb3e Cleanup 2016-07-12 17:23:08 +02:00
Arzed Five
a13b07551c (glui) Make the bottom icon inactive color be customizeable (currently
it's the same color as the scrollbar)
2016-07-12 17:22:45 +02:00
twinaphex
60d3b22bb6 Create Menu Header Opacity setting 2016-07-11 17:41:06 +02:00
twinaphex
b78fcb3e21 Change opacity of bg_footer_real 2016-07-11 17:29:06 +02:00
twinaphex
b4dbc16024 Add Menu Footer Opacity setting 2016-07-11 17:27:36 +02:00
twinaphex
0a216caf66 Start preparing code for being able to change footer opacity 2016-07-11 17:17:16 +02:00
twinaphex
8fc3d36a73 Cleanups 2016-07-11 16:59:21 +02:00
twinaphex
72ad824a15 Cleanup some comments 2016-07-11 16:50:15 +02:00
twinaphex
bf68611929 Opacity change to green theme 2016-07-11 16:46:39 +02:00
twinaphex
99b1ffd406 Cleanup 2016-07-11 16:43:06 +02:00
twinaphex
321e62c867 (MaterialUI) Cleanup 2016-07-11 16:37:31 +02:00
Arzed Five
ebeba581da Highlight the switch textures when they're on with the
active_tab_marker_color
2016-07-11 13:59:38 +02:00
Arzed Five
33c5fa6ade White and black text are now pure white/black with varying degrees of
opacity/alpha, as per the material design spec.
Corrected some font color bugs.
No longer using the 'active' icons variants.
2016-07-11 13:59:33 +02:00
twinaphex
486ac44b71 Better way of setting the active tab icons 2016-07-11 01:45:16 +02:00
twinaphex
5be5b98d26 Change opacity of color_nv_accent 2016-07-11 01:36:24 +02:00
twinaphex
ed14b37899 (GLUI/MaterialUI) Adjust color of tab icons based on theme 2016-07-11 01:30:45 +02:00
twinaphex
70b8af4a6c Prevent some potentially costly operations being always performed
even when not needed
2016-07-11 01:01:38 +02:00
twinaphex
4381c606d8 (MaterialUI) Backport r5 nvidia shield theme 2016-07-11 00:55:07 +02:00
twinaphex
3966979043 (MaterialUI) Yellow - set header text color to black 2016-07-10 21:40:42 +02:00
twinaphex
9a54657a77 (MaterialUI) Update 2016-07-10 21:31:19 +02:00
twinaphex
c451b94bd9 (MaterialUI) Create Blue Grey theme 2016-07-10 21:23:57 +02:00
twinaphex
840ff59dd0 Remove SL_FLAG_ALLOW_EMPTY_LIST 2016-07-10 19:35:01 +02:00
twinaphex
37aee162c9 Backport/add MaterialUI color themes by rz5 2016-07-10 17:06:43 +02:00
twinaphex
de21d31352 Update 2016-07-10 16:11:03 +02:00
Twinaphex
20d7987d27 Cleanup unused variables 2016-07-10 00:08:54 +02:00
twinaphex
06bf29ba4c Create menu_input_mouse_check_vector_inside_hitbox 2016-07-09 23:23:23 +02:00
twinaphex
f8d844e150 Make sure thumbnail is always drawn with full opacity 2016-07-09 15:21:57 +02:00
twinaphex
f94a8743a1 (MaterialUI) Allow for more themes later on 2016-07-09 13:57:19 +02:00