Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXGLGroup Class Reference

Group object. More...

#include <FXGLObject.h>

Inheritance diagram for FX::FXGLGroup:
FX::FXGLObject FX::FXObject

Public Member Functions

 FXGLGroup ()
 Constructor.
 
 FXGLGroup (const FXGLGroup &orig)
 Copy constructor.
 
FXGLObjectListgetList ()
 Return list of childern.
 
virtual void bounds (FXRangef &box)
 Return bounding box.
 
virtual void draw (FXGLViewer *viewer)
 Draw into viewer.
 
virtual void hit (FXGLViewer *viewer)
 Hit in viewer.
 
virtual FXGLObjectcopy ()
 Copy this object.
 
virtual FXGLObjectidentify (FXuint *path)
 Identify object by means of path.
 
virtual FXbool canDrag () const
 Return true if group can be dragged.
 
virtual FXbool drag (FXGLViewer *viewer, FXint fx, FXint fy, FXint tx, FXint ty)
 Drag group object.
 
FXival no () const
 Return number of children.
 
FXGLObjectchild (FXival pos) const
 Child at position.
 
void insert (FXival pos, FXGLObject *obj)
 Insert child object at given position.
 
void insert (FXival pos, const FXGLObjectList &objs)
 Insert list of child objects at given position.
 
void prepend (FXGLObject *obj)
 Prepend child object.
 
void prepend (const FXGLObjectList &objs)
 Prepend list of child objects at given position.
 
void append (FXGLObject *obj)
 Append child object.
 
void append (const FXGLObjectList &objs)
 Append list of child objects at given position.
 
void replace (FXival pos, FXGLObject *obj)
 Replace child object.
 
void remove (FXGLObject *obj)
 Remove child object.
 
void erase (FXival pos)
 Remove child object at given position.
 
void clear ()
 Remove all children.
 
virtual void save (FXStream &store) const
 Stream save and load.
 
virtual void load (FXStream &store)
 Load object from stream.
 
virtual ~FXGLGroup ()
 Destructor.
 
- Public Member Functions inherited from FX::FXGLObject
 FXGLObject ()
 Constructors.
 
 FXGLObject (const FXGLObject &orig)
 Copy constructor.
 
virtual FXbool canDelete () const
 Return true if this object can be deleted from the scene.
 
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 ~FXObject ()
 Virtual destructor.
 

Protected Attributes

FXGLObjectList list
 

Additional Inherited Members

- Public Types inherited from FX::FXGLObject
enum  { ID_LAST =10000 }
 

Detailed Description

Group object.


The documentation for this class was generated from the following file:

Copyright © 1997-2022 Jeroen van der Zijp