Commit Graph

2001 Commits

Author SHA1 Message Date
twinaphex 569ab60e43 Use g_settings.menu.mouse.enable directly 2015-03-17 04:01:58 +01:00
twinaphex cdb2a64cef Update XMB 2015-03-17 02:24:20 +01:00
twinaphex 87661de516 (XMB) Only apply gl_set_viewport at the end when libretro pause is set
to off - will provide a performance increase
2015-03-17 01:43:18 +01:00
Jean-André Santoni 4adc8dba10 (XMB) Prevent the shader attrib array overflow 2015-03-16 23:16:18 +01:00
twinaphex 8071b15c0b (XMB) Put xmb_draw_icon_end/xmb_draw_icon_begin around icon rendering 2015-03-16 22:19:50 +01:00
Jean-André Santoni ecd33a3852 (XMB) Fix warnings on C++ build 2015-03-16 17:40:05 +01:00
twinaphex 01c19f943b Add stdstring to libretro-common 2015-03-13 15:35:55 +01:00
Jean-André Santoni f8fb98f17e (XMB) Fix content icon offset 2015-03-13 01:49:11 +01:00
Alcaro 48f8f02a2f What kind of bizarre spacing style is that?
And who decided to memcpy a single byte? I suspect it can be merged into the memcpy above, but I'll have to figure out what exactly it does first...
2015-03-12 22:39:14 +01:00
Twinaphex a4d9d59d2b Merge pull request #1493 from lakkatv/xmb
(XMB) Fix the icon bug
2015-03-12 18:07:40 +01:00
Jean-André Santoni 2728873a95 (XMB) Fix the icon bug 2015-03-12 18:06:28 +01:00
Twinaphex 1d79546612 (XMB) Get rid of unused variable 2015-03-12 17:55:01 +01:00
twinaphex bb216ecedb (XMB) Only allocate userdata members of core info list in xmb_context_reset 2015-03-12 17:32:20 +01:00
twinaphex 961cfc4f8a (XMB) Remove another tertiary conditional 2015-03-12 17:19:51 +01:00
twinaphex ea6fdff932 (XMB) Do away with tertiary conditional to make code a bit more understandable 2015-03-12 17:14:06 +01:00
twinaphex eab7f7096f (XMB) xmb_get_userdata_from_core - more cleanups 2015-03-12 17:10:39 +01:00
twinaphex e6e59c6017 (XMB) xmb_get_userdata_from_core - more refactors 2015-03-12 17:09:03 +01:00
twinaphex 7a4213c0d6 (XMB) Change singature of xmb_get_userdata_from_core 2015-03-12 16:57:21 +01:00
twinaphex 0cf88d5a00 Revert "(XMB) Fix two"
This reverts commit 11fcc951f1.
2015-03-12 16:08:14 +01:00
twinaphex 11fcc951f1 (XMB) Fix two 2015-03-12 16:06:57 +01:00
twinaphex b4ef0402fc (XMB) Some potential fixes 2015-03-12 16:04:12 +01:00
twinaphex 44eb6d8c5e (XMB) xmb_get_userdata_from_core - if i is bigger than or equal
to the 'size' of the info list, then return NULL as well
2015-03-12 15:39:41 +01:00
twinaphex 58e81410fb (XMB) Split xmb_get_userdata_from_core up into two functions 2015-03-12 15:32:50 +01:00
twinaphex e6588a84a6 (XMB) Fix xmb_list_cache 2015-03-12 14:53:14 +01:00
Jean-André Santoni a26a46d4de (Apple) Fix mouse movements 2015-03-10 18:44:55 +01:00
twinaphex 6b197f240b (XMB) Create xmb_draw_icon_predone 2015-03-10 03:42:26 +01:00
twinaphex 4300ffab65 (XMB) Cleanup code - create xmb_icon_get_type 2015-03-10 00:39:18 +01:00
twinaphex 0e06aa70e2 (XMB) Use gl_set_viewport instead of straight call to glViewport 2015-03-09 23:46:16 +01:00
twinaphex b3f568c32c (XMB) Cut down on gl->shader->use calls 2015-03-09 23:37:22 +01:00
twinaphex 44c1032fba (XMB) Cleanups 2015-03-09 23:34:01 +01:00
twinaphex 342d4fb1f9 (XMB) Kill off unused variable (was generating a warning) 2015-03-09 02:00:16 +01:00
Jean-André Santoni a04ea6ed90 (XMB) Display cursor texture 2015-03-09 00:14:55 +01:00
Jean-André Santoni 9d4be26dc2 (XMB) Basic vertical mouse support 2015-03-08 23:36:12 +01:00
twinaphex ec4f59f06f (XMB) Cut down on more xmb_draw_icon_begin/xmb_draw_icon_end calls, this time in
xmb_draw_items
2015-03-08 22:02:33 +01:00
twinaphex 36d831d105 (XMB) Cut down on amount of calls to xmb_draw_icon_begin/xmb_draw_icon_end
by reorganizing xmb_frame
2015-03-08 21:55:02 +01:00
twinaphex 8829cfebbf (GLUI/XMB) Let other menu drivers clear the dirty bits 2015-03-08 19:50:12 +01:00
twinaphex 98502d0b31 Move menu_animation_update outside to xmb_render 2015-03-08 19:15:24 +01:00
twinaphex 4e01057c69 (XMB) Get rid of unnecessary glViewport call - xmb_render_background
already does that
2015-03-08 14:12:39 +01:00
twinaphex eaed7c884d (XMB) Take out xmb_draw_icon_begin/xmb_draw_icon_end out of for loop -
icons finally seem to show up now in threaded video mode
2015-03-08 13:54:03 +01:00
twinaphex b76312a1da Split up xmb_draw_icon into xmb_draw_icon_begin, xmb_draw_icon_end
and xmb_draw_icon
2015-03-08 13:26:15 +01:00
twinaphex 3f4264b93d (XMB) Cleanups 2015-03-08 13:17:07 +01:00
twinaphex d11006e041 Move frame_count to g_runloop 2015-03-07 13:14:04 +01:00
Jean-André Santoni ab84c14b66 (Menu) Delta timing 2015-03-06 16:00:46 +01:00
Jean-André Santoni 45d48b46e8 (XMB) Fix rotation 2015-03-01 17:46:08 +01:00
twinaphex cf070fa9f3 (RGUI/GLUI) Improved mouse controls - pushing the top/bottom corners
of the menu screen in a list view will scroll up/down. Hover controls
have been taken out. Will work on being able to press settings themselves.
2015-02-27 07:27:58 +01:00
twinaphex 66d89c5b13 (MSVC) Fix signed/unsigned mismatch warning 2015-02-24 22:26:08 +01:00
twinaphex 2e0902fda1 Revert "(Menu) Delta timing"
This reverts commit 24f7acb93c.
2015-02-24 03:06:25 +01:00
twinaphex fc75b55219 Revert "(Menu) Limit delta time to an acceptable range"
This reverts commit 319fcca439.
2015-02-24 03:06:18 +01:00
twinaphex 64527f2cef Revert "(Menu) cleaner dt formulas"
This reverts commit b6e214128a.
2015-02-24 03:06:13 +01:00
Twinaphex e3b6b89a55 Merge pull request #1444 from lakkatv/xmb
(Menu) cleaner dt formulas
2015-02-24 11:11:47 +11:00
Jean-André Santoni b6e214128a (Menu) cleaner dt formulas 2015-02-24 01:09:14 +01:00
Twinaphex d4e6a1ddda Merge pull request #1443 from lakkatv/xmb
(Menu) Limit delta time to an acceptable range
2015-02-24 10:44:15 +11:00
Jean-André Santoni 319fcca439 (Menu) Limit delta time to an acceptable range 2015-02-24 00:42:44 +01:00
Twinaphex 54163d20fc Merge pull request #1442 from lakkatv/xmb
(Menu) Delta timing
2015-02-24 10:31:44 +11:00
Jean-André Santoni 24f7acb93c (Menu) Delta timing 2015-02-24 00:28:11 +01:00
twinaphex 5f6108e2e0 Get rid of these gekko hacks in XMB/GLUI - we're not going to
be using these menu drivers on Wii/Gamecube anyway
2015-02-23 23:50:40 +01:00
twinaphex 6ce7e5b571 Refactor menu driver's 'load wallpaper' function 2015-02-23 23:32:59 +01:00
Twinaphex 3536ac86e4 Merge pull request #1441 from lakkatv/xmb
(XMB) Minor changes
2015-02-24 09:14:56 +11:00
twinaphex 4b0c2cd7de Refactor menu_texture.c - uncouple it from file I/O 2015-02-23 22:54:39 +01:00
Jean-André Santoni 8cdaccdb9e (XMB) unhardcode a value 2015-02-23 22:08:09 +01:00
Jean-André Santoni 57a7e89727 (XMB) Fix inverted function names 2015-02-23 21:40:36 +01:00
twinaphex 9e6d0004fd (XMB) Set XMB_TEXTURE_RESUME instead of XMB_TEXTURE_RUN for 'Resume' action 2015-02-18 10:35:08 +01:00
twinaphex 3ee11c0374 (XMB) Set labels for general menu 2015-02-18 10:31:01 +01:00
Jean-André Santoni e0dab75300 (XMB) Add 5 new icons for the contextual menu 2015-02-17 23:43:34 +01:00
twinaphex df35e9fb75 Refactor menu_navigation.c 2015-02-14 00:47:42 +01:00
twinaphex 4d31687899 Create menu_driver_resolve to avoid having to pass state pointer
around between functions
2015-02-13 19:00:59 +01:00
twinaphex f3315c256e (GLUI) Hookup load_wallpaper - and also free background image
at exit
2015-02-13 00:20:39 +01:00
twinaphex e58c1491a2 Selecting wallpaper now directly changes background image -
implemented only for XMB so far, GLUI coming up next
2015-02-13 00:12:15 +01:00
twinaphex 025cb112d3 Move spacing to 'icon' 2015-02-12 23:38:44 +01:00
twinaphex c7d5b82cce (XMB) Refactor vspacing/hspacing 2015-02-12 20:26:04 +01:00
twinaphex 073e683846 Organize variables in struct some more 2015-02-12 20:23:14 +01:00
twinaphex 50c89847f0 Backport new element display settings to GLUI/RGUI 2015-02-12 19:35:24 +01:00
Twinaphex fc4c5ffa7c Merge pull request #1411 from lakkatv/look
(XMB) Add a setting to display or hide the core name and core version
2015-02-12 19:27:21 +01:00
twinaphex 9c29348305 (XMB) Reorganize some more settings in struct 2015-02-12 19:27:13 +01:00
twinaphex 2252e47028 (XMB) Move some more variables around 2015-02-12 19:23:11 +01:00
Jean-André Santoni 2ae66e05e5 (XMB) Add a setting to display or hide the core name and core version 2015-02-12 19:18:27 +01:00
Jean-André Santoni 0cb72b3497 (XMB) Fix a crash in xmb_get_userdata_from_core. Fixes #1408 2015-02-12 18:50:13 +01:00
twinaphex 12825086b9 (XMB) Move active_category variables to 'category' struct 2015-02-12 18:38:27 +01:00
twinaphex ecbd841289 Move 'offset' variables to structs 2015-02-12 18:34:36 +01:00
twinaphex 7fb3b7e4a0 (XMB) Move icon variables to struct 2015-02-12 18:32:03 +01:00
twinaphex 852842beaf (XMB) Move font variables to struct 2015-02-12 18:25:48 +01:00
twinaphex b2c9a34fc1 (XMB) Cleanup this stuff some more 2015-02-12 18:24:01 +01:00
twinaphex 2c8998aa88 (XMB) Make this code somewhat easier to read 2015-02-12 18:18:38 +01:00
twinaphex 7b4e3353a8 (XMB) Cleanups - create xmb_push_animations 2015-02-12 17:22:24 +01:00
twinaphex b709baf8e5 xmb_draw_items - cleanups 2015-02-12 17:08:57 +01:00
twinaphex 179661098f (XMB) xmb_draw_items - cleanups 2015-02-12 17:05:56 +01:00
twinaphex f20ede45a1 Rename xmb_node_for_core to xmb_get_userdata_from_core 2015-02-12 15:14:05 +01:00
twinaphex fe1ac4b8b9 (Menu) Create struct for categories 2015-02-11 21:43:16 +01:00
twinaphex 8f77b7d52a (Menu) Cleanups pt. 2 2015-02-11 21:29:14 +01:00
twinaphex c3fdd42fb0 Refactor menu 2015-02-11 21:15:39 +01:00
twinaphex fb31227585 (Menu) Refactors 2015-02-11 21:00:34 +01:00
twinaphex 0c170ab56e (Menu) Get rid of void * pt. 2 2015-02-11 20:40:48 +01:00
twinaphex 4d478434c7 (Menu) Start getting rid of void * pointer 2015-02-11 20:28:54 +01:00
twinaphex 6b8aece1f7 (Menu) Cleanups 2015-02-11 19:28:06 +01:00
twinaphex 8e42857488 (Menu) Move set_texture call to higher-level iterate function 2015-02-11 19:16:06 +01:00
twinaphex 00cd281a1f Move menu_ticker_line to menu_animation.c 2015-02-11 18:52:59 +01:00
twinaphex f19339eb38 Have menu_texture.c reuse gl_common.c's gl_load_texture_data 2015-02-11 15:19:21 +01:00
twinaphex bcfd2f7667 (Windows) Build fixes 2015-02-11 14:25:06 +01:00
twinaphex 37d9661846 (XMB/GLUI) Cleanups 2015-02-11 06:34:30 +01:00
twinaphex a687907bde Cleanup xmb_render_messagebox 2015-02-11 06:27:28 +01:00
twinaphex b20ab24fa2 (XMB) Cleanups pt. 5 2015-02-11 06:22:00 +01:00
twinaphex 1c4d628498 (XMB) Cleanups pt. 4 2015-02-11 06:21:03 +01:00
twinaphex cc9d5dae28 (XMB) Cleanups pt. 3 2015-02-11 06:15:15 +01:00
twinaphex d85a8d5452 (XMB) Cleanups pt. 2 2015-02-11 06:11:25 +01:00
twinaphex d8a0126203 (XMB) Cleanups to xmb_draw_items 2015-02-11 06:05:27 +01:00
twinaphex ed4d8d5acf (XMB) Cleanups pt. 3 2015-02-11 05:43:42 +01:00
twinaphex 5eccada700 (XMB) Cleanups pt. 2 2015-02-11 05:39:56 +01:00
twinaphex e8d21942b4 (XMB) cleanups 2015-02-11 05:33:53 +01:00
twinaphex 04022926bc Have XMB and GLUI reuse same menu_texture code 2015-02-11 03:52:35 +01:00
twinaphex a85908c8f9 (Menu) Refactor easing functions 2015-02-11 01:15:16 +01:00
twinaphex 46003314a8 Refactor menu_animation.c 2015-02-11 00:40:18 +01:00
twinaphex 9a839fce2f Pass numtweens as pointer 2015-02-10 23:49:26 +01:00
twinaphex 453e5b7681 Rename tween functions 2015-02-10 23:45:14 +01:00
twinaphex e6ab59bce2 Refactor update_tweens 2015-02-10 23:35:22 +01:00
twinaphex ca36923c99 (XMB) Some cleanups 2015-02-10 23:17:19 +01:00
twinaphex affce9a7cf Make xmb_font_init_first a bit more safe for threaded video mode 2015-02-10 23:14:01 +01:00
Twinaphex 8869ffdd57 (XMB) Remove unused variables 2015-02-10 23:11:20 +01:00
twinaphex 64372ed4b1 (XMB) Fixes 2015-02-10 17:46:35 +01:00
Jean-André Santoni f331eba299 (Menu) iterate was not used either 2015-02-10 15:06:41 +01:00
Jean-André Santoni e330f03124 (Menu) init_lists was not used either 2015-02-10 15:02:38 +01:00
Jean-André Santoni 274cfe0f9f (Menu) input_postprocess was not used anymore by any menu driver 2015-02-10 14:52:25 +01:00
Jean-André Santoni 3b2aa6ba40 (XMB) Fix more duplicate icon bugs 2015-02-10 02:50:22 +01:00
Jean-André Santoni a2380c4182 (XMB) Display bug fix and code refactoring 2015-02-09 22:54:14 +01:00
Jean-André Santoni ef7e210719 (XMB)(GLUI) Better fix for the GL texture format bug 2015-02-07 00:05:40 +01:00
Jean-André Santoni 2473778bac (XMB) Fix a regression 2015-02-05 00:52:30 +01:00
Jean-André Santoni f24bdb1cbf (Menu) No more core_info manipulation on the menu driver side. Instead, we ensure that core_info is inited before menu init, and call context reset after core info update. 2015-02-05 00:39:59 +01:00
Jean-André Santoni f005d5f7e5 (XMB) Display a clock icon 2015-02-04 22:44:33 +01:00
Jean-André Santoni 490cffc645 (XMB) Fix a small display regression 2015-02-03 05:41:35 +01:00
Jean-André Santoni 47c0dabc40 (XMB) Fix display issue in settings 2015-02-03 04:24:34 +01:00
Jean-André Santoni a5f4693d49 (XMB) Display cursor and rdb icons 2015-02-03 00:27:18 +01:00
twinaphex dbd70237f5 (XMB) Cleanups 2015-02-02 20:48:26 +01:00
twinaphex 6b09ac87f1 (XMB) Cleanups 2015-02-02 20:40:29 +01:00
twinaphex 47ee96b531 (XMB) Cleanups 2015-02-02 20:28:17 +01:00
twinaphex a0177e7bd7 (XMB) Prevent memory leaks in xmb_init 2015-02-02 18:44:56 +01:00
Jean-André Santoni 44a3aad8e2 (XMB) Possible performance improvement in draw_items 2015-02-02 00:02:16 +01:00
twinaphex 16c7c7fbb9 (XMB) Only try to render about 100 items or so that are conceivably visible
at the same time - should significantly optimize displaying of the MAME
database
2015-02-01 23:29:12 +01:00
twinaphex d84b6ee5ea (XMB) Cleanups 2015-02-01 15:25:37 +01:00
twinaphex fc5fe960a5 Refactor cbs->action_get_representation 2015-01-31 17:46:14 +01:00
twinaphex 04d54be8df (Menu drivers) Start setting up setting pointers 2015-01-31 17:19:12 +01:00
Jean-André Santoni 096d1b09f3 (XMB) Fix two display bugs 2015-01-31 03:25:22 +01:00
Jean-André Santoni 2e8154a7dd (XMB) Better test to know when to apply path_basename on the node name 2015-01-28 22:06:42 +01:00
Jean-André Santoni 6658a18baf (XMB) Fix regressions 2015-01-28 21:42:57 +01:00
Jean-André Santoni 788ea06ac2 (XMB) Fix a display bug : horizontal icons showing while they should not 2015-01-28 19:49:10 +01:00
Jean-André Santoni 90ff3a9860 (XMB) Attempt to fix the icon overlapping bug, works in some cases 2015-01-28 19:09:27 +01:00
Jean-André Santoni 129f70b7ee (XMB) Content launching via the horizontal menu 2015-01-28 19:09:27 +01:00
Twinaphex cef42b9356 (XMB) Cleanup unused variables 2015-01-27 23:36:20 +01:00
twinaphex 8971f4538a (XMB) Some cleanups 2015-01-27 02:52:19 +01:00
Jean-André Santoni 22119d0e7f Notify the menu driver when the menu is going to be toggled, implement progressive menu fade in 2015-01-26 23:45:16 +01:00
Jean-André Santoni 9a261d36c0 (XMB) Split xmb_populate_entries in two functions 2015-01-26 22:01:06 +01:00
Jean-André Santoni ef1b06d800 (XMB) Fix label alpha bug 2015-01-26 22:01:06 +01:00
twinaphex 04062497de There is only one menu driver now 2015-01-26 10:54:13 +01:00