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 TRANSITION_H 00013 #define TRANSITION_H 00014 00015 #include <renderable.h> 00016 #include "transitionmanager.h" 00017 00023 class Transition : public Renderable 00024 { 00025 public: 00026 virtual void render() = 0; 00027 virtual void slideEnter(TransitionManager* t) = 0; 00028 virtual void slideLeave(TransitionManager* t) = 0; 00029 }; 00030 00031 #endif