FrameBufferGLUT.h

Go to the documentation of this file.
00001 /* $Id: FrameBufferGLUT.h,v 1.2 2002/07/02 09:01:03 cvs Exp $ */
00002 
00003 #ifndef __FRAME_BUFFER_GLUT_H
00004 #define __FRAME_BUFFER_GLUT_H
00005 
00006 #include <gra/framebuffer/FrameBufferGL.h>
00007 #include <esg/Definitions.h>
00008 
00009 using namespace esg;
00010 
00011 namespace gra {
00012 
00013 class GRA_EXPORT FrameBufferGLUT : public FrameBufferGL {
00014 protected:
00015     int _id;  // ID of window
00016     
00017 public:
00018     FrameBufferGLUT (unsigned /* mode */,
00019                      char*    /* window label */,
00020                      int      /* width */,
00021                      int      /* height*/);
00022 
00023     FrameBufferGLUT (unsigned /* mode */,
00024                      int      /* parent window ID */,
00025                      int      /* x location relative to parent window */,
00026                      int      /* y location relative to parent window */,
00027                      int      /* width */,
00028                      int      /* height*/);
00029 
00034     virtual void showContent();
00035 
00036 #if 0
00037     virtual void     showContent ();
00038     virtual unsigned getWidth    () const;
00039     virtual unsigned getHeight   () const;
00040     virtual void     setWidth    (unsigned);
00041     virtual void     setHeight   (unsigned);
00042 #endif
00043     //virtual int setActive ();
00044 
00045     int getID (void) const { return _id; }
00046 };
00047 
00048 } // namespace
00049 
00050 #endif // __FRAME_BUFFER_GLUT_H

Generated on Tue Nov 21 15:11:42 2006 for gra by  doxygen 1.4.6