filename | src/cocoaui/cocoaui.h |
changeset | 681:1755a126b109 |
next | 691:ad3356543392 |
author | nkeynes |
date | Sat Jun 14 11:54:15 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Change colour params to float Convert background processing over to scene structure (fixes some depth issues as well) Add color unclamp when supported |
view | annotate | diff | log | raw |
1 /**
2 * $Id$
3 *
4 * Core Cocoa-based user interface
5 *
6 * Copyright (c) 2008 Nathan Keynes.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 */
19 #import <AppKit/AppKit.h>
20 #include <glib/gi18n.h>
22 #ifndef lxdream_cocoaui_H
23 #define lxdream_cocoaui_H
25 #define NS_(x) [NSString stringWithUTF8String: _(x)]
27 NSWindow *cocoa_gui_create_main_window();
28 NSView *video_osx_create_drawable();
30 @interface LxdreamMainWindow : NSWindow
31 {
32 NSView *video;
33 NSTextField *status;
34 BOOL isGrabbed;
35 }
36 - (id)initWithContentRect:(NSRect)contentRect;
37 - (void)setStatusText:(const gchar *)text;
38 - (void)setRunning:(BOOL)isRunning;
39 - (BOOL)isGrabbed;
40 - (void)setIsGrabbed:(BOOL)grab;
41 @end
44 #endif /* lxdream_cocoaui_H */
.