69 virtual FXbool canDrag()
const;
72 virtual FXbool canDelete()
const;
100 FXGLObjectList& getList(){
return list; }
118 virtual FXbool canDrag()
const;
124 FXint no()
const {
return list.
no(); }
148 void clear(){ list.
clear(); }
151 virtual void save(
FXStream& store)
const;
170 FXGLPoint(const FXGLPoint& orig);
188 virtual
void save(
FXStream& store) const;
206 FXGLLine(const FXGLLine& orig);
218 virtual FXGLObject* copy();
224 virtual
void save(
FXStream& store) const;
Basic OpenGL object.
Definition: FXGLObject.h:39
FXObjectList & erase(FXint pos)
Remove object at pos.
FXObjectList & replace(FXint pos, FXObject *object)
Replace object at position by given object.
FXint no() const
Return number of objects.
Definition: FXObjectList.h:53
unsigned int FXuint
Definition: fxdefs.h:396
FXObjectList & remove(const FXObject *object)
Remove object.
FXObjectListOf< FXGLObject > FXGLObjectList
List of GL objects.
Definition: FXGLObject.h:83
OpenGL viewer widget.
Definition: FXGLViewer.h:100
#define FXAPI
Definition: fxdefs.h:122
FXuchar FXbool
Definition: fxdefs.h:393
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:99
OpenGL Line Object.
Definition: FXGLObject.h:194
Group object.
Definition: FXGLObject.h:87
virtual ~FXGLObject()
Destructor.
Definition: FXGLObject.h:78
Definition: FX4Splitter.h:31
int FXint
Definition: fxdefs.h:397
Single-precision 3-element vector.
Definition: FXVec3f.h:36
OpenGL Point Object.
Definition: FXGLObject.h:158
Bounds.
Definition: FXRangef.h:35
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:166
float FXfloat
Definition: fxdefs.h:398
FXObjectList & clear()
Remove all objects.
FXGLObject()
Constructors.
Definition: FXGLObject.h:48
Specialize list to pointers to TYPE.
Definition: FXObjectList.h:145
FXObjectList & prepend(FXObject *object)
Prepend object.
FXGLObject(const FXGLObject &orig)
Copy constructor.
Definition: FXGLObject.h:51
FXObjectList & insert(FXint pos, FXObject *object)
Insert object at certain position.
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92
FXObjectList & append(FXObject *object)
Append object.