Loading...
Searching...
No Matches
IGUIScrollBar.h
Go to the documentation of this file.
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __I_GUI_SCROLL_BAR_H_INCLUDED__
#define __I_GUI_SCROLL_BAR_H_INCLUDED__
#include "IGUIElement.h"
namespace irr
{
namespace gui
{
class IGUIScrollBar : public IGUIElement
{
public:
IGUIScrollBar(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle)
: IGUIElement(EGUIET_SCROLL_BAR, environment, parent, id, rectangle) {}
virtual void setMax(s32 max) = 0;
virtual s32 getMax() const = 0;
virtual void setMin(s32 min) = 0;
virtual s32 getMin() const = 0;
virtual s32 getSmallStep() const = 0;
virtual void setSmallStep(s32 step) = 0;
virtual s32 getLargeStep() const = 0;
virtual void setLargeStep(s32 step) = 0;
virtual s32 getPos() const = 0;
virtual void setPos(s32 pos) = 0;
};
} // end namespace gui
} // end namespace irr
#endif
IGUIElement.h
irr::core::rect
Rectangle template.
Definition rect.h:27
irr::gui::IGUIElement::IGUIElement
IGUIElement(EGUI_ELEMENT_TYPE type, IGUIEnvironment *environment, IGUIElement *parent, s32 id, const core::rect< s32 > &rectangle)
Constructor.
Definition IGUIElement.h:30
irr::gui::IGUIEnvironment
GUI Environment. Used as factory and manager of all other GUI elements.
Definition IGUIEnvironment.h:71
irr::gui::IGUIScrollBar::setMax
virtual void setMax(s32 max)=0
sets the maximum value of the scrollbar.
irr::gui::IGUIScrollBar::setLargeStep
virtual void setLargeStep(s32 step)=0
Sets the large step.
irr::gui::IGUIScrollBar::IGUIScrollBar
IGUIScrollBar(IGUIEnvironment *environment, IGUIElement *parent, s32 id, core::rect< s32 > rectangle)
constructor
Definition IGUIScrollBar.h:24
irr::gui::IGUIScrollBar::setPos
virtual void setPos(s32 pos)=0
sets the current position of the scrollbar
irr::gui::IGUIScrollBar::getLargeStep
virtual s32 getLargeStep() const =0
gets the large step value
irr::gui::IGUIScrollBar::getSmallStep
virtual s32 getSmallStep() const =0
gets the small step value
irr::gui::IGUIScrollBar::setMin
virtual void setMin(s32 min)=0
sets the minimum value of the scrollbar.
irr::gui::IGUIScrollBar::setSmallStep
virtual void setSmallStep(s32 step)=0
Sets the small step.
irr::gui::IGUIScrollBar::getMin
virtual s32 getMin() const =0
gets the minimum value of the scrollbar.
irr::gui::IGUIScrollBar::getPos
virtual s32 getPos() const =0
gets the current position of the scrollbar
irr::gui::IGUIScrollBar::getMax
virtual s32 getMax() const =0
gets the maximum value of the scrollbar.
irr::gui
The gui namespace contains useful classes for easy creation of a graphical user interface.
Definition EGUIAlignment.h:11
irr::gui::EGUIET_SCROLL_BAR
@ EGUIET_SCROLL_BAR
A scroll bar (IGUIScrollBar).
Definition EGUIElementTypes.h:62
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
irr::s32
signed int s32
32 bit signed variable.
Definition irrTypes.h:66
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0