67 virtual FXbool canDrag()
const;
70 virtual FXbool canDelete()
const;
73 virtual FXbool drag(
FXGLViewer* viewer,FXint fx,FXint fy,FXint tx,FXint ty);
81 typedef FXObjectListOf<FXGLObject> FXGLObjectList;
116 virtual FXbool canDrag()
const;
119 virtual FXbool drag(
FXGLViewer* viewer,FXint fx,FXint fy,FXint tx,FXint ty);
122 FXival
no()
const {
return list.
no(); }
158 virtual void save(
FXStream& store)
const;
FXGLObjectList & getList()
Return list of childern.
Definition: FXGLObject.h:98
FXbool replace(FXival pos, TYPE *object)
Replace object at position by given object.
Definition: FXObjectList.h:280
Basic OpenGL object.
Definition: FXGLObject.h:37
FXGLGroup()
Constructor.
Definition: FXGLObject.h:92
void insert(FXival pos, const FXGLObjectList &objs)
Insert list of child objects at given position.
Definition: FXGLObject.h:131
void prepend(FXGLObject *obj)
Prepend child object.
Definition: FXGLObject.h:134
OpenGL viewer widget.
Definition: FXGLViewer.h:93
FXbool remove(TYPE *object)
Remove object.
Definition: FXObjectList.h:292
FXbool insert(FXival pos, TYPE *object)
Insert object at certain position.
Definition: FXObjectList.h:244
void erase(FXival pos)
Remove child object at given position.
Definition: FXGLObject.h:152
FXbool prepend(TYPE *object)
Prepend object.
Definition: FXObjectList.h:256
FXGLGroup(const FXGLGroup &orig)
Copy constructor.
Definition: FXGLObject.h:95
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
void clear()
Remove all children.
Definition: FXGLObject.h:155
Group object.
Definition: FXGLObject.h:85
virtual ~FXGLObject()
Destructor.
Definition: FXGLObject.h:76
void insert(FXival pos, FXGLObject *obj)
Insert child object at given position.
Definition: FXGLObject.h:128
Definition: FX4Splitter.h:28
FXival no() const
Return number of objects.
Definition: FXObjectList.h:59
void replace(FXival pos, FXGLObject *obj)
Replace child object.
Definition: FXGLObject.h:146
FXbool erase(FXival pos)
Remove object at pos.
Bounds.
Definition: FXRangef.h:32
FXival no() const
Return number of children.
Definition: FXGLObject.h:122
void append(FXGLObject *obj)
Append child object.
Definition: FXGLObject.h:140
FXGLObject * child(FXival pos) const
Child at position.
Definition: FXGLObject.h:125
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:134
void prepend(const FXGLObjectList &objs)
Prepend list of child objects at given position.
Definition: FXGLObject.h:137
void append(const FXGLObjectList &objs)
Append list of child objects at given position.
Definition: FXGLObject.h:143
FXGLObject()
Constructors.
Definition: FXGLObject.h:46
FXbool append(TYPE *object)
Append object.
Definition: FXObjectList.h:268
FXbool clear()
Remove all objects.
FXGLObject(const FXGLObject &orig)
Copy constructor.
Definition: FXGLObject.h:49