Commit Graph

4985 Commits

Author SHA1 Message Date
Jean-André Santoni
be6cdbc3c0 (XMB) Make gradient opaque unless libretro is running 2016-04-22 20:05:56 +07:00
Twinaphex
012c4006b1 (XMB) Remove unused variable 2016-04-22 13:35:47 +02: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
Twinaphex
0f38dc8e3e Merge pull request #2886 from lakkatv/master
(XMB) Code cleaning
2016-04-22 12:56:21 +02:00
Jean-André Santoni
f47c020946 (XMB) Code cleaning 2016-04-22 17:43:23 +07:00
Twinaphex
818009e75c Merge pull request #2885 from lakkatv/master
(Menu) Refactoring
2016-04-22 12:31:23 +02: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
Twinaphex
397861ee7e Merge pull request #2884 from lakkatv/master
(XMB) Gradient improvements
2016-04-22 10:23:58 +02: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
twinaphex
c11f06e584 (MaterialUI) Cleanups 2016-04-22 08:07:03 +02: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
15530a351b (MaterialUI) Cleanups 2016-04-21 09:28:22 +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
033ccf4803 (XMB) Remove dont_replace_coords 2016-04-21 03:36:35 +07:00
Jean-André Santoni
d22b72a892 (XMB) Ribbon alpha improvements
Honor the xmb alpha setting, and the fade in animation.
2016-04-21 03:21:59 +07: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
twinaphex
cb3a3a7980 Expand ifdef 2016-04-20 21:34:42 +02:00
twinaphex
06c1fb2a5c Add ifdefs around shader code 2016-04-20 21:23:39 +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
6fe8637f6a Merge pull request #2875 from fr500/master
[zr] update to the new toolkit
2016-04-20 07:52:58 +02:00
radius
2443c34ae2 [nk] make it render something again 2016-04-20 00:46:41 -05:00
twinaphex
9af9a1c89e Cleanups 2016-04-20 07:31:26 +02:00
twinaphex
d7e6ada920 Rename mui_blit_line 2016-04-20 07:07:14 +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
b479903e3f Simplify Resume Content/ Close Content / Restart Content 2016-04-19 18:31:48 +02:00
twinaphex
30c1cd8de9 Remae Quick Menu options 2016-04-19 18:13:32 +02:00
twinaphex
4a29f71272 (Menu) Cleanups 2016-04-19 17:40:03 +02:00
twinaphex
65bd8194cd Cleanup 2016-04-19 17:37:27 +02:00
twinaphex
3387a0d678 (menu display) Create bind texture functions 2016-04-19 08:53:48 +02:00
twinaphex
17273493ef (Menu) Create viewport function callback 2016-04-19 08:50:35 +02:00
twinaphex
cddeabd4ec (Zarch) Cleanup 2016-04-19 08:36:20 +02:00
twinaphex
f3d072cdcf Add dont_replace_coords to menu_display_ctx_draw_t 2016-04-19 08:08:40 +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
03de4a0b35 Change argument order of menu_display_push_quad 2016-04-19 07:04:00 +02:00
twinaphex
c761b14eb4 Move zarch_zui_push_quad and zarch_zui_snow to menu_display 2016-04-19 06:57:53 +02:00
twinaphex
1d1b868103 Simplify MENU_DISPLAY_CTL_DRAW_GRADIENT 2016-04-19 06:30:10 +02:00
radius
86388cddfe [zr] start moving to the new version 2016-04-18 18:46:33 -05:00
radius
ddd8e29d87 [zr] start moving to the new version 2016-04-18 18:00:13 -05:00
radius
8b302c369e [zr] start moving to the new version 2016-04-18 17:59:32 -05:00
twinaphex
acf9f7aad1 C89/C90_BUILD fixes 2016-04-18 03:00:23 +02:00
twinaphex
c75143a62f CXX_BUILD fixes 2016-04-18 02:56:42 +02:00
twinaphex
ab1c26d532 (XMB) Cleanups 2016-04-18 02:27:46 +02:00
twinaphex
a8b8ca7a96 Cleanup mui_context_reset_textures 2016-04-18 02:24:37 +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
66ba52eab0 CXX_BUILD fixes 2016-04-17 07:49:54 +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
b3220cf53e Move zahnrad shaders to separate files 2016-04-17 02:36:07 +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
twinaphex
8a90e2777c Rename GL_SHADER_STOCK_BLEND to VIDEO_SHADER_STOCK_BLEND 2016-04-16 01:50:20 +02:00
Twinaphex
7f6ff3ba84 Merge pull request #2863 from aliaspider/master
(3DS) fixes argc/argv related crashes
2016-04-15 23:49:56 +02:00
Jean-André Santoni
b5dc5470a4 (XMB) Thumbnails: workaround for titles containing slashes 2016-04-16 02:10:30 +07:00
aliaspider
c85e44d597 (3DS) build fix. 2016-04-15 18:46:10 +01:00
twinaphex
6f6330576c (zr_common.c) Cleanups 2016-04-15 07:45:59 +02:00
twinaphex
9d85afd358 Refactor SHADER_CTL_USE 2016-04-15 07:37:06 +02:00
twinaphex
5c0f7876b8 Cleanups 2016-04-15 04:48:07 +02:00
twinaphex
b3f486ae44 (Menu drivers display) Cleanups 2016-04-15 04:43:48 +02:00
twinaphex
d7cbb4472e Cleanups 2016-04-15 04:20:57 +02:00
twinaphex
84eb56892f Cleanups 2016-04-15 04:17:31 +02:00
twinaphex
31c6bba86a Cut down on code duplication - draw_bg callback no longer necessary 2016-04-15 03:35:19 +02:00
twinaphex
0e984f6c95 Cleanups 2016-04-15 03:31:59 +02:00
twinaphex
3cb6117226 (Menu display) Cleanups 2016-04-15 03:24:21 +02:00
twinaphex
f4f839f776 Cleanups 2016-04-15 03:14:18 +02:00
twinaphex
dfe08c7148 Use menu_entries_prepend 2016-04-13 17:03:13 +02:00
twinaphex
1c1cf4535d Remove this too 2016-04-12 22:25:45 +02: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
9976077895 (menu display vulkan) Take out set viewport call 2016-04-12 20:19:13 +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
19e86256a7 (menu display GL) Attach white texture to draw info struct if NULL 2016-04-12 19:55:31 +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
Twinaphex
fff07d46b3 Merge pull request #2854 from lakkatv/master
(XMB) White texture that will be used for the ribbon
2016-04-12 04:54:32 +02:00
Jean-André Santoni
0e393211f3 (XMB) White texture that will be used for the ribbon 2016-04-12 09:53:51 +07:00
twinaphex
08632c89b6 Comment this out again now that the test works 2016-04-12 03:19:17 +02:00
Jean-André Santoni
ea6bd2797c (Menu) Move the white texture stuff to menu_display 2016-04-12 04:30:25 +07:00
Jean-André Santoni
1dea1fa0e2 Rename file_list_push to file_list_prepend 2016-04-12 01:40:48 +07:00
Jean-André Santoni
8e86d11f57 Add list_prepend to the menu ctx drivers 2016-04-11 23:31:49 +07:00
Jean-André Santoni
01c82a09f0 Rename menu_entries_push to menu_entries_prepend 2016-04-11 23:18:16 +07:00
twinaphex
a58c77113f Change text 2016-04-11 18:04:24 +02:00
twinaphex
a430c7f543 Add experimental menu_entries_push/file_list_push 2016-04-11 18:02:50 +02:00
twinaphex
7e7a1fa5f9 Rename menu_entries_push to menu_entries_add 2016-04-11 05:49:39 +02:00
twinaphex
f25581e88d Add print_buf_lines_extended and have core updater use it 2016-04-11 03:09:17 +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
Twinaphex
5218be3a0c Merge pull request #2842 from lakkatv/master
(XMB) Thumbnail type switching
2016-04-07 20:48:19 +02:00
Jean-André Santoni
7dfb3c373a (XMB) Thumbnail type switching 2016-04-08 01:42:53 +07:00
Twinaphex
013e9cd8cb Merge pull request #2841 from lakkatv/master
(XMB) Shadows
2016-04-07 19:32:40 +02:00
Jean-André Santoni
53a1369dba (XMB) Shadows 2016-04-08 00:24:55 +07:00
Twinaphex
01f83ba289 Merge pull request #2840 from lakkatv/master
(XMB) Refactoring, draw_icon can call draw_icon_predone
2016-04-07 18:48:19 +02:00
Jean-André Santoni
e96c2b4ef3 (XMB) Refactoring, draw_icon can call draw_icon_predone 2016-04-07 23:43:04 +07:00
twinaphex
dba04c73e4 Move core options variable 2016-04-06 02:30:20 +02:00