Index: trunk/VUT/work/TestCulling/TestCullingApplication.cpp
===================================================================
--- trunk/VUT/work/TestCulling/TestCullingApplication.cpp	(revision 130)
+++ trunk/VUT/work/TestCulling/TestCullingApplication.cpp	(revision 133)
@@ -81,5 +81,5 @@
 void TestCullingApplication::createFrameListener()
 {
-	mFrameListener= new TerrainMouseQueryListener(mWindow, mCamera, mSceneMgr, 
+	mFrameListener= new TerrainFrameListener(mWindow, mCamera, mSceneMgr, 
 		mGUIRenderer, mSceneContentGenerator);
 	mFrameListener->showDebugOverlay(true);
@@ -94,8 +94,8 @@
 
 /***********************************************/
-/* TerrainMouseQueryListener implementation           */
+/* TerrainFrameListener implementation           */
 /***********************************************/
 //-----------------------------------------------------------------------
-TerrainMouseQueryListener::TerrainMouseQueryListener(RenderWindow* win, Camera* cam, 
+TerrainFrameListener::TerrainFrameListener(RenderWindow* win, Camera* cam, 
 									   SceneManager *sceneManager, 
 									   CEGUI::Renderer *renderer,
@@ -161,9 +161,9 @@
 } 
 //-----------------------------------------------------------------------
-TerrainMouseQueryListener::~TerrainMouseQueryListener()
-{
-}
-//-----------------------------------------------------------------------
-void TerrainMouseQueryListener::mouseMoved(MouseEvent *e)
+TerrainFrameListener::~TerrainFrameListener()
+{
+}
+//-----------------------------------------------------------------------
+void TerrainFrameListener::mouseMoved(MouseEvent *e)
 {
 	// Update CEGUI with the mouse motion
@@ -172,5 +172,5 @@
 }
 //-----------------------------------------------------------------------
-void TerrainMouseQueryListener::mousePressed(MouseEvent* e)
+void TerrainFrameListener::mousePressed(MouseEvent* e)
 {
      // Left mouse button down
@@ -188,5 +188,5 @@
 
  //-----------------------------------------------------------------------
-void TerrainMouseQueryListener::mouseReleased(MouseEvent* e)
+void TerrainFrameListener::mouseReleased(MouseEvent* e)
 {
     // Left mouse button up
@@ -204,5 +204,5 @@
 } 
 //-----------------------------------------------------------------------
-void TerrainMouseQueryListener::mouseDragged (MouseEvent *e)
+void TerrainFrameListener::mouseDragged (MouseEvent *e)
  {
 	 // If we are dragging the left mouse button.	 	 
@@ -219,10 +219,10 @@
 }
 //-----------------------------------------------------------------------
-bool TerrainMouseQueryListener::frameStarted(const FrameEvent &evt)
+bool TerrainFrameListener::frameStarted(const FrameEvent &evt)
 {	 
 	return ExampleFrameListener::frameStarted(evt);
 }
 //-----------------------------------------------------------------------
-bool TerrainMouseQueryListener::frameEnded(const FrameEvent& evt)
+bool TerrainFrameListener::frameEnded(const FrameEvent& evt)
 {
 	if (mShutdownRequested)
@@ -245,5 +245,5 @@
 }
 //-----------------------------------------------------------------------
-void TerrainMouseQueryListener::changeThreshold(int incr)
+void TerrainFrameListener::changeThreshold(int incr)
 {
 	mVisibilityThreshold += incr; 
@@ -256,5 +256,5 @@
 }
 //-----------------------------------------------------------------------
-void TerrainMouseQueryListener::nextAlgorithm()
+void TerrainFrameListener::nextAlgorithm()
 {
 	mCurrentAlgorithm = ++mCurrentAlgorithm % 
@@ -264,5 +264,5 @@
 }
 //-----------------------------------------------------------------------
-void TerrainMouseQueryListener::toggleUseOptimization()
+void TerrainFrameListener::toggleUseOptimization()
 {
 	mUseOptimization = !mUseOptimization;
@@ -276,5 +276,5 @@
 }
 //-----------------------------------------------------------------------
-void TerrainMouseQueryListener::toggleShowOctree()
+void TerrainFrameListener::toggleShowOctree()
 {
 	mShowOctree = !mShowOctree;
@@ -283,5 +283,5 @@
 }
 //-----------------------------------------------------------------------
-void TerrainMouseQueryListener::toggleUseDepthPass()
+void TerrainFrameListener::toggleUseDepthPass()
 {
 	mUseDepthPass = !mUseDepthPass;
@@ -290,5 +290,5 @@
 }
 //-----------------------------------------------------------------------
-void TerrainMouseQueryListener::toggleShowViz()
+void TerrainFrameListener::toggleShowViz()
 {
 	mShowVisualization = !mShowVisualization;
@@ -298,5 +298,5 @@
 }
 //-----------------------------------------------------------------------
-void TerrainMouseQueryListener::setAlgorithm(int algorithm)
+void TerrainFrameListener::setAlgorithm(int algorithm)
 {
 	mAlgorithmInfo->setCaption(": " + mCurrentAlgorithmCaptions[mCurrentAlgorithm]);
@@ -304,5 +304,5 @@
 }
 //-----------------------------------------------------------------------
-void TerrainMouseQueryListener::updateStats()
+void TerrainFrameListener::updateStats()
 {
 	unsigned int opt = 0;
@@ -331,5 +331,5 @@
 }
 //-----------------------------------------------------------------------
-void TerrainMouseQueryListener::keyPressed(KeyEvent* e)
+void TerrainFrameListener::keyPressed(KeyEvent* e)
 {
 	if(e->getKey() == KC_ESCAPE)
@@ -345,5 +345,5 @@
 }
 //-----------------------------------------------------------------------
-void TerrainMouseQueryListener::keyReleased(KeyEvent* e)
+void TerrainFrameListener::keyReleased(KeyEvent* e)
 {
 	CEGUI::System::getSingleton().injectKeyUp(e->getKey());
@@ -351,5 +351,5 @@
 }
 //-----------------------------------------------------------------------
-void TerrainMouseQueryListener::keyClicked(KeyEvent* e) 
+void TerrainFrameListener::keyClicked(KeyEvent* e) 
 {
 	// Do nothing
