Commit Graph

168 Commits

Author SHA1 Message Date
twinaphex
a13442625b Cleanups 2015-05-07 04:37:46 +02:00
twinaphex
bcab96bb77 (Menu) Simplify menu_display_setting_label 2015-05-07 04:28:57 +02:00
Twinaphex
f3a7252ea8 (Menu) Update function 2015-05-05 22:21:38 +02:00
twinaphex
e494165513 Change menu_display_setting_label 2015-05-05 21:35:25 +02:00
twinaphex
89b313da0c (GLUI/XMB) Use menu_display_setting_label too 2015-05-05 20:09:29 +02:00
twinaphex
06aa0126ab (GLUI) Use menu_display_setting_label 2015-05-05 19:52:38 +02:00
twinaphex
ad0440a343 (GLUI) Use menu_display_update_pending (why are we flagging
framebuffer dirty here BTW? GLUI doesn't use the framebuffer)
2015-05-04 09:22:29 +02:00
Higor Eurípedes
04bb18e24d (GLUI) Use default font when video.font_enable is false 2015-05-02 21:59:51 -03:00
twinaphex
5e5453488f (Android) Move thread state to android_app 2015-05-01 17:25:26 +02:00
Higor Eurípedes
0bccda75fa (GLUI) Cleanups 2015-05-01 09:38:04 -03:00
Higor Eurípedes
9eefa4eaca (GLUI) Use the new main font functions 2015-05-01 09:02:03 -03:00
twinaphex
5aa422885f (GLUI) Remove dependency on gl_common.h 2015-04-27 05:07:11 +02:00
twinaphex
015ce797f9 (Menu) Cleanups 2015-04-27 05:00:07 +02:00
twinaphex
b97e880c01 (Menu) Create gl_menu_frame_background 2015-04-27 04:37:45 +02:00
twinaphex
d6ca2b7e57 (Menu) Create menu_gl_draw_frame 2015-04-27 03:37:04 +02:00
twinaphex
17515d66ed Create menu_display_unset_viewport 2015-04-26 18:08:17 +02:00
twinaphex
d3dba0edc2 Create menu_display_set_viewport 2015-04-26 16:46:56 +02:00
twinaphex
f0d9506a17 (GLUI) Get rid of unneeded gl_t usage 2015-04-26 06:18:58 +02:00
Twinaphex
0353d596df (GLUI) Get rid of unused variable 2015-04-26 05:22:57 +02:00
twinaphex
b6fbf5a335 (Menu) Start getting rid of gl->win_width/gl->win_height and start
creating global->video_data.width and global->video_data.height
which should be used instead in menu drivers
2015-04-26 05:21:43 +02:00
twinaphex
e1b1cdfeb6 (GLUI) Restore background when doing context reset 2015-04-25 06:03:26 +02:00
twinaphex
a2806aeba0 (GLUI) Only call gl->shader->use once per glui_frame call 2015-04-25 02:40:51 +02:00
Twinaphex
642c5d4557 Merge pull request #1657 from heuripedes/master
(GLUI) Flush list_block earlier
2015-04-25 01:10:14 +02:00
twinaphex
4907d55160 (GLUI) Cleanup 2015-04-25 00:54:17 +02:00
Higor Eurípedes
ee0ad2c165 (GLUI) Flush list_block earlier 2015-04-24 19:45:25 -03:00
twinaphex
44a8b8bcd3 Move font_handle and font_driver ot the driver struct 2015-04-25 00:32:01 +02:00
twinaphex
a79511e27f Simplify menu_display_font_flush_block 2015-04-24 23:28:25 +02:00
twinaphex
86958c4117 (menu_display.c) Wrap bind_block and flush_block calls 2015-04-24 23:22:47 +02:00
twinaphex
b10ce11ad3 Move font variables to menu_handle_t 2015-04-24 23:06:04 +02:00
twinaphex
fa30933b87 (GLUI) Fixes OSD fonts not showing up - next problem - the top
and bottom 'bars' are 'transparent' - they should instead be solid
color filled
2015-04-24 22:49:05 +02:00
twinaphex
d9bf8a35ec (GLUI) Cleanups 2015-04-24 22:46:19 +02:00
twinaphex
c5c4f736bd (GLUI) Cleanups 2015-04-24 22:17:08 +02:00
twinaphex
f2c0874521 (Menu) Create menu_display_font_init_first 2015-04-24 22:01:33 +02:00
twinaphex
e2bea7ad9b (GLUI) Fix corrupt fonts on init with Windows, just pass
NULL for fontpath
2015-04-24 19:17:02 +02:00
twinaphex
bd63de9b3a Replace gl_font_init_first and d3d_font_init_first with common function 2015-04-21 17:33:00 +02:00
twinaphex
c21963e686 (GLUI) Style nits / cleanups 2015-04-21 16:59:02 +02:00
twinaphex
c78c8c839f Create menu_display_get_dpi 2015-04-21 15:45:03 +02:00
twinaphex
a104517168 (Menu) Create menu_display.c/menu_display.h 2015-04-21 14:44:26 +02:00
twinaphex
17a11463b9 (GLUI) Set default DPI at 128 if DPI metric not implemented 2015-04-21 13:48:45 +02:00
Twinaphex
1c200dcbd3 (GLUI) Remove unused variables 2015-04-21 10:37:38 +02:00
Jean-André Santoni
ede94ef66c (GLUI) Use a font size adapted to the dpi 2015-04-21 14:20:18 +07:00
Jean-André Santoni
5e96ea7727 (GLUI) Fix a bug when going backward on a long list 2015-04-21 11:43:52 +07:00
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
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
9805e9a918 (GLUI) Don't have to implement context_reset function anymore 2015-04-13 18:55:33 +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
Higor Eurípedes
f8f5ca0ec8 (GLUI,XMB) Fix messagebox rendering 2015-04-02 20:12:32 -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
3da7197538 (font_driver) Get rid of warnings 2015-03-28 20:51:03 +01:00
Higor Eurípedes
3d33d934cb (GLUI) Fix mouse rendering 2015-03-27 16:17:11 -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
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
twinaphex
6e91eed664 Create more wrapper functions 2015-03-22 18:48:24 +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
5a443d229a global_get_ptr update pt. 2 2015-03-21 05:42:49 +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
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
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
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
Jean-André Santoni
855e84923b (GLUI) Minor mouse support fixes 2015-03-08 23:35:48 +01:00
twinaphex
8829cfebbf (GLUI/XMB) Let other menu drivers clear the dirty bits 2015-03-08 19:50:12 +01:00
twinaphex
d11006e041 Move frame_count to g_runloop 2015-03-07 13:14:04 +01:00
twinaphex
a74cb0574b Create g_runloop and start moving variables there 2015-03-07 12:36:50 +01:00
Jean-André Santoni
fc2ddc87bd (GLUI) Fix rotation 2015-03-01 17:50:40 +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
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
4b0c2cd7de Refactor menu_texture.c - uncouple it from file I/O 2015-02-23 22:54:39 +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
50c89847f0 Backport new element display settings to GLUI/RGUI 2015-02-12 19:35:24 +01:00
twinaphex
8f77b7d52a (Menu) Cleanups pt. 2 2015-02-11 21:29:14 +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