34 #ifndef _OverlayGroup_H__    35 #define _OverlayGroup_H__    62         static void toggleVisibility(
const std::string& name);
    64         static void scaleGroup(
const std::string& name, 
float scale);
    65         static void scrollGroup(
const std::string& name, 
const Vector2& scroll);
    67         inline const std::set<StrongPtr<OrxonoxOverlay>>& 
getOverlays()
 const    68             { 
return this->hudElements_; }
    70         virtual void changedVisibility() 
override;
    74             { 
return this->owner_; }
    77         void scale(
const Vector2& scale) { this->setScale(scale * this->scale_); }
    78         void setScale(
const Vector2& scale);
    80         Vector2 
getScale()
 const { 
return this->scale_; }
    83         void scroll(
const Vector2& scroll) { this->setScroll(scroll + this->scroll_); }
    84         void setScroll(
const Vector2& scroll);
 The BaseObject is the parent of all classes representing an instance in the game. ...
Definition: BaseObject.h:63
 
void scroll(const Vector2 &scroll)
Scrolls each OrxonoxOverlay individually by scroll. 
Definition: OverlayGroup.h:83
 
::std::string string
Definition: gtest-port.h:756
 
const std::set< StrongPtr< OrxonoxOverlay > > & getOverlays() const 
Definition: OverlayGroup.h:67
 
Vector2 getScale() const 
Returns the current size of the group. 
Definition: OverlayGroup.h:80
 
Vector2 scroll_
Current scrolling offset. 
Definition: OverlayGroup.h:95
 
xmlelement
Definition: Super.h:519
 
Declaration and implementation of several math-functions, typedefs of some Ogre::Math classes to the ...
 
Die Wagnis Klasse hat die folgenden Aufgaben: 
Definition: ApplicationPaths.cc:66
 
Mode
Definition: CorePrereqs.h:102
 
Shared library macros, enums, constants and forward declarations for the orxonox library  ...
 
Declaration of BaseObject, the base class of all objects in Orxonox. 
 
std::set< StrongPtr< OrxonoxOverlay > > hudElements_
Contains all the OrxonoxOverlays of the this group. 
Definition: OverlayGroup.h:93
 
Base class to display content directly onto the screen. 
Definition: OrxonoxOverlay.h:72
 
#define _OrxonoxExport
Definition: OrxonoxPrereqs.h:60
 
OverlayGroup does almost exactly what it says: It groups OrxonoxOverlays together. 
Definition: OverlayGroup.h:53
 
Vector2 scale_
Current scale (independent of the elements). 
Definition: OverlayGroup.h:94
 
BaseObject * owner_
The owner of this OverlayGroup. 
Definition: OverlayGroup.h:96
 
Vector2 getScroll() const 
Returns the current scrolling offset of the group. 
Definition: OverlayGroup.h:86
 
void scale(const Vector2 &scale)
Scales each OrxonoxOverlay individually by scale. 
Definition: OverlayGroup.h:77
 
BaseObject * getOwner() const 
Definition: OverlayGroup.h:73