69 virtual FXbool canDrag()
const;
72 virtual FXbool canDelete()
const;
118 virtual FXbool canDrag()
const;
124 FXint no()
const {
return list.no(); }
133 void prepend(
FXGLObject* obj){ list.prepend(obj); }
136 void append(
FXGLObject* obj){ list.append(obj); }
142 void remove(
FXGLObject* obj){ list.remove(obj); }
145 void erase(
FXint pos){ list.erase(pos); }
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
unsigned int FXuint
Definition: fxdefs.h:396
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
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
FXGLObject()
Constructors.
Definition: FXGLObject.h:48
Specialize list to pointers to TYPE.
Definition: FXObjectList.h:145
FXGLObject(const FXGLObject &orig)
Copy constructor.
Definition: FXGLObject.h:51
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92