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