![]() |
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. | |
Basic OpenGL object.
|
|