Irrlicht 3D Engine
IGUIInOutFader.h
Go to the documentation of this file.
00001 // Copyright (C) 2002-2012 Nikolaus Gebhardt
00002 // This file is part of the "Irrlicht Engine".
00003 // For conditions of distribution and use, see copyright notice in irrlicht.h
00004 
00005 #ifndef __I_GUI_IN_OUT_FADER_H_INCLUDED__
00006 #define __I_GUI_IN_OUT_FADER_H_INCLUDED__
00007 
00008 #include "IGUIElement.h"
00009 #include "SColor.h"
00010 
00011 namespace irr
00012 {
00013 namespace gui
00014 {
00015 
00017 
00027     class IGUIInOutFader : public IGUIElement
00028     {
00029     public:
00030 
00032         IGUIInOutFader(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle)
00033             : IGUIElement(EGUIET_IN_OUT_FADER, environment, parent, id, rectangle) {}
00034 
00036         virtual video::SColor getColor() const = 0;
00037 
00039 
00040         virtual void setColor(video::SColor color) = 0;
00041         virtual void setColor(video::SColor source, video::SColor dest) = 0;
00042 
00044 
00049         virtual void fadeIn(u32 time) = 0;
00050 
00052 
00056         virtual void fadeOut(u32 time) = 0;
00057 
00059         virtual bool isReady() const = 0;
00060     };
00061 
00062 
00063 } // end namespace gui
00064 } // end namespace irr
00065 
00066 #endif
00067