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
 
Layer * currentLayer ()
 
Layer * currentLayer (int offset)
 
Layer * getLayer (int index)
 
int getLastCameraLayer ()
 
int currentLayerIndex ()
 
void setCurrentLayer (int nIndex)
 
void setCurrentLayer (Layer *layer)
 
int count ()
 
bool deleteCurrentLayer ()
 
void gotoNextLayer ()
 
void gotoPreviouslayer ()
 
LayerBitmap * createBitmapLayer (const QString &strLayerName)
 
LayerVector * createVectorLayer (const QString &strLayerName)
 
LayerCamera * createCameraLayer (const QString &strLayerName)
 
LayerSound * createSoundLayer (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 *)
 
Editor * editor ()
 
Object * object ()
 

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: