Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
Basic OpenGL object. More...
#include <FXGLObject.h>
Public Types | |
enum | { ID_LAST =10000 } |
Public Member Functions | |
FXGLObject () | |
Constructors. | |
FXGLObject (const FXGLObject &orig) | |
Copy constructor. | |
virtual void | bounds (FXRangef &box) |
Called by the viewer to get bounds for this object. | |
virtual void | draw (FXGLViewer *viewer) |
Draw this object in a viewer. | |
virtual void | hit (FXGLViewer *viewer) |
Draw this object for hit-testing purposes. | |
virtual FXGLObject * | copy () |
Copy this object. | |
virtual FXGLObject * | identify (FXuint *path) |
Identify sub-object given path. | |
virtual FXbool | canDrag () const |
Return true if this object can be dragged around. | |
virtual FXbool | canDelete () const |
Return true if this object can be deleted from the scene. | |
virtual FXbool | drag (FXGLViewer *viewer, FXint fx, FXint fy, FXint tx, FXint ty) |
Drag this object from one position to another. | |
virtual | ~FXGLObject () |
Destructor. | |
Public Member Functions inherited from FX::FXObject | |
const FXchar * | getClassName () const |
Get class name of some object. | |
FXbool | isMemberOf (const FXMetaClass *metaclass) const |
Check if object is member of metaclass. | |
virtual long | tryHandle (FXObject *sender, FXSelector sel, void *ptr) |
Try handle message safely, catching certain exceptions. | |
virtual long | onDefault (FXObject *, FXSelector, void *) |
Called for unhandled messages. | |
virtual void | save (FXStream &store) const |
Save object to stream. | |
virtual void | load (FXStream &store) |
Load object from stream. | |
virtual | ~FXObject () |
Virtual destructor. | |
Basic OpenGL object.
Copyright © 1997-2022 Jeroen van der Zijp |