Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 24, 2008, 10:40:22 PM (17 years ago)
Author:
rgrieder
Message:
  • privatised InputState c'tors
  • added destruction code for GUIManager
  • fixed some issues and bugs
  • found 2400 memory leaks ;)
  • haven't done anything about it
  • converted GUIManager to Ogre Singleton
  • added NULL checkers in Loader
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gui/src/core/input/InputState.h

    r1642 r1646  
    5151
    5252    public:
    53         InputState() : priority_(0), executorOnEnter_(0), executorOnLeave_(0)
    54         { RegisterObject(InputState); }
    55         virtual ~InputState() { }
    56 
    5753        const std::string& getName() const { return name_; }
    5854        int getPriority()            const { return priority_; }
     
    9389
    9490    protected:
     91        InputState() : priority_(0), executorOnEnter_(0), executorOnLeave_(0)
     92        { RegisterObject(InputState); }
     93        virtual ~InputState() { }
     94
    9595        virtual void numberOfJoySticksChanged(unsigned int n) = 0;
    9696        void setInputDeviceEnabled(unsigned int device, bool bEnabled)
Note: See TracChangeset for help on using the changeset viewer.