filename | src/cocoaui/cocoaui.m |
changeset | 1015:ad448bedc48a |
prev | 964:f2f3c7612d06 |
next | 1017:f94af28e38b7 |
author | nkeynes |
date | Tue Jun 02 23:16:26 2009 +0000 (14 years ago) |
permissions | -rw-r--r-- |
last change | "MythTV" patch from Wahrhaft, thanks!: * Add support for LIRC input devices * Add hotkey input support * Add command-line option for immediate fullscreen |
file | annotate | diff | log | raw |
1.1 --- a/src/cocoaui/cocoaui.m Thu Jan 15 04:15:11 2009 +00001.2 +++ b/src/cocoaui/cocoaui.m Tue Jun 02 23:16:26 2009 +00001.3 @@ -179,7 +179,7 @@1.4 {1.5 if( cocoa_gui_autorun ) {1.6 cocoa_gui_autorun = NO;1.7 - cocoa_gui_run_later();1.8 + gui_run_later();1.9 }1.10 }1.11 - (void)windowDidBecomeKey: (NSNotification *)notice1.12 @@ -196,7 +196,7 @@1.13 const gchar *cname = [filename UTF8String];1.14 if( file_load_magic(cname) ) {1.15 // Queue up a run event1.16 - cocoa_gui_run_later();1.17 + gui_run_later();1.18 return YES;1.19 } else {1.20 return NO;1.21 @@ -274,7 +274,7 @@1.22 - (void) run_action: (id)sender1.23 {1.24 if( !dreamcast_is_running() ) {1.25 - cocoa_gui_run_later();1.26 + gui_run_later();1.27 }1.28 }1.29 - (void) run_immediate1.30 @@ -301,7 +301,7 @@1.31 return TRUE;1.32 }1.34 -gboolean gui_init( gboolean withDebug )1.35 +gboolean gui_init( gboolean withDebug, gboolean withFullscreen )1.36 {1.37 dreamcast_register_module( &cocoa_gui_module );1.39 @@ -435,7 +435,7 @@1.40 /**1.41 * Queue a dreamcast_run() to execute after the currently event(s)1.42 */1.43 -void cocoa_gui_run_later( void )1.44 +void gui_run_later( void )1.45 {1.46 [[NSRunLoop currentRunLoop] performSelector: @selector(run_immediate)1.47 target: [NSApp delegate] argument: nil order: 1
.