Pencil2D  ff90c0872e88be3bf81c548cd60f01983012ec49
Pencil2D is an animation software for both bitmap and vector graphics. It is free, multi-platform, and open source.
 All Classes Functions
Signals | Public Member Functions | Private Attributes | List of all members
LayerManager Class Reference
+ Inheritance diagram for LayerManager:

Signals

void currentLayerChanged (int n)
 
void layerCountChanged (int count)
 

Public Member Functions

 LayerManager (QObject *pParant)
 
bool init () override
 
Status load (Object *) override
 
Status save (Object *) override
 
LayercurrentLayer ()
 
LayercurrentLayer (int offset)
 
LayergetLayer (int index)
 
int getLastCameraLayer ()
 
int currentLayerIndex ()
 
void setCurrentLayer (int nIndex)
 
void setCurrentLayer (Layer *layer)
 
int count ()
 
bool deleteCurrentLayer ()
 
void gotoNextLayer ()
 
void gotoPreviouslayer ()
 
LayerBitmapcreateBitmapLayer (const QString &strLayerName)
 
LayerVectorcreateVectorLayer (const QString &strLayerName)
 
LayerCameracreateCameraLayer (const QString &strLayerName)
 
LayerSoundcreateSoundLayer (const QString &strLayerName)
 
int LastFrameAtFrame (int frameIndex)
 
int firstKeyFrameIndex ()
 
int lastKeyFrameIndex ()
 
int projectLength ()
 
void layerUpdated (int layerId)
 
- Public Member Functions inherited from BaseManager
 BaseManager (QObject *parent=0)
 
void setEditor (Editor *)
 
Editoreditor ()
 
Objectobject ()
 

Private Attributes

int mCurrentLayerIndex = 0
 
int lastCameraLayer = 0
 

Detailed Description

Definition at line 30 of file layermanager.h.


The documentation for this class was generated from the following files: