#include <scenewidget.h>
Public Member Functions | |
CSceneWidget (IScene *scene) | |
Constructs a CSceneWidget object. | |
virtual | ~CSceneWidget (void) |
Destruction. | |
void | init (void) |
Initializes the widget. | |
void | shutdown (void) |
Must be called before destruction if the widget was initialized. |
This widget is bound to an IScene object and can be used to modify its parameters.
CSceneWidget::CSceneWidget | ( | IScene * | scene | ) |
Constructs a CSceneWidget object.
After the widget has been constructed, it must be initialized with init().
scene | IScene object to bind to. |
void CSceneWidget::init | ( | void | ) |
Initializes the widget.
This must be called after the attached IScene object was successfully initialized, otherwise behavior is undefined.
void CSceneWidget::shutdown | ( | void | ) |
Must be called before destruction if the widget was initialized.
Frees resources and makes the widget ready for destruction.