59 void setWidth(
FXfloat w){ width=w; }
60 FXfloat getWidth()
const {
return width; }
63 void setHeight(
FXfloat h){ height=h; }
64 FXfloat getHeight()
const {
return height; }
67 void setDepth(
FXfloat d){ depth=d; }
68 FXfloat getDepth()
const {
return depth; }
71 virtual void save(FXStream& store)
const;
74 virtual void load(FXStream& store);
Definition: FXGLViewer.h:79
Basic OpenGL object.
Definition: FXGLObject.h:39
OpenGL viewer widget.
Definition: FXGLViewer.h:100
FXfloat width
Definition: FXGLCube.h:38
#define FXAPI
Definition: fxdefs.h:122
Definition: FX4Splitter.h:31
OpenGL Shape Object.
Definition: FXGLShape.h:64
OpenGL Cube Object.
Definition: FXGLCube.h:35
FXfloat depth
Definition: FXGLCube.h:40
float FXfloat
Definition: fxdefs.h:398
FXfloat height
Definition: FXGLCube.h:39
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92