Search
lxdream.org :: lxdream/src/cocoaui/cocoaui.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/cocoaui/cocoaui.h
changeset 874:e3007b8799f3
prev839:51f1c4195790
next1028:f99eeaf084c2
author nkeynes
date Tue Oct 14 08:43:01 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Save the main window in a global rather than using [NSApp mainWindow]. This has
the advantage of working properly when the window isn't actually main at the time
file annotate diff log raw
1.1 --- a/src/cocoaui/cocoaui.h Tue Sep 02 03:34:00 2008 +0000
1.2 +++ b/src/cocoaui/cocoaui.h Tue Oct 14 08:43:01 2008 +0000
1.3 @@ -34,13 +34,6 @@
1.4 #define LABEL_HEIGHT 17
1.5 #define TEXT_GAP 10
1.6
1.7 -NSWindow *cocoa_gui_create_main_window();
1.8 -NSMenu *cocoa_gdrom_menu_new();
1.9 -NSView *video_osx_create_drawable();
1.10 -void cocoa_gui_show_preferences();
1.11 -NSView *cocoa_gui_create_prefs_controller_pane();
1.12 -NSView *cocoa_gui_create_prefs_path_pane();
1.13 -
1.14 /**
1.15 * Convenience method to create a new text label in the specified parent.
1.16 */
1.17 @@ -103,6 +96,15 @@
1.18 - (id)initWithContentRect:(NSRect)contentRect;
1.19 @end
1.20
1.21 +
1.22 +LxdreamMainWindow *cocoa_gui_create_main_window();
1.23 +NSMenu *cocoa_gdrom_menu_new();
1.24 +NSView *video_osx_create_drawable();
1.25 +void cocoa_gui_show_preferences();
1.26 +NSView *cocoa_gui_create_prefs_controller_pane();
1.27 +NSView *cocoa_gui_create_prefs_path_pane();
1.28 +
1.29 +
1.30 #ifdef __cplusplus
1.31 }
1.32 #endif
.