![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
GLCanvas, an area drawn by another object. More...
#include <FXGLCanvas.h>
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) | |
| Construct a GL canvas with its private context and private display lists. | |
| FXGLCanvas (FXComposite *p, FXGLVisual *vis, FXGLCanvas *share, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0) | |
| Construct a GL canvas with its private context but shared display lists. | |
| FXGLCanvas (FXComposite *p, FXGLContext *ctx, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0) | |
| Construct a GL canvas with a shared context. | |
| void | setContext (FXGLContext *ctx, FXbool owned=false) |
| Change context. | |
| FXGLContext * | getContext () const |
| Get context. | |
| virtual void | create () |
| Create all of the server-side resources for this window. | |
| virtual void | detach () |
| Detach the server-side resources for this window. | |
| virtual void | destroy () |
| Destroy the server-side resources for this window. | |
| virtual FXbool | makeCurrent () |
| Make OpenGL context current prior to performing OpenGL commands. | |
| virtual FXbool | makeNonCurrent () |
| Make OpenGL context non current. | |
| virtual FXbool | isCurrent () const |
| Return true if this window's context is current. | |
| virtual void | swapBuffers () |
| Swap front and back buffer. | |
| FXbool | isShared () const |
| Return true if it is sharing display lists. | |
| virtual void | save (FXStream &store) const |
| Save object to stream. | |
| virtual void | load (FXStream &store) |
| Load object from stream. | |
| virtual | ~FXGLCanvas () |
| Destructor. | |
Protected Attributes | |
| FXGLContext * | context |
GLCanvas, an area drawn by another object.
|
|