#include <SceneC.h>
Inheritance diagram for Composition::SceneC:
The base of the demo in Demopaja is scene. The layers are store inside the scene. Scene also contains information about the size of the canvas where the demo is shown and the speed of the demo.
The changes made to the scene is saved to a undo object if present.
This class is implemented by the system.
|
Default constructor.
|
|
Constructor with reference to the original.
|
|
Default destructor.
|
|
Adds new layer to the scene.
|
|
Deep copy from a data block, see Edit::DataBlockI::copy().
Reimplemented from Edit::EditableI. |
|
Creates new scene (used internally), see Edit::EditableI::create().
Reimplemented from Edit::EditableI. |
|
Creates new, empty scene.
Reimplemented from Edit::EditableI. |
|
Creates new, empty scene.
|
|
Deletes a layer at specified index.
|
|
Returns number of beats per measure of the demo.
|
|
Returns number of beats per minute (BPM) of the demo.
|
|
Returns the duration of the demo. The return value is number of quater-notes multiplied by 256. |
|
Returns the edit accuracy of the demo.
|
|
Returns a layer at specified index.
|
|
Returns number of layers in the scene.
|
|
Returns the height of the layout in pixels.
|
|
Returns the width of the layout in pixels.
|
|
Returns the name of the scene.
|
|
Returns number of quater-notes per beat.
|
|
Serialize the key from a Demopaja input stream with merge to old scnene.
|
|
Serialize the key from a Demopaja input stream.
Reimplemented from Edit::EditableI. |
|
Moves the order of a layer.
|
|
Shallow copy from a editable, see Edit::EditableI::restore().
Reimplemented from Edit::EditableI. |
|
Serialize the key to a Demopaja output stream.
Reimplemented from Edit::EditableI. |
|
Sets number of beats per measure of the demo.
|
|
Sets number of beats per minute (BPM) of the demo.
|
|
Sets the duration of the demo.
|
|
Sets the edit accuracy of the demo.
|
|
Sets the height of the layout in pixels.
|
|
Sets the width of the layout in pixels.
|
|
Sets the name of the scene.
|
|
Sets number of quater-notes per beat.
|