arsa
2.7
include
irrlicht
IGUIToolbar.h
Go to the documentation of this file.
1
// Copyright (C) 2002-2012 Nikolaus Gebhardt
2
// This file is part of the "Irrlicht Engine".
3
// For conditions of distribution and use, see copyright notice in irrlicht.h
4
5
#ifndef __I_GUI_TOOL_BAR_H_INCLUDED__
6
#define __I_GUI_TOOL_BAR_H_INCLUDED__
7
8
#include "
IGUIElement.h
"
9
10
namespace
irr
11
{
12
namespace
video
13
{
14
class
ITexture;
15
}
// end namespace video
16
namespace
gui
17
{
18
class
IGUIButton;
19
21
class
IGUIToolBar
:
public
IGUIElement
22
{
23
public
:
24
26
IGUIToolBar
(
IGUIEnvironment
* environment,
IGUIElement
* parent,
s32
id
,
core::rect<s32>
rectangle)
27
:
IGUIElement
(
EGUIET_TOOL_BAR
, environment, parent,
id
, rectangle) {}
28
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,
32
bool
isPushButton=
false
,
bool
useAlphaChannel=
false
) = 0;
33
};
34
35
36
}
// end namespace gui
37
}
// end namespace irr
38
39
#endif
40
irr::gui::EGUIET_TOOL_BAR
A tool bar (IGUIToolBar)
Definition:
EGUIElementTypes.h:80
id
GLuint id
Definition:
SDL_opengl_glext.h:531
irr::core::rect< s32 >
irr::gui::IGUIToolBar::IGUIToolBar
IGUIToolBar(IGUIEnvironment *environment, IGUIElement *parent, s32 id, core::rect< s32 > rectangle)
constructor
Definition:
IGUIToolbar.h:26
irr::gui::IGUIButton
GUI Button interface.
Definition:
IGUIButton.h:109
IGUIElement.h
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition:
CARSADPad.h:6
irr::gui::IGUIEnvironment
GUI Environment. Used as factory and manager of all other GUI elements.
Definition:
IGUIEnvironment.h:72
img
GLint GLvoid * img
Definition:
SDL_opengl.h:1980
irr::s32
signed int s32
32 bit signed variable.
Definition:
irrTypes.h:70
irr::gui::IGUIElement
Base class of all GUI elements.
Definition:
IGUIElement.h:23
irr::gui::IGUIToolBar
Stays at the top of its parent like the menu bar and contains tool buttons.
Definition:
IGUIToolbar.h:21
irr::video::ITexture
Interface of a Video Driver dependent Texture.
Definition:
ITexture.h:177
irr::gui::IGUIToolBar::addButton
virtual IGUIButton * addButton(s32 id=-1, const wchar_t *text=0, const wchar_t *tooltiptext=0, video::ITexture *img=0, video::ITexture *pressedimg=0, bool isPushButton=false, bool useAlphaChannel=false)=0
Adds a button to the tool bar.
Generated on Thu Nov 9 2023 23:47:36 for arsa by
1.8.15