Search
lxdream.org :: lxdream/src/cocoaui/cocoaui.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/cocoaui/cocoaui.c
changeset 839:51f1c4195790
prev837:4eae2ddccf9c
next844:0e645cc6dc59
author nkeynes
date Tue Sep 02 03:34:00 2008 +0000 (13 years ago)
permissions -rw-r--r--
last change Implement absolute positioning mouse mode when not grabbed
enable/disable grab on dreamcast start/stop where it's requested
by the controllers
file annotate diff log raw
1.1 --- a/src/cocoaui/cocoaui.c Thu Aug 28 01:39:51 2008 +0000
1.2 +++ b/src/cocoaui/cocoaui.c Tue Sep 02 03:34:00 2008 +0000
1.3 @@ -64,6 +64,7 @@
1.4 LxdreamMainWindow *window = (LxdreamMainWindow *)user_data;
1.5 [window updateTitle];
1.6 [pool release];
1.7 + return TRUE;
1.8 }
1.9
1.10 /**
1.11 @@ -335,6 +336,11 @@
1.12 cocoa_gui_update();
1.13 }
1.14
1.15 +void gui_set_use_grab( gboolean grab )
1.16 +{
1.17 + [((LxdreamMainWindow *)[NSApp mainWindow]) setUseGrab: (grab ? YES : NO)];
1.18 +}
1.19 +
1.20 gboolean gui_error_dialog( const char *msg, ... )
1.21 {
1.22 if( cocoa_gui_is_running ) {
.