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 SLIDEINTRANSITION_H 00013 #define SLIDEINTRANSITION_H 00014 00015 #include <basictransition.h> 00016 00022 class SlideInTransition : public BasicTransition 00023 { 00024 public: 00025 SlideInTransition(Transition* t); 00026 00027 SlideInTransition(Renderable* r); 00028 00029 ~SlideInTransition(); 00030 00031 virtual void render(); 00032 virtual void slideEnter(TransitionManager* t); 00033 00034 protected: 00035 double starttime; 00036 }; 00037 00038 #endif