filename | src/cocoaui/cocoaui.h |
changeset | 780:4e4ea322cb84 |
prev | 770:429ff505c450 |
next | 837:4eae2ddccf9c |
author | nkeynes |
date | Mon Jul 28 10:13:13 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Move grab management to window Clear grab if the window loses key focus (probably a good idea in general) |
file | annotate | diff | log | raw |
1.1 --- a/src/cocoaui/cocoaui.h Mon Jul 28 03:41:25 2008 +00001.2 +++ b/src/cocoaui/cocoaui.h Mon Jul 28 10:13:13 2008 +00001.3 @@ -15,7 +15,7 @@1.4 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the1.5 * GNU General Public License for more details.1.6 */1.7 -1.8 +1.9 #ifndef lxdream_cocoaui_H1.10 #define lxdream_cocoaui_H1.12 @@ -46,9 +46,19 @@1.13 */1.14 NSTextField *cocoa_gui_add_label(NSView *parent, NSString *title, NSRect frame);1.16 +@interface LxdreamVideoView : NSView1.17 +{1.18 + BOOL isGrabbed;1.19 + id delegate;1.20 +}1.21 +- (void) setDelegate: (id)other;1.22 +- (id)delegate;1.23 +- (void) setIsGrabbed: (BOOL)grabbed;1.24 +@end1.25 +1.26 @interface LxdreamMainWindow : NSWindow1.27 {1.28 - NSView *video;1.29 + LxdreamVideoView *video;1.30 NSTextField *status;1.31 BOOL isGrabbed;1.32 }
.