1.1 --- a/src/cocoaui/cocoaui.h Mon Jul 21 00:08:34 2008 +0000
1.2 +++ b/src/cocoaui/cocoaui.h Wed Jul 23 11:11:30 2008 +0000
1.5 #define NS_(x) [NSString stringWithUTF8String: _(x)]
1.7 +/* Standard sizing */
1.8 +#define TEXT_HEIGHT 22
1.9 +#define LABEL_HEIGHT 17
1.10 +#define TEXT_GAP 10
1.12 NSWindow *cocoa_gui_create_main_window();
1.13 NSMenu *cocoa_gdrom_menu_new();
1.14 NSView *video_osx_create_drawable();
1.15 +void cocoa_gui_show_preferences();
1.17 @interface LxdreamMainWindow : NSWindow
1.20 - (void)setIsGrabbed:(BOOL)grab;
1.23 +@interface LxdreamPrefsPane : NSView
1.27 +- (id)initWithFrame: (NSRect)frameRect title:(NSString *)title;
1.29 + * Create a text label and add it to the pane
1.31 +- (NSTextField *)addLabel: (NSString *)text withFrame: (NSRect)frame;
1.32 +- (int)contentHeight;
1.35 @interface LxdreamPrefsPanel : NSPanel
1.37 + NSArray *toolbar_ids;
1.38 + NSArray *toolbar_defaults;
1.39 + NSDictionary *toolbar_items;
1.40 + NSView *path_pane, *ctrl_pane;
1.42 - (id)initWithContentRect:(NSRect)contentRect;
1.45 +@interface LxdreamPrefsPathPane: LxdreamPrefsPane
1.48 ++ (LxdreamPrefsPathPane *)new;
1.51 +@interface LxdreamPrefsControllerPane: LxdreamPrefsPane
1.53 + struct maple_device *save_controller[4];
1.55 ++ (LxdreamPrefsControllerPane *)new;