00001 /*************************************************************************** 00002 * glPresent * 00003 * An OpenGL presentation manager * 00004 * Copyright (C) 2004 Joshua Wise <joshua@joshuawise.com>. * 00005 * * 00006 * This is my code. Don't use it without letting people have at least my * 00007 * source. Diffs against my source would be appreciated. Try not to remove * 00008 * my copyright notice from the startup message, or if you have to, I * 00009 * guess move it to the usage message. I won't sue you for copyright * 00010 * infringement if you stick to these guidelines. Thanks. * 00011 ***************************************************************************/ 00012 #ifndef SLIDEOUTTRANSITION_H 00013 #define SLIDEOUTTRANSITION_H 00014 00015 #include <basictransition.h> 00016 00022 class SlideOutTransition : public BasicTransition 00023 { 00024 public: 00025 SlideOutTransition(Transition* t); 00026 SlideOutTransition(Renderable* r); 00027 00028 ~SlideOutTransition(); 00029 00030 virtual void render(); 00031 virtual void slideLeave(TransitionManager* t); 00032 00033 protected: 00034 double starttime; 00035 }; 00036 00037 #endif