Commit Graph

1132 Commits

Author SHA1 Message Date
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
twinaphex a9b7636ddb Abstract away GL code in menu behind display driver interface 2015-11-08 01:30:07 +01:00
Jean-André Santoni 23fee02883 (XMB) Hack to prevent icon overlapping when adding or removing shaders and cheap passes 2015-11-07 11:47:02 +07:00
Jean-André Santoni 6792e74ad5 (XMB) Prevent an animation bug during scanning 2015-11-07 10:36:37 +07:00
Jean-André Santoni 51f18ef151 (XMB) Fix all wrong icon positions when changing the window size 2015-11-04 05:17:21 +07:00
twinaphex f59df8b9df Revert "(XMB) Fix a display bug on 16:9 displays caused by an optimization"
This reverts commit a467af48cf.
2015-11-03 11:32:32 +01:00
Jean-André Santoni dff0031145 (XMB) Use the same timedate format as PS3 XMB 2015-11-03 12:36:20 +07:00
twinaphex 1d911ac29b (XMB) Get rid of forward declarations 2015-11-02 22:56:05 +01:00
twinaphex 2a100d730c (Menu) Have default tex coords array 2015-11-02 22:46:23 +01:00
twinaphex 8e5a2fdc77 Have one default vertex coord array in menu_display.c 2015-11-02 22:37:29 +01:00
twinaphex ab230f5169 Fix warnings 2015-11-02 22:12:43 +01:00
twinaphex a4eb49430c Create menu_display_texture_load and menu_display_texture_unload 2015-11-02 22:06:51 +01:00
twinaphex 71ca469cda GL totally abstracted away now from menu drivers 2015-11-02 20:41:42 +01:00
twinaphex b0d1434940 Remove gl_t pointer grabbing in xmb_frame 2015-11-02 20:03:16 +01:00
twinaphex 080213f5b3 More cleanups - almost completely remove gl_t * usage 2015-11-02 20:02:06 +01:00
twinaphex b34fb9e081 Add scaling steps to menu_display_matrix4x4_rotate_z too 2015-11-02 19:47:25 +01:00
twinaphex d970f16106 (XMB) Cleanups 2015-11-02 19:41:10 +01:00
twinaphex 1b4f19ab87 Cleanup xmb_draw_cursor 2015-11-02 19:38:53 +01:00
twinaphex 5b15ed2b60 Don't pass gl_t pointer to menu_display functions 2015-11-02 19:11:09 +01:00
twinaphex 7c69249e63 Don't use arguments for blend_begin/blend_end 2015-11-02 19:07:36 +01:00
twinaphex c8cb03e412 Get rid of some gl_t * pointers 2015-11-02 19:04:20 +01:00
twinaphex 10051a657c Simplify menu_display_draw_frame 2015-11-02 18:55:05 +01:00
twinaphex 6516fc783b Start making menu drivers depend less on gl handle 2015-11-02 18:41:51 +01:00
twinaphex 159e9c1910 Revert "Don't use the same vertex array in every menu driver"
This reverts commit eefc33ef07.
2015-11-01 22:35:19 +01:00
twinaphex eefc33ef07 Don't use the same vertex array in every menu driver 2015-11-01 22:24:10 +01:00
twinaphex 1e53e3e19a Backport pointer_tap changes 2015-11-01 20:44:04 +01:00
Twinaphex 5287e46e57 Revert "(Menu) Make the mouse left click and the pointer tap use the same cod…" 2015-11-01 20:35:43 +01:00
Twinaphex 9bc28461f3 Merge pull request #2325 from lakkatv/material
(Menu) Make the mouse left click and the pointer tap use the same cod…
2015-11-01 20:26:11 +01:00
Jean-André Santoni 5b51124b62 (Menu) Make the mouse left click and the pointer tap use the same codepath 2015-11-02 02:22:21 +07:00
Twinaphex a07cfd4915 Merge pull request #2324 from lakkatv/material
(GLUI) Tap on tabs
2015-11-01 19:52:09 +01:00
twinaphex e9ba2caac7 Rename blending functions 2015-11-01 19:28:12 +01:00
twinaphex 2b087f3be0 No longer do blending inside menu_display_draw_frame 2015-11-01 19:24:35 +01:00
Jean-André Santoni bd99e952d6 (Menu) Move pointer_tap on the menu driver side 2015-11-02 01:17:06 +07:00
twinaphex 2ab4158eca (XMB) Should not need this I think 2015-11-01 16:25:31 +01:00
twinaphex 19a6ccb646 Create menu_display_draw_icon_blend_begin and menu_display_draw_icon_blend_end - cut down on code duplication 2015-11-01 16:23:50 +01:00
Jean-André Santoni a467af48cf (XMB) Fix a display bug on 16:9 displays caused by an optimization 2015-10-31 13:41:33 +07:00
Jean-André Santoni 0e6324f118 (XMB) Use defines for values that will never change. Fixes a display bug too. 2015-10-30 22:14:30 +07:00
Jean-André Santoni ae79d70438 (GLUI) Fix left tab switching when navigation wraparound is false. Also dehardcode some values representing the number of tabs in the menu system. 2015-10-30 16:28:27 +07:00
twinaphex 6b15d86c5c (Menu) Don't uppercase titles always
(GLUI) Show switch icons for certain text strings too
2015-10-28 01:36:36 +01:00
Jean-André Santoni ea913a157f (XMB) Fix pointer display and use the new pointer size (update assets) 2015-10-27 18:37:13 +07:00
twinaphex 6826a3833e menu_entries_get_menu_stack_ptr - add idx parameter 2015-10-27 10:33:19 +01:00
twinaphex ab9006f21e Add 'idx' to menu_entries functions 2015-10-27 10:29:50 +01:00
twinaphex 0d89bca635 Start setting up menu_entries function so we can access
multiple stacks
2015-10-27 10:10:33 +01:00
Jean-André Santoni 0b48af4781 (XMB) Fix cursor alpha 2015-10-27 15:05:02 +07:00
twinaphex 8f8d75de00 (xmb) CLeanups 2015-10-27 08:02:15 +01:00
Arche-san 6403682fcb xmb : reset to default wallpaper if wallpaper not available for selected category 2015-10-25 21:02:21 +01:00
twinaphex bad3c8d7d6 Cleanups 2015-10-25 02:35:52 +01:00
twinaphex 0a68d3aeac Remove unused variable 2015-10-25 02:34:18 +01:00
twinaphex 5bd555ca50 Create video_texture_unload 2015-10-25 02:33:23 +01:00
Jean-André Santoni 4b47958999 (XMB) Honor navigation wraparound horizontal setting 2015-10-25 02:18:47 +07:00
Jean-André Santoni f2fc38f578 (XMB) Prevent icon overlap after a scan is finished 2015-10-25 01:40:07 +07:00
Jean-André Santoni 403e00a936 (XMB) Implement another tab to launch a directory scan 2015-10-25 00:37:59 +07:00
twinaphex 7861972f3d (menu_displaylist.c) Don't add entries if they are hidden away
behind 'Advanced settings'
2015-10-24 10:52:12 +02:00
twinaphex 798ed9eba8 (Zarch) Use menu_display_draw_frame 2015-10-24 07:51:33 +02:00
twinaphex 8ecfa76ab9 Add vertex count variable to menu_display drawing functions 2015-10-24 07:28:49 +02:00
Twinaphex c0878c75d5 Merge pull request #2281 from lakkatv/xmb
(XMB) Use RetroArch or Lakka logo in place of the home icon
2015-10-23 22:09:45 +02:00
Jean-André Santoni 4b82132e9d (XMB) Use RetroArch or Lakka logo in place of the home icon 2015-10-24 02:52:42 +07:00
Twinaphex b085a1c1e6 Merge pull request #2278 from lakkatv/xmb
Add a HAVE_LAKKA define, and enable a shutdown menu entry
2015-10-23 21:46:24 +02:00
Jean-André Santoni 2b376ce3d5 Add a HAVE_LAKKA define, and enable a shutdown menu entry 2015-10-23 15:24:47 +07:00
twinaphex 3841b1b96f (XMB) Dehardcode the '- 3' 2015-10-23 08:13:31 +02:00
Jean-André Santoni 52c8040589 Add a type for empty message entries, fixes a bug in XMB 2015-10-23 03:43:25 +07:00
twinaphex 942bf6cb93 (XMB) Load Recent has its own tab now - remove from Main Menu list 2015-10-22 20:24:58 +02:00
Twinaphex 5f67c041b0 Merge pull request #2273 from lakkatv/xmb
(XMB) History tab
2015-10-22 20:20:49 +02:00
Jean-André Santoni 6945489d96 (XMB) History tab 2015-10-23 01:05:51 +07:00
twinaphex 1a20e19c51 We will now be able to know from which input device type the input
event comes from - i.e. keyboard or gamepad
2015-10-22 19:17:47 +02:00
twinaphex 2157e8389c (XMB) Show Quick Menu dynamically again 2015-10-22 06:01:46 +02:00
twinaphex 2e7d039027 (XMB) Refactor 2015-10-22 05:55:54 +02:00
twinaphex b6ee3fdf31 (XMB) Create XMB_SYSTEM_TAB_ enums 2015-10-22 04:52:57 +02:00
twinaphex 7ea16f622e (XMB) Create custom Main Menu list 2015-10-22 04:46:05 +02:00
twinaphex 14bf640bf6 Create list_push callback - allows us to override lists 2015-10-22 04:12:32 +02:00
twinaphex 61c4a00a59 Cleanups 2015-10-22 03:02:15 +02:00
twinaphex cc9907e64c Cleanups 2015-10-22 02:58:41 +02:00
twinaphex 8ca684527f Cleanups 2015-10-22 02:55:10 +02:00
twinaphex a3d8152cab Create local copy of menu_generic function for XMB 2015-10-22 02:54:25 +02:00
twinaphex 413aa2489e Create menu_displaylist_push_list_process 2015-10-22 01:38:41 +02:00
twinaphex 8e2741d974 (XMB) Cleanups 2015-10-22 01:04:00 +02:00
Jean-André Santoni e7040e3cf8 (XMB) animation bug fix 2015-10-20 22:55:27 +07:00
Jean-André Santoni 755bd961d3 (XMB) Settings tab 2015-10-20 19:11:43 +07:00
twinaphex 5b9aab68e5 (XMB) Start using menu_entries_ functions inside XMB 2015-10-19 17:40:38 +02:00
twinaphex b3dc51072c (XMB) Cleanups 2015-10-19 17:35:47 +02:00
twinaphex b7625289f7 Rename some functions 2015-10-19 16:32:51 +02:00
twinaphex b5aa3049c6 Refactor menu_video_ functions to menu_display_ 2015-10-18 07:43:27 +02:00
twinaphex 38c66f62d0 Merge menu_video.c and menu_display.c 2015-10-18 07:15:54 +02:00
twinaphex 6e2e32970e Create menu_entries_get_size 2015-10-17 19:21:18 +02:00
twinaphex d3a7742b6f Create menu_entries_get_stack_size 2015-10-17 19:14:49 +02:00
twinaphex e34171b4a0 (xmb.c) Cleanup 2015-10-17 18:40:47 +02:00
twinaphex e6db9dffd5 Refactor xmb 2015-10-17 18:17:59 +02:00
twinaphex 9f573eeaf0 (GLUI/XMB) Prevent warnings - 'passing argument from incompatible pointer type) 2015-10-11 16:51:44 +02:00
twinaphex 41f2ec1ecf Show game cursor also when video context driver has no windowed mode
support at all and mouse is still enabled
2015-10-08 07:11:52 +02:00
twinaphex f5255889c6 Only show ingame cursor when in fullscreen mode 2015-10-08 07:07:47 +02:00
twinaphex 6d4900dc1c Create function pointer for iterate function 2015-10-03 05:08:29 +02:00
twinaphex 798e7fa7fa Move function pointer around 2015-10-03 04:32:38 +02:00
twinaphex 167cd269ae Add init_list to menu driver callbacks 2015-10-03 03:15:47 +02:00
twinaphex 6db07f7fd8 (xmb.c) Correct faulty usage of calloc 2015-09-28 18:49:32 +02:00
twinaphex 0cc56e2a1a More static code analysis nits 2015-09-28 18:44:28 +02:00
twinaphex a79b571d7b Static code analysis fixes 2015-09-28 16:20:26 +02:00
twinaphex ceff590094 Don't use menu_display_get_ptr outside of menu_display.c anymore 2015-09-27 00:09:15 +02:00
twinaphex 515c8c6322 More menu_display_ctl refactors 2015-09-26 23:37:25 +02:00
twinaphex d6015cc4a3 (menu_input.c) Rename some enums 2015-09-26 02:52:05 +02:00
twinaphex 37e9108820 Move internal display state to menu_display.c 2015-09-26 01:23:10 +02:00
twinaphex 9b18371a1a Refactor away menu_animation_update 2015-09-25 23:47:01 +02:00
twinaphex 88307565c1 Refactor away menu_animation_clear_active 2015-09-25 23:39:02 +02:00
twinaphex 6d6117d5d6 Remove menu_animation_get_delta_time 2015-09-25 23:37:02 +02:00
twinaphex 3e69fdae30 Remove unused variables 2015-09-25 22:48:58 +02:00
twinaphex 541c9a2066 Refactor menu_animation.c 2015-09-25 22:24:07 +02:00
twinaphex eae4d761ba (Menu) Refactors 2015-09-25 21:32:16 +02:00
twinaphex f6a7256f20 Make state static and move it to menu_display.c 2015-09-25 21:25:37 +02:00
twinaphex 892aa682d6 (XMB) Don't use menu_navigation_get_ptr anymore 2015-09-25 16:25:33 +02:00
twinaphex ee7ce4feaa Remove unused variables 2015-09-25 15:02:19 +02:00
twinaphex d4e2b6128b Refactor menu_navigation_get_selection 2015-09-25 14:57:37 +02:00
twinaphex 26e1ec35cb Create menu_display_ctl 2015-09-25 13:27:15 +02:00
twinaphex c0b46e3003 Add more functionality to menu_input_ctl 2015-09-24 20:08:11 +02:00
twinaphex 08f24aae4b Add MENU_CTL_POINTER_PTR 2015-09-24 19:56:53 +02:00
twinaphex e21e21647e Cleanups 2015-09-24 17:34:44 +02:00
twinaphex 10d1aea0e3 Go through menu_input_mouse_state 2015-09-24 17:29:46 +02:00
twinaphex 670350dc1f Go through menu_input_pointer_state more 2015-09-24 17:21:50 +02:00
twinaphex 172e75c758 Revert "Refactor menu_input.c"
This reverts commit 3ddbf2d5cc.
2015-09-24 14:17:03 +02:00
twinaphex 7982674685 Revert "Remove unused variables"
This reverts commit 8b0a952c59.
2015-09-24 14:16:51 +02:00
twinaphex 8b0a952c59 Remove unused variables 2015-09-24 13:39:47 +02:00
twinaphex 3ddbf2d5cc Refactor menu_input.c 2015-09-24 13:22:46 +02:00
twinaphex 51d3738a00 Revert "Add type to populate_entries"
This reverts commit 5a7de50bd3.
2015-09-21 21:32:31 +02:00
twinaphex 1fc97df819 Revert "Add action_type to menu_displaylist_push_list"
This reverts commit b7d0f45109.
2015-09-21 21:32:23 +02:00
twinaphex b7d0f45109 Add action_type to menu_displaylist_push_list 2015-09-21 21:11:37 +02:00
twinaphex 5a7de50bd3 Add type to populate_entries 2015-09-21 20:48:26 +02:00
Twinaphex 31164349fa (XMB) remove unused variable 2015-09-07 01:33:38 +02:00
twinaphex a38829dc2d (XMB) Cleanups 2015-09-06 23:24:51 +02:00
twinaphex 10340174de Cleanups 2015-09-06 23:15:03 +02:00
twinaphex 90e41a3e3f (XMB) Cleanups 2015-09-06 23:10:00 +02:00
twinaphex 0c65efdd65 Cleanups 2015-09-06 22:30:46 +02:00
twinaphex 439b761410 (XMB) Simplifications 2015-09-06 22:24:14 +02:00
twinaphex 61f6cf07ae (XMB) Simplify xmb_draw_icon 2015-09-06 22:18:59 +02:00
twinaphex cc57ec7d4f Cleanups 2015-09-06 22:01:12 +02:00
twinaphex ac2c938bb9 (XMB) Cut down on video_driver_get_size 2015-09-06 21:57:12 +02:00
twinaphex 6b11b4b514 Cut down on video_driver_get_size calls 2015-09-06 21:05:33 +02:00
twinaphex 6721d34114 Simplify menu_video_frame_background 2015-09-06 20:59:35 +02:00
twinaphex 54a9910c0d Simplify menu_video_frame_background 2015-09-06 20:53:52 +02:00
twinaphex eda9c179e6 (GLUI/XMB) Cleanups 2015-09-06 18:16:24 +02:00
twinaphex c84f4efd7b Start preparing move of glViewport to menu_video_draw_frame 2015-09-06 18:08:52 +02:00
twinaphex 699ebe2644 Simplify menu_video_frame_background 2015-09-06 17:45:16 +02:00
Twinaphex 3b3fa56309 Cleanup menu_animation_t 2015-09-06 05:00:08 +02:00
twinaphex 8405f76ff3 Refactor menu_animation.c 2015-09-06 02:41:36 +02:00
twinaphex d6e3040e5d Use menu_navigation_get_selection 2015-09-06 02:06:02 +02:00
twinaphex d4eefc020f Cleanups 2015-09-05 18:49:48 +02:00
twinaphex a3cedc05d7 Cleanups 2015-08-21 21:19:29 +02:00
twinaphex 9925da95ae Refactor menu_entries_get_core_title 2015-08-17 18:14:51 +02:00
Twinaphex 996c010ca6 Fixup 2015-08-17 16:00:29 +02:00
twinaphex dc73edadcf Cleanup old ugly hack 2015-08-17 05:05:29 +02:00
twinaphex 0c023dcb68 Reimplement frame count 2015-08-03 23:01:07 +02:00
Jean-André Santoni e8885dbbec (Menu) Integrate the quick menu in the playlists. Allow launching contents manually added the playlists. 2015-07-23 19:44:59 +02:00
Higor Eurípedes b217bbad24 (menu_animation) Create menu_animation_ticker_generic 2015-07-15 20:56:25 -03:00
twinaphex 5a5e3951ff Use custom typedefs for glui too, and move typedefs to gfx/video_common.h 2015-07-12 06:14:01 +02:00
twinaphex ccafdf8cc4 (XMB) Start using custom typedefs instead of GL ones for menu drivers 2015-07-12 06:12:39 +02:00
twinaphex c697923eb6 Create video_common.c 2015-07-12 05:30:04 +02:00
twinaphex 6bb0d87d87 Rename gl_font_raster_block to gfx_font_raster_block 2015-07-12 04:07:06 +02:00
twinaphex 527c0c29d4 Rename gl_coords to gfx_coords 2015-07-12 03:57:06 +02:00
twinaphex 14b6a6636b Create menu_video.c 2015-07-09 18:39:40 +02:00
twinaphex aa8c8dbaa6 (XMB) Cleanup 2015-07-09 18:28:03 +02:00
twinaphex 82cd8263dc (XMB) Indenting nits (again) in xmb.c 2015-07-08 17:26:23 +02:00
twinaphex 039ba91c48 Add mechanism so that task_database informs the menu driver that
we need to refresh the horizontal list. Kivutar; make the icons
work again after we do a horizontal list refresh
2015-07-08 01:01:41 +02:00
twinaphex f2a608b131 Create menu_environ callback 2015-07-08 00:37:44 +02:00
Jean-André Santoni 142941d950 (XMB) Refresh horizontal menu 2015-07-07 17:04:03 +07:00
Higor Eurípedes 41a77639e3 (XMB) Remove playlist extension from title 2015-07-06 19:52:04 -03:00
Jean-André Santoni aec9bbc9f5 (XMB) Smarter tickering 2015-07-06 20:34:28 +07:00
Jean-André Santoni a54b89387c (XMB) Display movie icon 2015-07-04 07:14:26 +07:00
Jean-André Santoni cb35805ba6 (XMB) Add an image icon 2015-07-01 19:53:34 +07:00
twinaphex 3e2d8d2ccc (XMB) More refactors 2015-06-30 19:00:09 +02:00
twinaphex aea28b5ec1 (XMB) Refactor 2015-06-30 18:57:03 +02:00
Jean-André Santoni ba02256006 (XMB) Display music icon 2015-06-30 23:07:22 +07:00
twinaphex fefa500dcf Some C89 build fixes 2015-06-29 21:52:55 +02:00
Higor Eurípedes a1db56a084 (XMB) Ensure proper ordering of items during toggles 2015-06-25 18:46:05 -03:00