Irrlicht 3D Engine
IBillboardTextSceneNode.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_BILLBOARD_TEXT_SCENE_NODE_H_INCLUDED__
00006 #define __I_BILLBOARD_TEXT_SCENE_NODE_H_INCLUDED__
00007 
00008 #include "IBillboardSceneNode.h"
00009 
00010 namespace irr
00011 {
00012 namespace scene
00013 {
00014 
00016 
00021 class IBillboardTextSceneNode : public IBillboardSceneNode
00022 {
00023 public:
00024 
00026     IBillboardTextSceneNode(ISceneNode* parent, ISceneManager* mgr, s32 id,
00027         const core::vector3df& position = core::vector3df(0,0,0))
00028         : IBillboardSceneNode(parent, mgr, id, position) {}
00029 
00031     virtual void setSize(const core::dimension2d<f32>& size) = 0;
00032 
00034     virtual const core::dimension2d<f32>& getSize() const = 0;
00035 
00037 
00038     virtual void setColor(const video::SColor & overallColor) = 0;
00039 
00041 
00043     virtual void setColor(const video::SColor & topColor, const video::SColor & bottomColor) = 0;
00044 
00046 
00048     virtual void getColor(video::SColor & topColor, video::SColor & bottomColor) const = 0;
00049 
00051     virtual void setText(const wchar_t* text) = 0;
00052 
00054     virtual void setTextColor(video::SColor color) = 0;
00055 };
00056 
00057 } // end namespace scene
00058 } // end namespace irr
00059 
00060 
00061 #endif
00062