Line | |
---|
1 | #ifndef __OSXConfigDialog_H__ |
---|
2 | #define __OSXConfigDialog_H__ |
---|
3 | |
---|
4 | #include <Ogre/OgrePrerequisites.h> |
---|
5 | #include <Ogre/OgreRoot.h> |
---|
6 | #include <Ogre/OgreRenderSystem.h> |
---|
7 | |
---|
8 | namespace Ogre |
---|
9 | { |
---|
10 | class ConfigDialog |
---|
11 | { |
---|
12 | public: |
---|
13 | ConfigDialog(); |
---|
14 | ~ConfigDialog(); |
---|
15 | |
---|
16 | public: |
---|
17 | void initialise(); |
---|
18 | void run(); |
---|
19 | void cancel(); |
---|
20 | |
---|
21 | bool display(); |
---|
22 | |
---|
23 | public: |
---|
24 | static pascal OSStatus windowEventHandler( EventHandlerCallRef aNextHandler, EventRef aEvent, void* aUserData ); |
---|
25 | |
---|
26 | protected: |
---|
27 | RenderSystem* iSelectedRenderSystem; |
---|
28 | HIViewRef iLogoViewRef; |
---|
29 | HIViewRef iVideoModeRef; |
---|
30 | HIViewRef iColorDepthRef; |
---|
31 | HIViewRef iFSAARef; |
---|
32 | HIViewRef iRTTPrefModeRef; |
---|
33 | HIViewRef iFullScreenRef; |
---|
34 | WindowRef iWindowRef; |
---|
35 | IBNibRef iNibRef; |
---|
36 | MenuRef iMenuRef; |
---|
37 | MenuID iMenuID; |
---|
38 | bool iDisplayStatus; |
---|
39 | }; |
---|
40 | } |
---|
41 | |
---|
42 | #endif // __OSX_CONFIG_DIALOG_H__ |
---|
Note: See
TracBrowser
for help on using the repository browser.