Rev | Line | |
---|
[123] | 1 | #ifndef __MyListener__ |
---|
| 2 | #define __MyListener__ |
---|
| 3 | |
---|
| 4 | #include "OgreControl.h" |
---|
| 5 | #include "ExampleFrameListener.h" |
---|
| 6 | |
---|
| 7 | // Declare a subclass of the ExampleFrameListener class |
---|
| 8 | class MyListener : public ExampleFrameListener |
---|
| 9 | { |
---|
| 10 | public: |
---|
| 11 | MyListener(RenderWindow* win, Camera* cam); |
---|
| 12 | |
---|
| 13 | void setReceiver(OgreControl*); |
---|
| 14 | |
---|
| 15 | bool frameStarted(const FrameEvent& evt); |
---|
| 16 | |
---|
| 17 | bool frameEnded(const FrameEvent& evt); |
---|
| 18 | |
---|
| 19 | private: |
---|
| 20 | OgreControl *myApp; |
---|
| 21 | }; |
---|
| 22 | |
---|
| 23 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.