00001 #ifndef OMK_INP_DEBUGOVERLAY_H 00002 #define OMK_INP_DEBUGOVERLAY_H 00003 00004 #include "OMKGenericKeyExtension.h" 00005 namespace OMK 00006 { 00007 namespace Vis { class OgreVis ; } 00008 00009 namespace Inp 00010 { 00011 00044 class OMKINPUTS_API DebugOverlayExtension: 00045 public OMK::Inp::GenericKeyExtension< OMK::Vis::OgreVis > 00046 { 00049 DECLARE_EXTENSION_FACTORY( DebugOverlayExtension ) ; 00050 protected: 00053 void action() ; 00055 virtual bool loadExtensionParameters( const ConfigurationParameterDescriptor * node ); 00057 virtual void preComputeParameters(); 00059 void updateStats(); 00060 // ---- Member ---------------------------------------------------------- 00061 Ogre::Overlay* _overlay; 00062 bool _show; 00063 bool _init; 00064 std::string _overlayName; 00065 00066 }; 00067 } // namespace Inp 00068 } // namespace OMK 00069 00070 #endif // OMK_INP_DEBUGDEBUGOVERLAY_H
Documentation generated on Mon Jun 9 11:45:56 2008 |
Generated with doxygen by Dimitri van Heesch , 1997-2007 |