twinaphex
969ef4b88d
Add stub browser window implementations for Win32/Cocoa
2016-06-08 15:51:43 +02:00
twinaphex
0e01a3c84b
Add ui_browser_window
2016-06-08 15:47:00 +02:00
twinaphex
d63442ca3b
Implement ui_win32_msg_window
2016-06-08 10:19:37 +02:00
twinaphex
47abc22fe9
ui_win32_window.c needs to become a C++ file for DragAcceptFiles
2016-06-08 10:05:48 +02:00
neville
f170856374
(OSX) Fixes
2016-06-08 07:41:59 +02:00
twinaphex
0a7bc4d21f
Add 'warning'
2016-06-08 07:27:46 +02:00
twinaphex
615fc0432f
Free strdup'ed values
2016-06-08 07:24:26 +02:00
twinaphex
047ffe9d30
Remove apple_display_alert
2016-06-08 07:19:19 +02:00
Twinaphex
6cf905508e
Reimplement apple_display_alert to use new ui_msg_window implementation
2016-06-08 07:07:10 +02:00
twinaphex
3c7fafe9a3
Create ui_companion_driver_get_msg_window_ptr
2016-06-08 07:02:38 +02:00
Twinaphex
aa81c1d82f
Start implementing ui_cocoa_msg_window.m
2016-06-08 06:56:42 +02:00
twinaphex
1fc0009cdc
ui_msg_window_state - turn title and text into pointers
2016-06-08 06:37:00 +02:00
twinaphex
10a25209da
(Msg window) Add backends for Win32/Cocoa
2016-06-08 06:33:15 +02:00
twinaphex
a247b16164
Add ui_null_msg_window
2016-06-08 06:29:52 +02:00
twinaphex
c35e75a0bd
Create ui_msg_window_t
2016-06-08 06:24:15 +02:00
twinaphex
793d0de45c
Add ui_message_window_buttons/ui_message_window_response
2016-06-08 06:17:26 +02:00
twinaphex
20766147a6
Cleanup
2016-06-07 18:04:07 +02:00
twinaphex
3f44ba59eb
Add pending_events function callback
2016-06-07 18:02:37 +02:00
twinaphex
dbf59a72bd
(ui_win32_application.c) Indenting cleanups
2016-06-07 17:32:37 +02:00
twinaphex
f4c3a41f84
(Win32) Implement application process events
2016-06-07 17:28:51 +02:00
Twinaphex
ba962d5dda
Remove poll_iteration
2016-06-07 17:16:16 +02:00
Twinaphex
02910fd64d
(Cocoa) Implement ui_application_process_events
2016-06-07 17:14:57 +02:00
twinaphex
c1a321015a
Create ui_companion_driver_get_application_ptr
2016-06-07 17:10:27 +02:00
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
77d5de3b4c
Create ui_companion_driver_get_window_ptr
2016-06-06 07:35:45 +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
Twinaphex
1aef6ddbc8
Merge pull request #3058 from mudlord/master
...
Updates to drag and drop:
2016-06-03 08:04:10 +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
7ce2ac082a
Use retro_common_api.h
2016-06-03 05:54:21 +02: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
523ebed112
Combine command_event.c and command.c
2016-05-09 20:30:47 +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
485750c8ba
Remove unused variable
2016-02-12 06:50:44 +01:00
twinaphex
cfe884f0b7
Add ui_companion_driver_toggle
2016-02-12 06:43:06 +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