Commit Graph

1298 Commits

Author SHA1 Message Date
twinaphex 3a0aab31f6 Create menu_entry.h 2015-05-10 11:00:05 +02:00
twinaphex 0333cb5eb6 Refactor cocoatouch_support.c as menu/menu_entry.c 2015-05-10 10:55:20 +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 88d069c3f7 Start wrapping access to menu->list_settings 2015-05-08 20:41:15 +02:00
twinaphex cbaf5cdd05 Create menu_setting_get_ptr 2015-05-08 20:36:08 +02:00
twinaphex f270f3a9e0 Cleanup 2015-05-08 20:03:36 +02:00
twinaphex 4f4b0bc537 Cleanups 2015-05-08 20:01:38 +02:00
twinaphex 41de3fe1f1 Rename some other static functions 2015-05-08 19:45:55 +02:00
twinaphex d50c9236f4 Rename some static functions 2015-05-08 19:44:46 +02:00
twinaphex ab4ca635be Remove menu_list_push_stack 2015-05-08 19:28:52 +02:00
twinaphex bbe6b5c809 Remove unused menu_list_push_refresh 2015-05-08 19:22:08 +02:00
twinaphex 09d6294dc2 menu_list_get_entry - fix bug 2015-05-08 17:58:17 +02:00
twinaphex cb22a3feb9 Use menu_setting_find 2015-05-08 17:19:43 +02:00
twinaphex 08c0a59e40 (menu_entries.c) Small cleanup 2015-05-08 16:02:21 +02:00
twinaphex 50944bb1e1 Use menu_list_get_entry 2015-05-08 11:45:30 +02:00
twinaphex a57cfde1cd Use menu_list_get_entry for menu_entries_cbs_iterate.c 2015-05-08 11:41:41 +02:00
Twinaphex 4ac4aae81a Remove unused variables 2015-05-08 11:17:45 +02:00
twinaphex 25749f7fdd (menu_entries_cbs_iterate.c) More cleanups 2015-05-08 11:16:31 +02:00
twinaphex cb3245b690 Create action_iterate_switch 2015-05-08 11:11:18 +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 f2d481f421 (menu_navigation.c) Use menu_list_get_ptr 2015-05-07 11:05:28 +02:00
Twinaphex 07dfbf6878 Remove unused variable 2015-05-07 10:59:17 +02:00
twinaphex 65bf2fc7b8 (menu_entries_cbs_toggle.c) Use menu_list_get_ptr 2015-05-07 10:58:27 +02:00
twinaphex 4e1821123f (menu_entries_cbs_iterate.c) Use menu_list_get_ptr 2015-05-07 10:55:57 +02:00
twinaphex 5bb482d61c action_iterate_main - use menu_list_get_ptr 2015-05-07 10:50:29 +02:00
twinaphex 98a4fb0827 Start using menu_navigation_get_current_selection 2015-05-07 10:48:57 +02:00
twinaphex 6e20548340 (Menu) Cleanups 2015-05-07 10:47:22 +02:00
twinaphex c8011632f9 Create menu_navigation_get_current_selection 2015-05-07 10:45:11 +02:00
twinaphex 64495ea0e5 Simplify action_cancel_pop_default 2015-05-07 10:25:13 +02:00
Twinaphex c0749b119d (Menu) Cleanup 2015-05-07 10:16:50 +02:00
twinaphex fa5ef2e750 Simplify menu_list_get_entry 2015-05-07 10:15:33 +02:00
twinaphex 290bff0097 Create menu_list_get_current_entry_id 2015-05-07 10:10:08 +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 b40b01b162 Prevent unused variable warning 2015-05-07 09:29:38 +02:00
twinaphex aca04bed0b (Menu) Cleanups 2015-05-07 05:31:25 +02:00
twinaphex b95ceeb406 Cleanups 2015-05-07 05:11:37 +02:00
twinaphex 058b1dfdf0 Start using menu_list_get_ptr and menu_navigation_get_ptr 2015-05-07 05:08:34 +02:00
twinaphex a8e5d98b0c Start using menu_navigation_get_ptr 2015-05-07 05:04:58 +02:00
twinaphex 9441ba5a5d Create menu_navigation_get_ptr 2015-05-07 05:01:55 +02:00
twinaphex b28a45e7da (menu_setting.c) Simplifications 2015-05-07 04:57:49 +02:00
twinaphex 0b49fe0f22 (menu_list.c) Cleanups 2015-05-07 04:54:49 +02:00
twinaphex 7004451e54 Create menu_list_get_entry 2015-05-07 04:47:32 +02:00
twinaphex a13442625b Cleanups 2015-05-07 04:37:46 +02:00
twinaphex ce9d025207 menu_display_setting_label - add logging 2015-05-07 04:33:31 +02:00
twinaphex bcab96bb77 (Menu) Simplify menu_display_setting_label 2015-05-07 04:28:57 +02:00
twinaphex dcd203b44d Make menu actions configurable 2015-05-07 03:55:15 +02:00
Twinaphex f3a7252ea8 (Menu) Update function 2015-05-05 22:21:38 +02:00
twinaphex db60ee629d menu_display_setting_label - Return callback 2015-05-05 21:37:33 +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 b85dfec4d4 Fix sigsegv and improve font fallback logic 2015-05-02 22:24:35 -03: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
Twinaphex 7845e9b2fb Merge pull request #1665 from heuripedes/build-fixes
Fix build when OpenGL and GLES are disabled
2015-05-01 16:36:23 +02:00
Higor Eurípedes c554f58dfd Fix build when OpenGL and GLES are disabled 2015-05-01 11:28:53 -03: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
Higor Eurípedes 63c9b6e562 (Menu) Add some functions to handle the main menu font 2015-05-01 09:00:03 -03:00
twinaphex f6586f7cde Implement Core Settings and implement 'Core Supports No Content Enable' 2015-04-28 03:22:04 +02:00
twinaphex 560d28b188 menu_display_update_pending - cleanup 2015-04-27 19:13:09 +02:00
twinaphex 489dc651b5 Cleanups - get_title 2015-04-27 18:57:09 +02:00
twinaphex 0731e8c1fa MOve menu_update_libretro_info to driver.c and make it a static function 2015-04-27 05:38:27 +02:00
twinaphex 5aa422885f (GLUI) Remove dependency on gl_common.h 2015-04-27 05:07:11 +02:00
twinaphex 5a5dc01f8e (menu_display.c) Remove dependency on gl_common.h 2015-04-27 05:05:38 +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 5e75d59894 (XMB) Shows XMB categories again 2015-04-27 04:03:44 +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 d0b3aa24c4 (Windows) Buildfix 2015-04-26 23:47:24 +02:00
twinaphex a9dee4877e Create set_viewport wrapper function - threaded video mode's
set_viewport function does not work yet
2015-04-26 19:46:59 +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 1532ab3a58 (Menu) Actually free menu in menu_free() 2015-04-25 20:42:12 -03: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 ec6b2dd0c5 (menu_driver.c) Buildfix 2015-04-26 00:24:43 +02:00
twinaphex 8f93e55d82 Make menu_driver_get_ptr more robust 2015-04-26 00:24:01 +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 e69f40b319 (menu_display.c) Cleanup 2015-04-24 16:42:27 +02:00
twinaphex 69bef77d6d Add DPI override options 2015-04-24 16:37:09 +02:00
twinaphex 943ecee554 (Menu) Update menu_update_libretro_info 2015-04-23 02:11:57 +02:00
twinaphex 62899fc046 (Menu) Change void * arguments in signatures 2015-04-23 01:27:43 +02:00
twinaphex 71b83aec7c Get rid of some void * arguments in menu_display.c 2015-04-23 01:21:43 +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
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
twinaphex 9ef656dc61 (MSVC) Build fixes 2015-04-20 20:00:39 +02:00
twinaphex aa54f7fb41 Move apple_rarch_exited to UI companion drivers 2015-04-20 17:10:28 +02: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 d6ab5fb574 (Menu) Support back button with mouse 2015-04-20 20:15:55 +07:00
twinaphex 1739259dde Remove shader_manager_get_current_shader - no longer used 2015-04-19 18:46:53 +02:00
twinaphex 1cb9f651ab zlib_extract_core_callback - compile it in only when HAVE_ZLIB
is defined
2015-04-19 18:45:29 +02:00
twinaphex ee7ce9659b Create more features 2015-04-19 18:30:49 +02:00
Jean-André Santoni 6b3421b971 (RGUI) Center the title, and display a BACK button 2015-04-19 18:48:05 +07:00
twinaphex ed593b5b1d Improve menu_input_pointer_post_iterate early return 2015-04-19 12:58:36 +02: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 33254862a6 Change 'Using Power' to 'Discharging' 2015-04-18 22:04:22 +02:00
twinaphex 7e0395970e Add Power Source to System Information 2015-04-18 15:17:27 +02:00
twinaphex 4468f768a6 Cleanups 2015-04-16 23:22:29 +02:00
twinaphex 182c4e5e37 Add _opengles_supp to config.features.h 2015-04-16 22:13:16 +02:00
twinaphex d9f5f7c457 Add more entries to System Information 2015-04-16 21:58:19 +02:00
twinaphex 3c498eb505 Add HAVE_GLSL/HAVE_HLSL to config.features.h 2015-04-16 20:59:55 +02:00
twinaphex aded842d4f Start adding config.features to system information 2015-04-16 20:56:06 +02:00
twinaphex 686c453681 (System Information) Add CPU features information 2015-04-16 20:37:21 +02:00
Twinaphex cb03dcc58f Cleanups 2015-04-16 20:19:53 +02:00
twinaphex 6c8fb89773 Refactor print_compiler 2015-04-16 20:17:05 +02:00
twinaphex 83e3231fdd (System Information) Add frontend->get_os 2015-04-16 20:07:54 +02:00
twinaphex cd76c3f975 Add gfx_ctx_get_ident 2015-04-16 20:00:10 +02:00
twinaphex 7bfca05272 System Information - show Display Metrics 2015-04-16 19:41:07 +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 0a56e3dcaa (Menu) Fix touch compatibility with the framebuf.dirty optimization 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 8dd265bbad Remove unused variable 2015-04-15 20:06:48 +02:00
twinaphex 23b9a3ee47 Add 'use_output_directory' 2015-04-15 12:42:36 +02:00
twinaphex 3717414e2e Setting recordings from the menu works now 2015-04-15 10:55:23 +02:00
twinaphex ee3442b962 Fix crash when toggling menu switch when we're in 'Core Updater' screen 2015-04-15 09:55:23 +02:00
twinaphex 5b6030c2c7 (Core Updater) Cleanup global variables 2015-04-15 09:48:13 +02:00
twinaphex 7f17f340c0 (Menu) Cleanup 2015-04-15 09:35:48 +02:00
twinaphex c2f659fb68 Add 'Recording Settings' to menu_entries_common_is_settings_entry 2015-04-15 09:25:09 +02:00
twinaphex 9c2193f915 Start adding record_config setting 2015-04-15 09:18:43 +02:00
twinaphex efc78f0ee1 Turn off logging spam 2015-04-15 07:25:25 +02:00
twinaphex 6bf30bb714 (PS3) Buildfixes 2015-04-14 21:58:39 +02:00
twinaphex 63b104204b Create separate 'Recording Settings' 2015-04-14 18:28:15 +02:00
Twinaphex 69e7c978c5 Merge pull request #1627 from aliaspider/master
(CTR/3DS) fix build.
2015-04-14 16:39:28 +02:00
twinaphex 8c6cce3945 Rename rarch_joypad_driver_t to input_device_driver_t 2015-04-14 16:37:59 +02:00
aliaspider b965a07c32 (CTR) fix build. 2015-04-14 15:35:14 +01:00
twinaphex baaed5a241 Refactor set_bind functions 2015-04-14 14:04:24 +02:00
twinaphex 62a5d5338a Create menu_input_set_input_device_bind_mode 2015-04-14 13:43:24 +02:00
twinaphex fc7f9894b8 Create menu_input_set_keyboard_bind_mode 2015-04-14 13:40:20 +02:00
Twinaphex 44e8f920ad Get rid of unused variables 2015-04-14 13:02:24 +02:00
twinaphex 2cf13d3e0b Go through menu_driver_get_ptr 2015-04-14 13:01:33 +02:00
Twinaphex a3e9a5c8f9 Get rid of unused variables 2015-04-14 12:57:41 +02:00
twinaphex 930913ee8b (Menu) Cleanups 2015-04-14 12:56:37 +02:00
twinaphex f5005cac96 Revert "Revert "Revert "(Input) Add timeout for gamepad binds"""
This reverts commit 50dcaf66c6.
2015-04-14 12:40:23 +02:00
twinaphex 50dcaf66c6 Revert "Revert "(Input) Add timeout for gamepad binds""
This reverts commit 6166e45095.
2015-04-14 12:34:03 +02:00
twinaphex 6166e45095 Revert "(Input) Add timeout for gamepad binds"
This reverts commit 54c41564c8.
2015-04-14 12:33:08 +02:00
twinaphex 54c41564c8 (Input) Add timeout for gamepad binds 2015-04-14 12:29:54 +02:00
twinaphex 75fcf2175a Rename 'Joypad' references to 'Input Device' 2015-04-14 12:11:03 +02:00
twinaphex bb6331874a Refactor database runloop code 2015-04-14 09:27:55 +02:00
twinaphex 8e3b63e2e9 menu_input_frame - early return if driver is NULL 2015-04-14 08:12:34 +02:00
twinaphex 19a3104cdc (RARCH_CONSOLE) Buildfix 2015-04-14 08:12:06 +02:00