Loading...
Searching...
No Matches
IGUIInOutFader.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_IN_OUT_FADER_H_INCLUDED__
#define __I_GUI_IN_OUT_FADER_H_INCLUDED__
#include "IGUIElement.h"
#include "SColor.h"
namespace irr
{
namespace gui
{
class IGUIInOutFader : public IGUIElement
{
public:
IGUIInOutFader(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle)
: IGUIElement(EGUIET_IN_OUT_FADER, environment, parent, id, rectangle) {}
virtual video::SColor getColor() const = 0;
virtual void setColor(video::SColor color) = 0;
virtual void setColor(video::SColor source, video::SColor dest) = 0;
virtual void fadeIn(u32 time) = 0;
virtual void fadeOut(u32 time) = 0;
virtual bool isReady() const = 0;
};
} // end namespace gui
} // end namespace irr
#endif
IGUIElement.h
SColor.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::IGUIInOutFader::fadeIn
virtual void fadeIn(u32 time)=0
Starts the fade in process.
irr::gui::IGUIInOutFader::fadeOut
virtual void fadeOut(u32 time)=0
Starts the fade out process.
irr::gui::IGUIInOutFader::setColor
virtual void setColor(video::SColor source, video::SColor dest)=0
irr::gui::IGUIInOutFader::isReady
virtual bool isReady() const =0
Returns if the fade in or out process is done.
irr::gui::IGUIInOutFader::setColor
virtual void setColor(video::SColor color)=0
Sets the color to fade out to or to fade in from.
irr::gui::IGUIInOutFader::IGUIInOutFader
IGUIInOutFader(IGUIEnvironment *environment, IGUIElement *parent, s32 id, core::rect< s32 > rectangle)
constructor
Definition IGUIInOutFader.h:32
irr::gui::IGUIInOutFader::getColor
virtual video::SColor getColor() const =0
Gets the color to fade out to or to fade in from.
irr::video::SColor
Class representing a 32 bit ARGB color.
Definition SColor.h:202
irr::gui
The gui namespace contains useful classes for easy creation of a graphical user interface.
Definition EGUIAlignment.h:11
irr::gui::EGUIET_IN_OUT_FADER
@ EGUIET_IN_OUT_FADER
A in/out fader (IGUIInOutFader).
Definition EGUIElementTypes.h:44
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
irr::u32
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.h:58
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