Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 22, 2008, 5:25:01 AM (16 years ago)
Author:
landauf
Message:

added several new classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/overlays/OverlayText.h

    r1625 r1993  
    3434#include <string>
    3535#include <OgrePrerequisites.h>
     36#include <OgreTextAreaOverlayElement.h>
    3637#include "OrxonoxOverlay.h"
    3738
     
    4950        virtual void sizeChanged();
    5051
    51         void setCaption(const std::string& caption) { this->caption_ = caption; }
     52        void setCaption(const std::string& caption);
    5253        const std::string& getCaption() const       { return this->caption_; }
    5354
    5455        void setFont(const std::string& font);
    5556        const std::string& getFont() const;
     57
     58        void setColour(const ColourValue& colour);
     59        const ColourValue& getColour() const;
     60
     61        void setAlignment(Ogre::TextAreaOverlayElement::Alignment alignment);
     62        void setAlignment(const std::string& alignment);
     63        std::string getAlignment() const;
    5664
    5765        void setTextSize(float size) { this->setSize(Vector2(size, size)); }
Note: See TracChangeset for help on using the changeset viewer.