Go to the documentation of this file.00001 
00002 
00003 
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 } 
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 } 
00037 } 
00038 
00039 #endif
00040