Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 7419 was 7221, checked in by bensch, 19 years ago

orxonox/trunk: merged the std-branche back, it runs on windows and Linux

svn merge https://svn.orxonox.net/orxonox/branches/std . -r7202:HEAD

File size: 621 bytes
Line 
1/*!
2 * @file text_element.h
3 *  Definition of an TextElement
4 */
5
6#ifndef _TEXT_ELEMENT_H
7#define _TEXT_ELEMENT_H
8
9#include "p_node.h"
10#include "text.h"
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
22class TextElement : public Text {
23
24 public:
25  TextElement(const TiXmlElement* root = NULL);
26  virtual ~TextElement();
27
28  void init();
29  virtual void loadParams(const TiXmlElement* root);
30
31  void setText(const std::string& text);
32  void setFont(const std::string& font);
33
34 private:
35
36};
37
38#endif /* _TEXT_ELEMENT_H */
Note: See TracBrowser for help on using the repository browser.