Changeset 6417 for code/trunk/src/orxonox/overlays/OrxonoxOverlay.h
- Timestamp:
- Dec 25, 2009, 10:23:58 PM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/overlays/OrxonoxOverlay.h
r6057 r6417 155 155 static void rotateOverlay(const std::string& name, const Degree& angle); 156 156 157 void setBackgroundMaterial(const std::string& material); 158 const std::string& getBackgroundMaterial() const; 159 160 void setBackgroundAlpha(float alpha); 161 157 162 virtual void changedVisibility(); 158 163 … … 172 177 inline OverlayGroup* getOverlayGroup() const 173 178 { return this->group_; } 174 virtual void changedOverlayGroup() 179 virtual void changedOverlayGroup() 175 180 { this->changedVisibility(); } 176 181 … … 180 185 virtual void sizeChanged(); 181 186 virtual void positionChanged(); 182 183 void setBackgroundMaterial(const std::string& material);184 const std::string& getBackgroundMaterial() const;185 187 186 188 Ogre::Overlay* overlay_; //!< The overlay the entire class is about. … … 205 207 BaseObject* owner_; 206 208 OverlayGroup* group_; 209 Ogre::Pass* backgroundAlphaPass_; 207 210 }; 208 211
Note: See TracChangeset
for help on using the changeset viewer.