00001 #ifndef __OSXConfigDialog_H__ 00002 #define __OSXConfigDialog_H__ 00003 00004 #include "../OgrePrerequisites.h" 00005 #include "../OgreRoot.h" 00006 #include "../OgreRenderSystem.h" 00007 00008 namespace Ogre 00009 { 00010 class ConfigDialog : public UtilityAlloc 00011 { 00012 public: 00013 ConfigDialog(); 00014 ~ConfigDialog(); 00015 00016 public: 00017 void initialise(); 00018 void run(); 00019 void cancel(); 00020 00021 bool display(); 00022 00023 public: 00024 static pascal OSStatus windowEventHandler( EventHandlerCallRef aNextHandler, EventRef aEvent, void* aUserData ); 00025 00026 protected: 00027 RenderSystem* iSelectedRenderSystem; 00028 HIViewRef iLogoViewRef; 00029 HIViewRef iVideoModeRef; 00030 HIViewRef iColorDepthRef; 00031 HIViewRef iFSAARef; 00032 HIViewRef iRTTPrefModeRef; 00033 HIViewRef iFullScreenRef; 00034 WindowRef iWindowRef; 00035 IBNibRef iNibRef; 00036 MenuRef iMenuRef; 00037 MenuID iMenuID; 00038 bool iDisplayStatus; 00039 }; 00040 } 00041 00042 #endif // __OSX_CONFIG_DIALOG_H__
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Sep 27 22:02:22 2009