Irrlicht 3D Engine
IGUIToolbar.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_GUI_TOOL_BAR_H_INCLUDED__
00006 #define __I_GUI_TOOL_BAR_H_INCLUDED__
00007 
00008 #include "IGUIElement.h"
00009 
00010 namespace irr
00011 {
00012 namespace video
00013 {
00014     class ITexture;
00015 } // end namespace video
00016 namespace gui
00017 {
00018     class IGUIButton;
00019 
00021     class IGUIToolBar : public IGUIElement
00022     {
00023     public:
00024 
00026         IGUIToolBar(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle)
00027             : IGUIElement(EGUIET_TOOL_BAR, environment, parent, id, rectangle) {}
00028 
00030         virtual IGUIButton* addButton(s32 id=-1, const wchar_t* text=0,const wchar_t* tooltiptext=0,
00031             video::ITexture* img=0, video::ITexture* pressedimg=0,
00032             bool isPushButton=false, bool useAlphaChannel=false) = 0;
00033     };
00034 
00035 
00036 } // end namespace gui
00037 } // end namespace irr
00038 
00039 #endif
00040