29 #ifndef __OSXConfigDialog_H__
30 #define __OSXConfigDialog_H__
32 #include "../OgrePrerequisites.h"
33 #include "../OgreRoot.h"
34 #include "../OgreRenderSystem.h"
35 #include "../OgreConfigOptionMap.h"
38 #import <Cocoa/Cocoa.h>
39 #import <AppKit/AppKit.h>
41 #if defined(MAC_OS_X_VERSION_10_6) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
42 @interface OgreConfigWindowDelegate : NSObject <NSWindowDelegate, NSTableViewDelegate, NSTableViewDataSource>
44 @interface OgreConfigWindowDelegate : NSObject
47 NSWindow *mConfigWindow;
48 NSImageView *mOgreLogo;
49 NSPopUpButton *mRenderSystemsPopUp;
50 NSPopUpButton *mOptionsPopUp;
51 NSTableView *mOptionsTable;
53 NSButton *mCancelButton;
54 NSTextField *mOptionLabel;
56 NSDictionary *mOptions;
59 - (void)cancelButtonPressed:(
id)sender;
60 - (void)okButtonPressed:(
id)sender;
61 - (void)popUpValueChanged:(
id)sender;
64 - (void)setOptions:(NSDictionary *)dict;
65 - (NSDictionary *)getOptions;
66 - (void)setRenderSystemsPopUp:(NSPopUpButton *)button;
67 - (NSPopUpButton *)getRenderSystemsPopUp;
68 - (void)setOgreLogo:(NSImageView *)image;
69 - (NSImageView *)getOgreLogo;
70 - (void)setConfigWindow:(NSWindow *)window;
71 - (NSWindow *)getConfigWindow;
72 - (void)setOptionsTable:(NSTableView *)table;
73 - (NSTableView *)getOptionsTable;
74 - (void)setOptionsPopUp:(NSPopUpButton *)button;
75 - (NSPopUpButton *)getOptionsPopUp;
93 OgreConfigWindowDelegate *mWindowDelegate;
95 RenderSystem *mSelectedRenderSystem;
99 #endif // __OSX_CONFIG_DIALOG_H__
GeneralAllocatedObject UtilityAlloc