Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Ogre::ConfigDialog Class Reference

Defines the behaviour of an automatic renderer configuration dialog. More...

#include <OgreConfigDialog.h>

Inheritance diagram for Ogre::ConfigDialog:

Ogre::SDLConfig Ogre::SDLConfig Ogre::Win32ConfigDialog List of all members.

Public Methods

virtual bool display (void)=0
 Displays the dialog. More...


Protected Attributes

RenderSystemmSelectedRenderSystem

Detailed Description

Defines the behaviour of an automatic renderer configuration dialog.

Remarks:
OGRE comes with it's own renderer configuration dialog, which applications can use to easily allow the user to configure the settings appropriate to their machine. This class defines the interface to this standard dialog. Because dialogs are inherently tied to a particular platform's windowing system, there will be a different subclass for each platform.
Author:
Steven J. Streeting


Member Function Documentation

virtual bool Ogre::ConfigDialog::display void    [pure virtual]
 

Displays the dialog.

Remarks:
This method displays the dialog and from then on the dialog interacts with the user independently. The dialog will be calling the relevant OGRE rendering systems to query them for options and to set the options the user selects. The method returns when the user closes the dialog.
Returns:
If the user accepted the dialog, true is returned.

If the user cancelled the dialog (indicating the application should probably terminate), false is returned.

See also:
RenderSystem

Implemented in Ogre::SDLConfig.


Member Data Documentation

RenderSystem* Ogre::ConfigDialog::mSelectedRenderSystem [protected]
 

Copyright © 2002 by The OGRE Team