]> git.lizzy.rs Git - irrlicht.git/blob - include/IGUIToolbar.h
Add back LightManager
[irrlicht.git] / include / IGUIToolbar.h
1 // Copyright (C) 2002-2012 Nikolaus Gebhardt\r
2 // This file is part of the "Irrlicht Engine".\r
3 // For conditions of distribution and use, see copyright notice in irrlicht.h\r
4 \r
5 #ifndef __I_GUI_TOOL_BAR_H_INCLUDED__\r
6 #define __I_GUI_TOOL_BAR_H_INCLUDED__\r
7 \r
8 #include "IGUIElement.h"\r
9 \r
10 namespace irr\r
11 {\r
12 namespace video\r
13 {\r
14         class ITexture;\r
15 } // end namespace video\r
16 namespace gui\r
17 {\r
18         class IGUIButton;\r
19 \r
20         //! Stays at the top of its parent like the menu bar and contains tool buttons\r
21         class IGUIToolBar : public IGUIElement\r
22         {\r
23         public:\r
24 \r
25                 //! constructor\r
26                 IGUIToolBar(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle)\r
27                         : IGUIElement(EGUIET_TOOL_BAR, environment, parent, id, rectangle) {}\r
28 \r
29                 //! Adds a button to the tool bar\r
30                 virtual IGUIButton* addButton(s32 id=-1, const wchar_t* text=0,const wchar_t* tooltiptext=0,\r
31                         video::ITexture* img=0, video::ITexture* pressedimg=0,\r
32                         bool isPushButton=false, bool useAlphaChannel=false) = 0;\r
33         };\r
34 \r
35 \r
36 } // end namespace gui\r
37 } // end namespace irr\r
38 \r
39 #endif\r
40 \r