Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 13, 2009, 11:31:30 AM (14 years ago)
Author:
rgrieder
Message:

Moved an inline function to the source in OrxonoxOverlay.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/overlays/OrxonoxOverlay.h

    r6056 r6057  
    4343#include "core/BaseObject.h"
    4444#include "core/WindowEventListener.h"
    45 #include "OverlayGroup.h"
    4645
    4746namespace orxonox
     
    170169        virtual void changedOwner() {}
    171170
    172         inline void setOverlayGroup(OverlayGroup* group)
    173         {
    174             if (group != this->group_)
    175             {
    176                 if(this->group_)
    177                     this->group_->removeElement(this);
    178                 this->group_ = group;
    179                 this->changedOverlayGroup();
    180             }
    181         }
     171        void setOverlayGroup(OverlayGroup* group);
    182172        inline OverlayGroup* getOverlayGroup() const
    183173            { return this->group_; }
Note: See TracChangeset for help on using the changeset viewer.