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

FXGLGroup Class Reference

Group object.

#include <FXGLObject.h>

Inheritance diagram for FXGLGroup:

FXGLObject FXObject List of all members.

Public Methods

 FXGLGroup ()
 Constructor.

 FXGLGroup (const FXGLGroup &orig)
 Copy constructor.

FXGLObjectList & getList ()
 Return list of childern.

virtual void bounds (FXRange &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.

FXint no () const
 Return number of children.

FXGLObjectchild (FXint pos) const
 Child at position.

void insert (FXint pos, FXGLObject *obj)
 Insert child object at given position.

void prepend (FXGLObject *obj)
 Prepend child object.

void append (FXGLObject *obj)
 Append child object.

void replace (FXint pos, FXGLObject *obj)
 Replace child object.

void remove (FXGLObject *obj)
 Remove child object.

void remove (FXint 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.