Commit Graph

563 Commits

Author SHA1 Message Date
twinaphex 4dded0c76b Change signature of process_events 2016-06-07 17:07:11 +02:00
twinaphex 3aeecc7eb2 Create ui_win32_application.c 2016-06-07 17:03:34 +02:00
Twinaphex 3b16eb1e91 Add (stub) ui_cocoa_application.m 2016-06-07 16:51:25 +02:00
Twinaphex f17b4fba05 Rename ui_cocoa_window.h 2016-06-07 16:47:48 +02:00
twinaphex 07ca97618d Add ui_application_win32 2016-06-07 16:43:25 +02:00
twinaphex ee8277b31c Rename ui_win32_window.h to ui_win32.h 2016-06-07 16:33:55 +02:00
twinaphex febe0a2a1e (UI) Turn some functions static 2016-06-07 16:32:13 +02:00
twinaphex a90bd8cb67 Add ui_null_application.c 2016-06-07 16:31:35 +02:00
twinaphex ea5f458fbd Go through function pointer 2016-06-06 08:01:26 +02:00
Twinaphex b78b29cb14 (Cocoa) Turn functions static 2016-06-06 07:40:44 +02:00
Twinaphex e4d202458a (iOS) Buildfix 2016-06-05 07:01:04 +02:00
twinaphex 2f7bc8760c Turn win32_browser into static function 2016-06-04 18:43:03 +02:00
twinaphex 757c83ea58 Turn apple_rarch_exited static 2016-06-04 18:10:52 +02:00
twinaphex 242e3d6a9e (ui_cocoa.m) Cleanups 2016-06-04 18:09:40 +02:00
Twinaphex 8e9bb03301 (Cocoa) Rewrite poll_iteration 2016-06-04 18:03:46 +02:00
Twinaphex 4b0401462f (OSX) Buildfixes 2016-06-04 17:34:01 +02:00
twinaphex 4a649695a5 Add prototypes 2016-06-04 17:27:23 +02:00
twinaphex 75781bb256 (Win32) Buildfix 2016-06-04 17:26:14 +02:00
twinaphex fc9954d967 Create window_focused callback 2016-06-04 17:24:46 +02:00
twinaphex 52d85c50d2 Implement ui_window_win32_set_droppable 2016-06-04 08:48:04 +02:00
Twinaphex bb5107b5fa Don't use ui_cocoa_window_set_droppable for now 2016-06-04 08:45:20 +02:00
twinaphex 47c7330cc8 Add set_droppable 2016-06-04 08:38:38 +02:00
Twinaphex 37d4dcfac1 (Cocoa) Implement ui_window_cocoa_destroy 2016-06-04 08:16:14 +02:00
Twinaphex deb3efb8db (Cocoa) Implement ui_window_cocoa_set_focused and ui_window_cocoa_set_visible 2016-06-04 08:14:39 +02:00
Twinaphex 860fb1d525 (Cocoa) Implement ui_window_cocoa_set_title 2016-06-04 08:09:55 +02:00
Twinaphex 7a564720fb (Cocoa) Buildfix 2016-06-04 08:00:19 +02:00
Twinaphex 98014f7b66 (Cocoa) Add stub ui_cocoa_window.m 2016-06-04 07:56:28 +02:00
twinaphex fe0391825b (UI/Win32) Change on_top_checkbox's type 2016-06-04 06:58:00 +02:00
twinaphex f2f38be4e6 Refactor shader_param_ctrl_t 2016-06-04 06:55:29 +02:00
twinaphex e6c7450c53 Turn g_shader_dlg.separator into ui_win32_window type 2016-06-04 06:39:18 +02:00
twinaphex 0ae7bf2a53 Use ui_window_win32 for g_shader_dlg 2016-06-04 06:31:14 +02:00
twinaphex f8901d4e47 Fix initializer 2016-06-04 06:28:35 +02:00
twinaphex f7bcc68cd9 Buildfix 2016-06-04 06:27:49 +02:00
twinaphex 999437f31b Use ui_window_win32_t for g_shader_dlg 2016-06-04 06:27:04 +02:00
twinaphex efc8df02f0 Put extern prototype inside ui_win32_window.h header 2016-06-04 06:04:02 +02:00
twinaphex 8093d2f124 Remove this file 2016-06-04 05:41:12 +02:00
twinaphex 05c4308cac (Win32) Buildfix 2016-06-04 05:05:41 +02:00
twinaphex aedd7fa53e Implement set_visible function callback 2016-06-04 05:04:00 +02:00
twinaphex cd49b89bbf Add set_title function callback to ui_window_t 2016-06-04 04:57:44 +02:00
twinaphex 2f1fb7783d Add set_focused function callback to window 2016-06-04 04:54:12 +02:00
twinaphex 5cf1b4b233 (Win32) Buildfix 2016-06-04 04:39:41 +02:00
twinaphex be08e07a66 ui_window - add destroy function callback 2016-06-04 04:37:37 +02:00
twinaphex bc7e7a26f0 Add ui/drivers/win32_ui_win32_window.h 2016-06-04 04:36:07 +02:00
twinaphex 61e1c13ae6 Create stub window interface 2016-06-04 04:24:54 +02:00
Twinaphex cbae4af38a (OSX) Add preliminary drag and drop code 2016-06-03 19:21:37 +02:00
twinaphex 01390f8ceb Use retro_common_api.h 2016-06-03 08:06:49 +02:00
mudlord bcf636283b Updates to drag and drop:
* Now recognises old core used, if compatible.
* If not compatible, compatibile cores are scanned and used.
* Different compatible cores are now enumerated to be selected at will.
2016-06-03 16:00:08 +10:00
twinaphex 5097240aef Add OFN_NOCHANGEDIR in hopes Win32 file dialogs won't change
current working dir
2016-05-31 04:48:00 +02:00
twinaphex 7d26034ebe Rename rarch_task_* to task_* 2016-05-27 18:14:47 +02:00
twinaphex 747fe1ae63 (Cocoa) Remove obsolete forward declaration 2016-05-17 09:18:37 +02:00
Twinaphex 679cabd430 (OSX) Hopefully this GL hack is no longer necessary on 10.5-era OSX 2016-05-17 09:15:56 +02:00
Twinaphex 52937d4b02 Fix CONTENT_MODE_LOAD_CONTENT_WITH_CURRENT_CORE_FROM_COMPANION_UI 2016-05-17 09:14:18 +02:00
twinaphex fcf2decb2e Remove persist argument 2016-05-17 09:07:41 +02:00
twinaphex 4b2d9a9ae5 (ui_win32) Include tasks_internal.h 2016-05-16 20:21:53 +02:00
twinaphex bb1d1da693 Remove runloop_iterate_data 2016-05-16 17:29:02 +02:00
twinaphex f70dc77a61 Pass content_ctx_info_t pointer to rarch_task_push_content 2016-05-16 16:25:16 +02:00
Twinaphex 81f669ca61 (Cocoa) Buildfix 2016-05-16 15:44:21 +02:00
twinaphex e95bb7e37a (Windows) Another buildfix 2016-05-16 15:36:31 +02:00
twinaphex 6ef0b86e30 Reimplement content loading - task_content_load 2016-05-16 12:51:55 +02:00
Twinaphex 19afc807ef (iOS) Not sure why we are calling rarch_main() twice for iOS 2016-05-10 23:33:51 +02:00
twinaphex 2691ab0c7d Rename command_event enums 2016-05-09 20:51:53 +02:00
twinaphex a98ef36d36 Rename event_cmd_ctl to command_event 2016-05-09 20:20:50 +02:00
twinaphex 1b8e8ac22a Remove video_shader_driver_ctl 2016-05-08 21:11:27 +02:00
twinaphex 13e67aa44e Create runloop_iterate_data 2016-05-08 06:29:11 +02:00
Twinaphex 803c27c582 (iOS) Cleanups 2016-05-04 04:13:33 +02:00
Twinaphex 51565e6336 (iOS) Avoid some analyze warnings 2016-05-04 04:10:33 +02:00
twinaphex ce5d065014 Cast as NSUInteger 2016-05-02 14:54:08 +02:00
Twinaphex 829656391a (OSX) Fix build 2016-04-28 19:29:21 +02:00
twinaphex 11cc280239 (Win32) Buildfix 2016-04-28 19:27:17 +02:00
Twinaphex 20706b51de (iOS) Fix iOS - pass argc/argv 2016-04-05 21:22:23 +02:00
Twinaphex cf9d8a8adb (iOS) rewrite this 2016-04-05 20:58:17 +02:00
twinaphex c536e0fbdc (iOS) argv needs to always be non-NULL 2016-04-05 20:53:02 +02:00
twinaphex 93b7dc1bdd (libretro-common) move 'lists' files to lists/ 2016-03-20 14:53:54 +01:00
Twinaphex d5bc3c4d5b (OSX) Silence some warnings - just use plain numbers instead of enums
which can rapidly grow out of date
2016-03-03 00:48:45 +01:00
Twinaphex 353072c9cd (OSX) Fix build now for real 2016-02-26 13:39:32 +01:00
twinaphex 4dfed7e930 Cast to NSOpenGLContext * 2016-02-26 13:39:01 +01:00
twinaphex dcefb740f2 Create glcontext_get_ptr 2016-02-26 13:36:12 +01:00
twinaphex 93e17b46bd Cleanups 2016-02-26 13:32:56 +01:00
twinaphex 61a4d47feb (ui_win32.c) 80-char width limit 2016-02-26 13:31:34 +01:00
twinaphex debb5dd0ce Add SHADER_CTL_GET_CURRENT_SHADER 2016-02-14 22:13:21 +01:00
twinaphex c6220a9e66 Reimplement rarch_task_push_content_load_default 2016-02-12 04:55:18 +01:00
twinaphex e26c88b4bb (OSX) Buildfix 2016-02-12 04:40:53 +01:00
twinaphex b5e28cda58 Create RARCH_MENU_CTL_ITERATE 2016-02-10 20:13:12 +01:00
twinaphex 21c4a07cf0 (OSX) Buildfix 2016-02-10 07:20:54 +01:00
twinaphex ce31c2b02a Add header 2016-01-25 06:17:00 +01:00
twinaphex 5cfc9c1830 (OSX) Buildfix 2016-01-24 07:19:37 +01:00
twinaphex 372d673a26 Rename event_command to event_cmd_ctl - add second parameter 2016-01-22 15:34:43 +01:00
Twinaphex 6f49139eba (OSX) Buildfix 2016-01-21 04:02:15 +01:00
twinaphex a767031651 Use string_is_equal in more places 2016-01-20 04:11:25 +01:00
Twinaphex b1b8f2645f (Apple) Buildfix 2016-01-20 00:38:48 +01:00
twinaphex 01d58f8681 Create RARCH_CTL_IS_INITED, RARCH_CTL_SET_INITED, RARCH_CTL_UNSET_INITED 2016-01-19 23:26:47 +01:00
twinaphex 3f3a305396 (CocoaTouch) Buildfix 2016-01-18 22:15:19 +01:00
twinaphex 91de59c7ff (Cocoa) Cleanups 2016-01-18 22:10:16 +01:00
twinaphex cebea56412 Add UI Companion Enable setting 2016-01-18 21:35:09 +01:00
Phillip Ponson 6ca58a4d6e iOS: Refactoring support for background Music.app. 2016-01-17 19:51:28 -06:00
neville f44e0db97c (Load Core) OSX - Filter by dylibs 2016-01-17 19:27:33 +01:00
Twinaphex a4eae00ac2 Make this runtime too 2016-01-17 19:03:57 +01:00
Twinaphex c9c46b8060 Get rid of another compile-time define 2016-01-17 18:58:50 +01:00
Twinaphex 9324f257fc (OSX 10.5) Change label to 'Load Content' 2016-01-17 18:46:26 +01:00
Twinaphex 681396b151 (OSX) Cleanups 2016-01-17 18:45:01 +01:00
Twinaphex bd153870c2 Move callback function up 2016-01-17 18:43:24 +01:00
Twinaphex 43b949a9a0 Create open_document_handler 2016-01-17 18:42:52 +01:00
Twinaphex 4f0233fbf9 Use BOXSTRING 2016-01-17 18:39:42 +01:00
Twinaphex 777af02e82 Create open_core_handler - cut down on code duplication 2016-01-17 18:38:08 +01:00
neville f6c6f64a20 Implement openCore for OSX 10.5 2016-01-17 18:34:18 +01:00
Twinaphex 7f505afda7 (OSX) Prevent crash with previous hack 2016-01-17 16:26:04 +01:00
Twinaphex 55105303ac Add hack that works around this issue 2016-01-17 15:55:30 +01:00
twinaphex dd239fc85d Add HAVE_AVFOUNDATION ifdefs 2016-01-16 22:02:49 +01:00
pponso1 a983c8269e iOS. Adding support for Music.app.
I had to comment out this line in the showPauseMenu function: 
  
ui_companion_cocoatouch_event_command(NULL, EVENT_CMD_AUDIO_STOP);

This may actually be on the only change needed. 😜
2016-01-16 12:37:09 -06:00
pponso1 3ce5ad9243 iOS. Adding support for Music.app.
Users who want to play games while listening to music should enjoy these modifications. Not the cleanest; refactoring is needed.
2016-01-16 12:25:57 -06:00
pponso1 452c6afaf0 support for playing Music.app in background. 2016-01-16 12:09:44 -06:00
twinaphex 4b9fea617c (OSX) Perform selectorOnMainThread - move to applicationDidFinishLaunching 2016-01-15 23:09:50 +01:00
twinaphex 8323d06d3d (Cocoa) No more dependencies on get_chosen_screen or
get_backing_scale_factor
2016-01-15 22:20:46 +01:00
Twinaphex f35690e2e5 Fixes 2016-01-15 22:16:18 +01:00
twinaphex 09a183df3f (OSX) Create get_backing_scale_factor 2016-01-15 22:15:23 +01:00
twinaphex 3427d08c34 Do early return in case get_chosen_screen returns NULL 2016-01-15 14:00:11 +01:00
Twinaphex 26bcfa8d89 Revert "Refactor function get_float_from_selector - obsolete"
This reverts commit 1b2632e7fa.
2016-01-15 13:03:40 +01:00
twinaphex 1b2632e7fa Refactor function get_float_from_selector - obsolete
hardcoded ifdef
2016-01-15 12:53:33 +01:00
twinaphex 647438ae93 Hopeful buildfix 2016-01-15 12:40:56 +01:00
Twinaphex 4461ff8442 Fix crappy bug that happens with NSOpenPanel and Cocoa GL - current
context gets lost
2016-01-13 19:44:05 +01:00
Twinaphex a2580d3ec2 Revert "(OSX) use beginWithCompletionHandler - fixes 'OK' case"
This reverts commit 8b1b14e818.
2016-01-13 19:07:57 +01:00
Twinaphex 8b1b14e818 (OSX) use beginWithCompletionHandler - fixes 'OK' case 2016-01-13 19:06:27 +01:00
Twinaphex 61987e8ba5 Add 'set message' 2016-01-13 18:09:08 +01:00
twinaphex 44ffd90278 (ui_win32.c) Fix 2016-01-13 17:07:23 +01:00
Twinaphex b28771eadb Set dialogs to default dir 2016-01-13 17:00:41 +01:00
twinaphex 172b972a32 Add NSCancelButton cases 2016-01-13 13:36:50 +01:00
twinaphex fdc1f963b2 (ui_cocoa.m) Cleanups 2016-01-13 13:08:51 +01:00
Yoshi Sugawara 890eaafcd7 Fixed reading keyboard input for iOS 9 (use [UIApplication handleKeyUIEvent]). Fixed 8bitdo SNES30/SFC30 button mappings (fixed key mapping for X button) 2015-12-26 19:38:02 -05:00
twinaphex c2d7cbe18b Use string_is_empty 2015-12-26 07:59:15 +01:00
twinaphex 3df4101321 Get rid of menu_entries_set_start and menu_entries_get_start 2015-12-12 14:39:35 +01:00
twinaphex fde4826754 Add MENU_ENTRIES_CTL_SHOW_BACK 2015-12-11 21:34:27 +01:00
twinaphex 9216fc9421 (CocoaTouch) Buildfix 2015-12-11 15:55:47 +01:00
twinaphex a8c6fc150b Add RUNLOOP_CTL_DATA_ITERATE 2015-12-11 10:17:18 +01:00
twinaphex d7fd52b03f Make g_system_menu no longer a global 2015-12-10 23:08:34 +01:00
twinaphex 2f6dc858e2 (iOS) Buildfix 2015-12-10 20:14:09 +01:00
twinaphex ffa1db61e6 (Win32) Buildfix 2015-12-08 09:32:48 +01:00
twinaphex b0b35ba9e5 Remove more references to menu_driver_get_ptr outside of menu/ files 2015-12-07 16:00:48 +01:00
twinaphex 5b1e1592cb Rename rarch_main_iterate and rarch_main_data_iterate 2015-12-07 15:22:36 +01:00
Twinaphex aab828bbe5 Nit 2015-12-06 21:01:50 +01:00
twinaphex a3146ecca5 (CocoaTouch) Buildfix 2015-12-06 21:01:26 +01:00
twinaphex ec2795dd23 Another buildfix 2015-12-06 21:00:47 +01:00
twinaphex 9f1b9e6676 (Cocoa) More buildfixes 2015-12-06 20:20:45 +01:00
twinaphex 4d66e4beac (Cocoa) Update 2015-12-06 19:55:14 +01:00
twinaphex 718ed30d70 (Cocoa) Buildfixes 2015-12-06 18:18:50 +01:00
twinaphex 29f6d23d90 (Cocoa) Buildfix 2015-12-05 17:20:11 +01:00
twinaphex f0b4f216b9 Attempt to fix iOS build errors 2015-12-05 17:15:32 +01:00
twinaphex 9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex 4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +01:00
twinaphex ca71e1a5bb Rename RARCH_ACTION_STATE_ to RARCH_CTL_ 2015-11-30 21:28:55 +01:00
twinaphex 5bc357fc28 (iOS) Buildfix 2015-11-30 17:01:50 +01:00
twinaphex 4e0a4150b5 Merge runloop and runloop_data.c 2015-11-30 15:35:57 +01:00
twinaphex 5d52f4856a Get rid of INLINE qualifier for some functions 2015-11-30 05:13:12 +01:00
twinaphex 5e1b2b3bfa Move driver->input_data to input_driver.c 2015-11-29 18:18:25 +01:00
twinaphex ea18f0f5e3 (ui_cocoa.m ) Cleanups 2015-11-29 18:06:09 +01:00
twinaphex a9f2959f4f (Cocoa) Add header includes 2015-11-29 16:30:38 +01:00
twinaphex d018f65e95 Rename cocoa_input_keyboard_event 2015-11-29 16:26:13 +01:00
twinaphex c20c6a5438 (Win32) Buildfixes 2015-11-28 21:54:32 +01:00
twinaphex ef3cbed13e Create separate WndProc for GL and D3D 2015-11-28 21:50:28 +01:00
Twinaphex 6a99893705 (Cocoa) Cleanup poll_iteration 2015-11-28 19:00:50 +01:00
Twinaphex 3001729545 Revert "Go through input_driver_get_data_ptr whenever we need input data"
This reverts commit 52c9a2ec43.
2015-11-28 18:58:33 +01:00
twinaphex 52c9a2ec43 Go through input_driver_get_data_ptr whenever we need input data
state
2015-11-28 18:51:12 +01:00
twinaphex 2b4464f30a Implement RARCH_MAIN_CTL_IS_IDLE 2015-11-28 15:03:59 +01:00
Twinaphex 3433a515d1 (iOS) Buildfix 2015-11-28 04:04:33 +01:00
twinaphex da8c36b0c3 Don't need sleeping argument anymore for rarch_main_data_iterate 2015-11-28 03:26:01 +01:00
twinaphex a1226004f5 Revert "Don't render menu if unfocused - reimplement this"
This reverts commit ce7ec0681b.
2015-11-28 03:05:37 +01:00
twinaphex ce7ec0681b Don't render menu if unfocused - reimplement this 2015-11-28 03:03:26 +01:00
twinaphex a6ccc188a8 Rename input_common.c to input_config.c 2015-11-28 02:22:58 +01:00
Twinaphex 565b5d19c9 (iOS) Buildfix 2015-11-28 01:49:18 +01:00
twinaphex 133b4754a4 (iOS) Buildfix 2015-11-28 00:17:36 +01:00
Twinaphex 4a3b9ffc7c Try to conserve on CPU usage when in sleep mode by skipping
menu rendering
2015-11-27 23:37:23 +01:00
Twinaphex 8a5ba85c9a Cleanups 2015-11-24 20:25:31 +01:00
twinaphex 021ae74612 Remove dead code - rarch_main_data_iterate 2015-11-24 18:13:54 +01:00
twinaphex f1edf1210c Avoid warning 2015-11-23 10:51:03 +01:00
twinaphex 6470253f0d (Win32) Buildfixes 2015-11-22 22:25:01 +01:00
twinaphex 85dbeeb8f9 No more video_monitor.h 2015-11-22 13:32:46 +01:00
Yongwoon Cho 8be77a102e Fix : iOS UI Bug with navigation bar
issue #2159 fixed.
2015-11-21 17:35:24 +09:00
twinaphex dcd715ccbd (Win32) Buildfix 2015-11-19 09:00:32 +01:00
twinaphex 94de5f7066 (Win32) Localize Load Content/Load Core dialog screens 2015-11-19 08:59:45 +01:00
twinaphex 66c15314e2 Get rid of some header files 2015-11-19 08:56:08 +01:00
twinaphex 4d20ea936f (ui_win32.c) Cleanups 2015-11-19 08:52:26 +01:00
twinaphex ec9ae5f7ac (Win32) Buildfixes 2015-11-19 08:44:02 +01:00
twinaphex f2f0e7efb2 Move win32_window_init to C code 2015-11-19 08:37:25 +01:00
twinaphex 68750e45b1 shader_dlg_init - some code reuse 2015-11-19 08:34:59 +01:00
twinaphex b5fa321532 Buildfixes 2015-11-19 08:17:59 +01:00
twinaphex 35cd44cbc4 (Win32) Move more code over to ui_win32.c 2015-11-19 08:16:31 +01:00
twinaphex 25bbd3b572 Move win32_resource.h 2015-11-19 07:59:10 +01:00
twinaphex 55ec9c7846 Move win32_shader_dlg.c code to ui_win32.c 2015-11-19 07:56:54 +01:00
twinaphex 79af6f0abc ui_win32.c - Remove _XBOX defines 2015-11-19 07:53:59 +01:00
twinaphex 27be8fa045 Revert "Move a lot of code over to ui/drivers/ui_win32.c"
This reverts commit 37f4f5ec3d.
2015-11-19 07:53:00 +01:00
twinaphex 37f4f5ec3d Move a lot of code over to ui/drivers/ui_win32.c 2015-11-19 07:48:56 +01:00
twinaphex 407ae37aab Move win32_browser over to ui_win32.c 2015-11-19 07:37:22 +01:00
twinaphex f46d8a50fc Add ui_win32.c 2015-11-19 07:23:41 +01:00
twinaphex fecdc86475 Create RARCH_MAIN_CTL_SET_WINDOWED_SCALE 2015-11-18 11:55:23 +01:00
Twinaphex 2468c23d4c (OSX) Fix some warnings 2015-11-18 11:48:35 +01:00
twinaphex a4ae655ff4 Start going through rarch_main_ctl for grabbing fullpath 2015-11-18 11:43:25 +01:00
twinaphex 2b727fa941 Add RARCH_MAIN_CTL_SET_LIBRETRO_PATH/RARCH_MAIN_CTL_SET_CONTENT_PATH 2015-11-18 11:15:42 +01:00
twinaphex 37d45643f9 (BTStack) Move btpad_set_inquery_state calls to btstack_hid.c 2015-11-18 01:57:45 +01:00
twinaphex 239ae7de53 Move gl_common to gfx/common 2015-11-17 08:01:33 +01:00
twinaphex 0b8231dd79 Forward declaration for btpad_set_inquiry_state 2015-11-17 06:40:17 +01:00
twinaphex aa208993d5 btstack_hid.h - remove 2015-11-17 06:37:33 +01:00