Commit Graph

532 Commits

Author SHA1 Message Date
Twinaphex
d2de56286b (GLUI) Prevent warning 2015-06-06 14:24:49 +02:00
twinaphex
f730f978af (XMB) Indent nits 2015-06-06 14:07:20 +02:00
Twinaphex
c49262eb8c (XMB) Create xmb_context_reset_background 2015-06-06 14:01:36 +02:00
Twinaphex
00e90a752d (XMB) Cleanups 2015-06-06 13:58:06 +02:00
Twinaphex
912263ba34 Create xmb_context_reset_textures 2015-06-06 13:56:31 +02:00
Twinaphex
eebcea775c (XMB) Cleanups 2015-06-06 13:51:45 +02:00
Twinaphex
b86fc9e19e (XMB) Refactor xmb_context_reset 2015-06-06 13:41:47 +02:00
Twinaphex
183f58943d (XMB) Cleanups #7 2015-06-06 13:21:47 +02:00
Twinaphex
b244d892c6 Create xmb_context_reset_horizontal_list 2015-06-06 12:59:09 +02:00
Twinaphex
80eba21888 (XMB) Cleanups #6 2015-06-06 12:53:55 +02:00
Twinaphex
a04c3ba9da (XMB) Cleanups #5 2015-06-06 12:46:22 +02:00
Jean-André Santoni
b5c183878f (XMB) Fix icon zoom issue on some ordered lists 2015-06-06 16:45:58 +07:00
twinaphex
327177f763 (XMB) Cleanups #4 2015-06-06 11:39:41 +02:00
twinaphex
d3fbf351ed (XMB) Cleanups #3 2015-06-06 11:38:10 +02:00
twinaphex
11313a6bb4 (XMB) Cleanups #2 2015-06-06 11:36:29 +02:00
twinaphex
761d2118f8 (XMB) Cleanups #1 2015-06-06 11:28:08 +02:00
Higor Eurípedes
d3d35cb880 (GLUI) Optimize glui_render_menu_list() 2015-06-05 14:05:05 -03:00
twinaphex
edc7f21cfe Cleanups 2015-06-05 18:22:15 +02:00
twinaphex
0e4c7e58e8 (GLUI) Cleanup 2015-06-05 18:12:57 +02:00
twinaphex
614c8646f9 (XMB) Remove usage of strcmp 2015-06-05 17:24:38 +02:00
twinaphex
6c73462822 (XMB) Reduce usage of strcmps 2015-06-05 10:05:09 +02:00
twinaphex
6e64fbf8c7 (XMB) CLeanups 2015-06-04 22:46:23 +02:00
Jean-André Santoni
6da346f456 (XMB) Dynamic wallpapers 2015-06-04 17:17:23 +07:00
Jean-André Santoni
b09b7e602c (XMB) Code cleaning 2015-06-04 16:05:54 +07:00
twinaphex
1b67864a3b Change menu_driver_load_background to menu_driver_load_image 2015-06-04 10:39:48 +02:00
twinaphex
680aacae89 Fixes 2015-06-02 21:41:09 +02:00
twinaphex
bc953d3a1b Move settings code entirely to menu 2015-06-02 20:26:27 +02:00
twinaphex
74bb85fe7c (RGUI) Indent nits 2015-06-02 19:04:01 +02:00
twinaphex
0cfeff8e1e Cleanups 2015-06-02 18:28:51 +02:00
twinaphex
4b19250e01 (XMB) Revert previous changes 2015-06-02 08:06:20 +02:00
twinaphex
4c2bf57775 Cleanup 2015-06-01 15:31:08 +02:00
twinaphex
ec5e617555 (RMenu XUI) Remove dependency on menu_entry_get 2015-06-01 15:23:45 +02:00
twinaphex
869bb7d522 Create menu_entry_get_type_new 2015-06-01 15:21:43 +02:00
twinaphex
296b359ba1 Rename menu_entry_get_label to menu_entry_get_path 2015-06-01 15:16:54 +02:00
twinaphex
ee6f54baa7 Create menu_entry_get_spacing 2015-06-01 15:13:49 +02:00
twinaphex
26c75a8a1c Start changing signature of menu_entry_is_currently_selected 2015-06-01 15:08:58 +02:00
twinaphex
bc843adc01 Start using menu_entry_get_label 2015-06-01 15:05:32 +02:00
twinaphex
05aee4f775 Start using menu_entry_get_value 2015-06-01 14:59:15 +02:00
twinaphex
ba277d90de Create action_get_title 2015-06-01 12:24:48 +02:00
twinaphex
6c9b545a66 Move get_title function to menu_entry.c 2015-06-01 11:55:03 +02:00
twinaphex
627c26497f (RMenu XUI) Buildfix 2015-05-21 04:45:40 +02:00
twinaphex
75004e7ece (PS3) Build fixes 2015-05-21 04:43:50 +02:00
twinaphex
969bbdd85d Get rid of some unused runloop variables 2015-05-20 03:13:42 +02:00
twinaphex
019a06a245 (GLUI) Get rid of some dependencies 2015-05-20 03:09:28 +02:00
twinaphex
d64655c11b move menu_display_get_size to gfx/video_driver.c and rename
it video_driver_get_size
2015-05-20 00:29:46 +02:00
twinaphex
c183f9dd11 (Menu) Start using menu_display_get_size 2015-05-20 00:26:50 +02:00
twinaphex
004dcf0bf1 Only call rarch_main_data_msg_queue_push if settings->menu.wallpaper
has a valid path set
2015-05-19 22:14:00 +02:00
natinusala
90d646dc45 Added perform_action to menu_ctx_driver 2015-05-19 21:05:40 +02:00
twinaphex
375c49b6c8 Move is_menu out of runloop struct and create get/set functions in menu_driver.c
and make the underlying variable static to make it thread-safe
2015-05-19 20:11:57 +02:00
twinaphex
a49e50896c Create wrapper functions menu_display_fb_set_dirty and menu_display_fb_unset_dirty 2015-05-18 23:14:56 +02:00
twinaphex
8dfbc1b54e Wrap menu->need_refresh 2015-05-15 22:06:42 +02:00
twinaphex
14aa1a5bda Use menu_entries_show_back 2015-05-15 00:16:39 +02:00
Twinaphex
aad6f622a2 Remove unused variables 2015-05-15 00:08:39 +02:00
twinaphex
47a9f2c405 Start using menu_entries_get_title 2015-05-15 00:07:07 +02:00
twinaphex
3426dbca7f Start using menu_entries_get_end 2015-05-15 00:03:06 +02:00
twinaphex
883af7dd82 Refactor menu_list_populate_generic 2015-05-14 23:19:30 +02:00
Jay McCarthy
bd66d9796f change menu_entries to my wish list of functionality 2015-05-14 16:18:32 -04:00
twinaphex
8633d0439e (RMenu) Build fixes 2015-05-12 14:43:54 +02:00
twinaphex
1e981cc31b Some functions don't need a menu_handle_t * argument 2015-05-12 14:41:20 +02:00
Twinaphex
5ebecc0db1 Merge pull request #1687 from heuripedes/glui-font-fix
Fix blocky text issues during context reset
2015-05-11 18:55:17 +02:00
Higor Eurípedes
d1c192ece7 (GLUI) Reset texture names 2015-05-11 13:49:46 -03:00
Twinaphex
014c1b343d Get rid of unused variables 2015-05-11 18:47:08 +02:00
twinaphex
a014f2db88 Move framebuffer is dirty and other menu-related state flags
to menu_handle_t
2015-05-11 18:46:06 +02:00
twinaphex
1a152677a3 Get rid of entry_iterate callback in menu driver 2015-05-11 18:31:44 +02:00
twinaphex
079b9f10ff Create menu_entry_iterate 2015-05-11 17:53:33 +02:00
twinaphex
f161883cf5 (RMenu) Cleanup 2015-05-11 17:46:23 +02:00
Higor Eurípedes
d2d1eaa4f9 (GLUI) Quick fix for menu not rendering during info screen 2015-05-10 16:18:09 -03:00
twinaphex
238fe7ecc5 Some cleanups to glui_context_bg_destroy 2015-05-10 20:21:34 +02:00
twinaphex
cdfd5406fe (RGUI) Remove unused variable 2015-05-10 12:33:48 +02:00
twinaphex
53866fe029 (Menu) Code duplication cleanup - use get_core_title 2015-05-10 12:10:06 +02:00
twinaphex
7914946d19 Move code from menu_list.c to menu_entry.c 2015-05-10 11:23:00 +02:00
twinaphex
3c5b83cf08 (360) Build fixes 2015-05-09 18:12:15 +02:00
twinaphex
303fcfa6bb (RMenu XUI) Buildfix 2015-05-09 17:54:19 +02:00
twinaphex
73d5e8a41b (PS3) Build fix and fix warnings 2015-05-09 17:53:03 +02:00
Twinaphex
f08db710ac Kill unused variables 2015-05-09 16:06:05 +02:00
twinaphex
9b9e65abf3 Start using video_driver_get_frame_count 2015-05-09 16:04:12 +02:00
twinaphex
5b1455070f (GLUI) Translucent selection bar looks a bit more correct now 2015-05-09 14:01:50 +02:00
twinaphex
9c32375861 Create xmb_context_bg_destroy 2015-05-09 13:29:48 +02:00
twinaphex
62975e1990 Reupload white texture when uploading a wallpaper 2015-05-09 13:21:32 +02:00
twinaphex
6f96b32df4 (GLUI) White texture should be properly uploaded to GPU
in threaded video mode now too
2015-05-09 13:12:43 +02:00
twinaphex
dbdffb91c0 (GLES/GLUI) Scrollbars, rectangle top/bottom show up now in GLES - currently
selected bar currently has wrong color
2015-05-09 12:24:24 +02:00
twinaphex
a57cfde1cd Use menu_list_get_entry for menu_entries_cbs_iterate.c 2015-05-08 11:41:41 +02:00
twinaphex
45ffc24653 Simplify get_title 2015-05-08 09:28:50 +02:00
twinaphex
5ca48cd13b Cleanups 2015-05-08 09:25:16 +02:00
twinaphex
fa5ef2e750 Simplify menu_list_get_entry 2015-05-07 10:15:33 +02:00
twinaphex
f9713ab764 Create menu_list_entry_is_currently_selected 2015-05-07 09:56:11 +02:00
twinaphex
ed3f7ccf7c (RMenu XUI) Update to use menu_list_get_entry 2015-05-07 09:44:29 +02:00
twinaphex
d1c2f51911 (RMenu) Start using menu_list_get_entry for RMenu 2015-05-07 09:42:08 +02:00
twinaphex
f171be5fb6 Use menu_list_get_entry directly 2015-05-07 09:39:04 +02:00
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
caaf6a8aa9 Create menu_display_setting_label 2015-05-05 19:50:39 +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
twinaphex
dbd0da41a2 (RGUI) Use menu_display_update_pending 2015-05-04 09:16:43 +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
d6a713bb8d Fix some warnings 2015-05-02 19:09:23 +02:00
twinaphex
af9e74bad9 (XMB) Remove unused variables 2015-05-01 17:26:24 +02: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
e669d3a512 (XMB) Use the new font functions 2015-05-01 09:05:49 -03:00
Higor Eurípedes
9eefa4eaca (GLUI) Use the new main font functions 2015-05-01 09:02:03 -03:00
twinaphex
489dc651b5 Cleanups - get_title 2015-04-27 18:57:09 +02: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
5d0da65f91 (XMB) xmb_draw_icon_begin - call shader->use once 2015-04-27 04:55:27 +02:00
twinaphex
6be4345aa1 gl_menu_frame_background - cleanups 2015-04-27 04:44:57 +02:00
twinaphex
b97e880c01 (Menu) Create gl_menu_frame_background 2015-04-27 04:37:45 +02:00
twinaphex
42fc1fb9a8 (XMB) Cleanup 2015-04-27 04:21:39 +02:00
twinaphex
d6ca2b7e57 (Menu) Create menu_gl_draw_frame 2015-04-27 03:37:04 +02:00
twinaphex
81f3f67232 (XMB) Cleanups 2015-04-27 02:58:50 +02:00
twinaphex
2c0c598b8e (XMB) Fix Select background screen 2015-04-27 02:00:18 +02:00
twinaphex
b980f5c4de (XMB) Create xmb_draw_frame 2015-04-26 18:17:18 +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
15dd8e71ac (XMB) Cleanup 2015-04-26 16:33:35 +02:00
twinaphex
f0d9506a17 (GLUI) Get rid of unneeded gl_t usage 2015-04-26 06:18:58 +02:00
twinaphex
941f0bdcb4 (XMB) Cleanups 2015-04-26 06:14:59 +02:00
twinaphex
e52eb7bcf2 (360) Build fixes 2015-04-26 05:44:30 +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
Higor Eurípedes
866654e3c9 (XMB) Free menu_stack_old and selection_buf_old 2015-04-25 20:34:21 -03:00
Higor Eurípedes
d52a1b20e3 (XBM) Fix font leak 2015-04-25 20:26:31 -03: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
b924d57838 (XMB) Style nit - 80-char limit 2015-04-21 16:45:27 +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