Irrlicht 3D Engine
ITextSceneNode.h
Go to the documentation of this file.
00001 // Copyright (C) 2002-2012 Nikolaus Gebhardt
00002 // This file is part of the "Irrlicht Engine".
00003 // For conditions of distribution and use, see copyright notice in irrlicht.h
00004 
00005 #ifndef __I_TEXT_SCENE_NODE_H_INCLUDED__
00006 #define __I_TEXT_SCENE_NODE_H_INCLUDED__
00007 
00008 #include "ISceneNode.h"
00009 
00010 namespace irr
00011 {
00012 namespace scene
00013 {
00014 
00016 class ITextSceneNode : public ISceneNode
00017 {
00018 public:
00019 
00021     ITextSceneNode(ISceneNode* parent, ISceneManager* mgr, s32 id,
00022         const core::vector3df& position = core::vector3df(0,0,0))
00023             : ISceneNode(parent, mgr, id, position) {}
00024 
00026     virtual void setText(const wchar_t* text) = 0;
00027 
00029     virtual void setTextColor(video::SColor color) = 0;
00030 };
00031 
00032 } // end namespace scene
00033 } // end namespace irr
00034 
00035 
00036 #endif
00037