Commit Graph

383 Commits

Author SHA1 Message Date
Jean-André Santoni
8ef70debcb (GLUI) Scrollbar 2015-04-21 09:50:57 +07:00
Jean-André Santoni
1f31033394 (GLUI) Use render_quad instead of render_background to darken the screen 2015-04-21 09:50:57 +07:00
Jean-André Santoni
b6337d2734 (GLUI) Use DPI, reduce header size to line height, center font verticaly for every font size 2015-04-21 09:50:57 +07:00
Jean-André Santoni
c8af545fd9 (GLUI) Don't animate navigation clear, it's ugly in some cases 2015-04-20 21:35:41 +07:00
Jean-André Santoni
d9409e071f (GLUI) Animate keyboard navigation 2015-04-20 21:22:55 +07:00
Jean-André Santoni
6b3421b971 (RGUI) Center the title, and display a BACK button 2015-04-19 18:48:05 +07:00
twinaphex
aaf89ce598 Cut down on some more code 2015-04-19 12:24:35 +02:00
twinaphex
304ac04e1d (shared.h) Some more cleanups 2015-04-19 12:17:18 +02:00
twinaphex
51920f9e5f Simplify 'get_title' 2015-04-19 12:14:20 +02:00
twinaphex
7f50f44ddb Start adding 'System Information' 2015-04-16 19:36:34 +02:00
Jean-André Santoni
ba99edb847 (XMB) Basic touch support, no drag yet 2015-04-16 17:40:17 +02:00
Jean-André Santoni
625d38a6dd (Menu) Fix new glui design compatibility with block text rendering 2015-04-16 15:32:49 +02:00
Jean-André Santoni
128cf327a3 (Menu) Drag to scroll with touch 2015-04-16 15:32:49 +02:00
twinaphex
63b104204b Create separate 'Recording Settings' 2015-04-14 18:28:15 +02:00
twinaphex
75fcf2175a Rename 'Joypad' references to 'Input Device' 2015-04-14 12:11:03 +02:00
twinaphex
730698bd24 (XMB) Replace texture_image_load call 2015-04-13 18:59:39 +02:00
twinaphex
9805e9a918 (GLUI) Don't have to implement context_reset function anymore 2015-04-13 18:55:33 +02:00
twinaphex
31376b4a65 Start moving cpp files to griffin_cpp.cpp 2015-04-12 19:13:21 +02:00
Twinaphex
3e35593f59 (iOS) Implement UI companion driver for iOS CocoaTouch 2015-04-12 03:18:37 +02:00
twinaphex
a644e807e2 (Menu drivers) Cleanups 2015-04-09 05:57:34 +02:00
twinaphex
16b7b454a9 Move gl_common.c to gfx/drivers 2015-04-09 04:57:17 +02:00
twinaphex
532d112ff8 (Font) Combine font_d3d_driver and font_gl_driver 2015-04-03 20:36:19 +02:00
twinaphex
2b6986baff (360) Build fixes 2015-04-03 02:41:37 +02:00
Higor Eurípedes
f8f5ca0ec8 (GLUI,XMB) Fix messagebox rendering 2015-04-02 20:12:32 -03:00
Higor Eurípedes
d3e841f4a3 (XMB) Reenable block rendering 2015-04-02 20:12:32 -03:00
Lioncash
9dfb1a0f65 xmb: Be explicit with text alignment
Also fixes building on VS 2013
2015-04-01 22:22:33 -04:00
Higor Eurípedes
aafc24ac32 (shared.h) Initialize local variables 2015-04-01 19:13:38 -03:00
Jean-André Santoni
158c79ed9e (Menu) Improved text alignment for gl menu drivers 2015-03-31 14:00:30 +02:00
Twinaphex
17d6a940c0 (iOS/Apple) Include <AvailabilityMacros.h instead of #import <Availability> 2015-03-30 17:57:54 +02:00
Higor Eurípedes
1a196845b9 (XMB) Disable block text rendering 2015-03-30 12:43:27 -03:00
twinaphex
2c555082ee D3D and GL now use the same font driver interface 2015-03-30 00:55:39 +02:00
twinaphex
ed5891b8e8 Rename gl_coord_array_release to gl_coord_array_free 2015-03-29 19:25:48 +02:00
twinaphex
d374fb863c Use retro_inline.h for remaining 'inline' instances 2015-03-29 16:43:02 +02:00
Higor Eurípedes
3edc3b6c36 (XMB) Fix memory corruption 2015-03-28 17:54:09 -03:00
twinaphex
3da7197538 (font_driver) Get rid of warnings 2015-03-28 20:51:03 +01:00
twinaphex
150887f0eb Fix one warning 2015-03-28 19:59:57 +01:00
twinaphex
44b96e9432 (XMB) BUildfix 2015-03-28 19:57:59 +01:00
Higor Eurípedes
3d33d934cb (GLUI) Fix mouse rendering 2015-03-27 16:17:11 -03:00
Higor Eurípedes
b9f40fc1c9 (XMB) Fix raster block usage 2015-03-27 16:15:54 -03:00
Higor Eurípedes
15b7d69f3b (GLUI) Fix mouse/OSK rendering 2015-03-26 17:45:46 -03:00
Higor Eurípedes
2115e806a7 (GLUI) Fix fullscreen rendering 2015-03-26 14:07:39 -03:00
Twinaphex
b671d96e20 Remove some unused variables 2015-03-25 18:26:11 +01:00
Higor Eurípedes
8fc5818130 (GLUI,XMB) Fix OSD 2015-03-25 13:42:34 -03:00
Higor Eurípedes
d3d976c92b (GLUI) Only update text vertices when needed 2015-03-25 13:04:54 -03:00
Higor Eurípedes
8b7bbc7975 (gl_font_renderer_t) Implement swappable blocks and remove end_block pointer 2015-03-25 13:04:53 -03:00
Higor Eurípedes
ed6f1cfdd3 (gl_raster_font) Make use of gl_coord_array_t 2015-03-25 13:04:53 -03:00
Higor Eurípedes
7d1bffc350 (gl_font_renderer_t) Implement block flushing 2015-03-25 13:04:53 -03:00
Higor Eurípedes
8f0302c519 (gl_font_renderer_t) Implement basic text block rendering 2015-03-25 13:04:53 -03:00
Higor Eurípedes
d2f5a29030 (Menu) Fix memleak in get_title 2015-03-24 20:21:59 -03:00
twinaphex
015367b741 (PS3) Buildfix 2015-03-23 07:44:20 +01:00
twinaphex
56943ccb40 Create video_driver_set_texture_frame 2015-03-22 19:15:34 +01:00
twinaphex
6e91eed664 Create more wrapper functions 2015-03-22 18:48:24 +01:00
twinaphex
ce4da9c573 (XMB) Cleanups/style nits 2015-03-22 08:09:00 +01:00
twinaphex
508ade73f9 Rename menu_driver_resolve to menu_driver_get_ptr 2015-03-21 23:56:42 +01:00
twinaphex
5d0815a7b7 Rename video_driver_resolve to video_driver_get_ptr 2015-03-21 23:46:49 +01:00
twinaphex
4bc9514197 (RMenu) Fixes 2015-03-21 22:51:25 +01:00
twinaphex
84f9f64f47 (360 MSVC) Fixes 2015-03-21 22:48:27 +01:00
twinaphex
3676917265 Silence unused variable warnings 2015-03-21 06:55:34 +01:00
twinaphex
5a443d229a global_get_ptr update pt. 2 2015-03-21 05:42:49 +01:00
twinaphex
14ac2d9791 Rename settings_data.h to settings.h 2015-03-21 00:49:55 +01:00
twinaphex
5d8ce54a9f Updates pt. 4 2015-03-20 22:22:06 +01:00
twinaphex
a086e8f60b Rename/move menu_texture to gfx/video_texture 2015-03-20 02:19:19 +01:00
twinaphex
aa8e5bc8cf (GX) Buildfix/warning fix 2015-03-18 20:31:01 +01:00
Twinaphex
0782cb5168 (Apple) Build fixes 2015-03-18 20:15:40 +01:00
twinaphex
3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex
7378299282 Create rarch_main_get_ptr 2015-03-18 06:47:22 +01:00
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
80a6673004 Fix some CXX_BUILD errors 2015-03-16 16:57:27 +01:00
Higor Eurípedes
5d1ca03bd2 (RGUI, GLUI) Convert font color to the proper format before using it 2015-03-15 13:07:22 -03:00
twinaphex
80d9785f46 Update msg_queue_pull instances to go through new interface too 2015-03-15 03:02:49 +01:00
Higor Eurípedes
0a8a5c9efc (RGUI) Fix color conversion 2015-03-14 20:08:23 -03:00
Higor Eurípedes
6f7fa1ab91 (RGUI, GLUI) Use custom title_color 2015-03-14 19:44:27 -03:00
Higor Eurípedes
fec88a5cb4 (Menu) Add font color settings 2015-03-14 19:22:06 -03: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
twinaphex
9ad2484734 (RGUI) rgui_render - do early return if g_runloop.is_idle is true 2015-03-11 16:59:46 +01:00
twinaphex
23fde82836 Create menu_display_update_pending 2015-03-11 16:35:12 +01:00
Jean-André Santoni
a26a46d4de (Apple) Fix mouse movements 2015-03-10 18:44:55 +01:00
Jean-André Santoni
9d8817d687 (Menu) Better mouse scrolling 2015-03-10 15:22:46 +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
6e62983cd5 (Menu) Implement 'null' menu driver 2015-03-09 14:39:39 +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
Jean-André Santoni
855e84923b (GLUI) Minor mouse support fixes 2015-03-08 23:35:48 +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
Higor Eurípedes
2216f60046 (RGUI) Fix Video Settings page 2015-03-08 16:39:21 -03:00
Higor Eurípedes
50ff11fdec (RGUI) Call set_texture_frame only when the framebuffer is dirty 2015-03-08 16:14:35 -03:00
twinaphex
770f5e3449 (RMenu/RMenu XUI) Implement same here 2015-03-08 19:51:25 +01:00
twinaphex
8829cfebbf (GLUI/XMB) Let other menu drivers clear the dirty bits 2015-03-08 19:50:12 +01:00
Higor Eurípedes
50b09109d9 (Menu) Let the menu driver clear the dirty bits 2015-03-08 15:18:50 -03:00
twinaphex
98502d0b31 Move menu_animation_update outside to xmb_render 2015-03-08 19:15:24 +01:00
Higor Eurípedes
7d41e01e93 (RGUI) Only render when needed 2015-03-08 14:12:13 -03: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
Higor Eurípedes
1d7bddaef3 (rgui) Cache and tile checked background 2015-03-08 09:18:45 -03: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
twinaphex
795ef467ac Move msg_queue and nbio/http to runloop struct 2015-03-07 13:01:41 +01:00
twinaphex
a74cb0574b Create g_runloop and start moving variables there 2015-03-07 12:36:50 +01:00
Jean-André Santoni
ab84c14b66 (Menu) Delta timing 2015-03-06 16:00:46 +01:00
Jean-André Santoni
fc2ddc87bd (GLUI) Fix rotation 2015-03-01 17:50:40 +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