Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

orxonox/trunk: Using TextEngine in the Menu

File size: 607 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 {
[6514]23
24 public:
[7019]25  TextElement(const TiXmlElement* root = NULL);
26  virtual ~TextElement();
[6514]27
28  void init();
[6852]29  virtual void loadParams(const TiXmlElement* root);
[6514]30
[7019]31  void setText(const char* text);
32  void setFont(const char* font);
[6514]33
[7019]34 private:
[6514]35
36};
37
[7019]38#endif /* _TEXT_ELEMENT_H */
Note: See TracBrowser for help on using the repository browser.