Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXGLCanvas.h>
Inheritance diagram for FX::FXGLCanvas:
Public Member Functions | |
FXGLCanvas (FXComposite *p, FXGLVisual *vis, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0) | |
FXGLCanvas (FXComposite *p, FXGLVisual *vis, FXGLCanvas *sharegroup, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0) | |
FXbool | isShared () const |
virtual void | create () |
virtual void | detach () |
virtual void | destroy () |
virtual FXbool | makeCurrent () |
virtual FXbool | makeNonCurrent () |
virtual FXbool | isCurrent () const |
void * | getContext () const |
virtual void | swapBuffers () |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXGLCanvas () |
Static Public Member Functions | |
static void * | getCurrentContext () |
|
Construct an OpenGL-capable canvas, with its own private display list.
|
|
Construct an OpenGL-capable canvas, sharing display list with another GL canvas. This canvas becomes a member of a display list share group. All members of the display list share group have to have the same visual. |
|
Destructor.
|
|
Return TRUE if it is sharing display lists.
|
|
Create all of the server-side resources for this window.
Reimplemented from FX::FXWindow. Reimplemented in FX::FXGLViewer. |
|
Detach the server-side resources for this window.
Reimplemented from FX::FXWindow. Reimplemented in FX::FXGLViewer. |
|
Destroy the server-side resources for this window.
Reimplemented from FX::FXWindow. |
|
Make OpenGL context current prior to performing OpenGL commands.
|
|
Make OpenGL context non current.
|
|
Return TRUE if this window's context is current.
|
|
Return current context, if any.
|
|
Get GL context handle.
|
|
Swap front and back buffer.
|
|
Save object to stream.
Reimplemented from FX::FXWindow. Reimplemented in FX::FXGLViewer. |
|
Load object from stream.
Reimplemented from FX::FXWindow. Reimplemented in FX::FXGLViewer. |
Copyright © 1997-2005 Jeroen van der Zijp |