topical media & game development

talk show tell print

lib-game-delta3d-sdk-examples-testNestedView-testNestedView.h / h



  ifndef DELTA_testMultiWin
  define DELTA_testMultiWin
  
  // TestNestedView.cpp : declares the interface of the application
  
  include <dtABC/application.h>
  
  class TestNestedView : public dtABC::Application
  {
     public:
        TestNestedView(const std::string& configFilename = "");
     protected:
        virtual ~TestNestedView();
  
     public:
        virtual void Config();
  
     
KeyboardListener override Called when a key is pressed.
parameter: keyboard the source of the event
parameter: key the key pressed
parameter: character the corresponding character

  
     bool KeyPressed(const dtCore::Keyboard* keyboard, int key);
  
     private:      
        dtCore::RefPtr<dtCore::Camera>   mCam2;
        dtCore::RefPtr<dtCore::Camera>   mCam3;
        
        dtCore::RefPtr<dtCore::View> mRedView;
        dtCore::RefPtr<dtCore::View> mGreenView;
        dtCore::RefPtr<dtCore::View> mBlueView;
  };
  
  endif // DELTA_testMultiWin
  


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.