1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/src/cocoaui/cocoaui.h Sun Jun 01 00:47:45 2008 +0000
1.7 + * Core Cocoa-based user interface
1.9 + * Copyright (c) 2008 Nathan Keynes.
1.11 + * This program is free software; you can redistribute it and/or modify
1.12 + * it under the terms of the GNU General Public License as published by
1.13 + * the Free Software Foundation; either version 2 of the License, or
1.14 + * (at your option) any later version.
1.16 + * This program is distributed in the hope that it will be useful,
1.17 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.18 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.19 + * GNU General Public License for more details.
1.22 +#import <AppKit/AppKit.h>
1.23 +#include <glib/gi18n.h>
1.25 +#ifndef lxdream_cocoaui_H
1.26 +#define lxdream_cocoaui_H
1.28 +#define NS_(x) [NSString stringWithUTF8String: _(x)]
1.30 +NSWindow *cocoa_gui_create_main_window();
1.31 +NSView *video_osx_create_drawable();
1.33 +@interface LxdreamMainWindow : NSWindow
1.36 + NSTextField *status;
1.39 +- (id)initWithContentRect:(NSRect)contentRect;
1.40 +- (void)setStatusText:(const gchar *)text;
1.41 +- (void)setRunning:(BOOL)isRunning;
1.43 +- (void)setIsGrabbed:(BOOL)grab;
1.47 +#endif /* lxdream_cocoaui_H */
1.48 \ No newline at end of file