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 BASICTRANSITION_H 00013 #define BASICTRANSITION_H 00014 00015 #include <transition.h> 00016 #include "transitionmanager.h" 00017 00023 class BasicTransition : public Transition 00024 { 00025 public: 00026 BasicTransition(Renderable* r); 00027 BasicTransition(Transition* t); 00028 00029 ~BasicTransition(); 00030 00031 virtual void render(); 00032 virtual void slideEnter(TransitionManager* t); 00033 virtual void slideLeave(TransitionManager* t); 00034 00035 protected: 00036 int containsTransition; 00037 Renderable* obj; 00038 TransitionManager* manager; 00039 }; 00040 00041 #endif