Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 14, 2009, 11:30:05 AM (15 years ago)
Author:
rgrieder
Message:

Moved WindowEventListener to the core to avoid some really ugly hacks in the Mouse.

Location:
code/branches/core4/src/core
Files:
1 added
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • code/branches/core4/src/core/CMakeLists.txt

    r3245 r3290  
    3131  ObjectListBase.cc
    3232  OrxonoxClass.cc
     33  WindowEventListener.cc
    3334
    3435  # command
  • code/branches/core4/src/core/WindowEventListener.h

    r3282 r3290  
    3030#define _WindowEventListener_H__
    3131
    32 #include "OrxonoxPrereqs.h"
    33 #include "core/OrxonoxClass.h"
     32#include "CorePrereqs.h"
     33#include "OrxonoxClass.h"
    3434
    3535namespace orxonox
    3636{
    37     /**
    38         @brief Interface for receiving window events.
    39     */
    40     class _OrxonoxExport WindowEventListener : virtual public OrxonoxClass
     37    //! Interface for receiving window events like resize, moved and focusChanged
     38    class _CoreExport WindowEventListener : virtual public OrxonoxClass
    4139    {
    4240        public:
     
    4442            virtual ~WindowEventListener() { }
    4543
    46             /** Window has moved position */
     44            //! Window has been moved
    4745            virtual void windowMoved() { }
    4846
    49             /** Window has resized */
     47            //! Window has resized
    5048            virtual void windowResized(unsigned int newWidth, unsigned int newHeight) { }
    5149
    52             /** Window has lost/gained focus */
     50            //! Window has lost/gained focus
    5351            virtual void windowFocusChanged() { }
    5452    };
Note: See TracChangeset for help on using the changeset viewer.