Go to the documentation of this file.
28 #ifndef __OverlayManager_H__
29 #define __OverlayManager_H__
94 void destroyOverlayElementImpl(
const String& instanceName,
ElementMap& elementMap);
98 void destroyAllOverlayElementsImpl(
ElementMap& elementMap);
109 Real getLoadingOrder(
void)
const;
118 void destroy(
const String& name);
120 void destroy(
Overlay* overlay);
122 void destroyAll(
void);
133 bool hasViewportChanged(
void)
const;
136 int getViewportHeight(
void)
const;
139 int getViewportWidth(
void)
const;
140 Real getViewportAspectRatio(
void)
const;
158 bool hasOverlayElement(
const String& name,
bool isTemplate =
false);
165 void destroyOverlayElement(
const String& instanceName,
bool isTemplate =
false);
172 void destroyOverlayElement(
OverlayElement* pInstance,
bool isTemplate =
false);
179 void destroyAllOverlayElements(
bool isTemplate =
false);
211 return (mTemplates.find (strName) != mTemplates.end()) ;
Abstract definition of a 2D element to be displayed in an Overlay.
Defines the interface which all components wishing to supply OverlayElement subclasses must implement...
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
Manages Overlay objects, parsing them from .overlay files and storing a lookup library of them.
A viewpoint from which the scene will be rendered.
map< String, OverlayElement * >::type ElementMap
vector< String >::type StringVector
LoadedScripts mLoadedScripts
TemplateIterator getTemplateIterator()
Returns an iterator over all templates in this manager.
StringVector mScriptPatterns
OrientationMode
Specifies orientation mode.
An abstraction of a viewport, i.e.
#define _OgreOverlayExport
map< String, OverlayElementFactory * >::type FactoryMap
Template class for creating single-instance global classes.
const FactoryMap & getOverlayElementFactoryMap() const
Get const access to the list of registered OverlayElement factories.
Abstract class defining the interface used by classes which wish to perform script loading to define ...
Concrete IteratorWrapper for nonconst access to the underlying key-value container.
set< String >::type LoadedScripts
bool isTemplate(String strName) const
float Real
Software floating point type.
bool mViewportDimensionsChanged
map< String, Overlay * >::type OverlayMap
MapIterator< ElementMap > TemplateIterator
Represents a layer which is rendered on top of the 'normal' scene contents.
OrientationMode mLastViewportOrientationMode
MapIterator< OverlayMap > OverlayMapIterator
Class to manage the scene object rendering queue.
A 2D element which contains other OverlayElement instances.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.