Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/elements/text_element.h @ 10197

Last change on this file since 10197 was 9869, checked in by bensch, 18 years ago

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File size: 659 bytes
RevLine 
[6514]1/*!
[7019]2 * @file text_element.h
3 *  Definition of an TextElement
[6815]4 */
[6514]5
[7019]6#ifndef _TEXT_ELEMENT_H
7#define _TEXT_ELEMENT_H
[6514]8
9#include "p_node.h"
[7019]10#include "text.h"
[6514]11#include "event_listener.h"
12
13#include "vector.h"
14
15
16// FORWARD DECLARATION
17class Model;
18class Material;
19class TiXmlElement;
20
21//! A class that enables the
[7019]22class TextElement : public Text {
[9869]23  ObjectListDeclaration(TextElement);
[6514]24
25 public:
[7019]26  TextElement(const TiXmlElement* root = NULL);
27  virtual ~TextElement();
[6514]28
29  void init();
[6852]30  virtual void loadParams(const TiXmlElement* root);
[6514]31
[7221]32  void setText(const std::string& text);
33  void setFont(const std::string& font);
[6514]34
[7019]35 private:
[6514]36
37};
38
[7019]39#endif /* _TEXT_ELEMENT_H */
Note: See TracBrowser for help on using the repository browser.