21#ifndef GTKMM_KAGE_LAYER_H
22 #define GTKMM_KAGE_LAYER_H
32 #include <gdkmm/color.h>
65 std::vector<unsigned int>
raiseSelectedShape(std::vector<unsigned int> p_selectedShapes);
66 std::vector<unsigned int>
lowerSelectedShape(std::vector<unsigned int> p_selectedShapes);
71 std::vector<unsigned int>
duplicateShapes(std::vector<unsigned int> p_selectedShapes);
extension
Definition frame.h:36
bool canReUseNextFrame()
Called by KageFrame when rendering.
Definition layer.cpp:1202
unsigned int getCurrentFrame()
Definition layer.cpp:542
std::string _label
Definition layer.h:120
bool switchToPreviousFrame()
Definition layer.cpp:1142
bool addDataToPreviousFrame(VectorDataManager v, unsigned int p_frameID)
Called by KageFrame if KageFrame is Extended.
Definition layer.cpp:1045
bool selectAllFrame(bool p_selectAll)
Definition layer.cpp:471
bool moveToLeftAt(unsigned int p_frame)
Moves Current Frame to Left.
Definition layer.cpp:350
bool setExtendedFrameTween(unsigned int p_frameID, unsigned int p_tween)
Definition layer.cpp:1067
void duplicateFrame()
Definition layer.cpp:147
bool doFlipVerticalSelectedShapeOnExtendedFrame(unsigned int p_frameIndex, std::vector< unsigned int > p_selectedShapes)
Definition layer.cpp:746
bool removeFrame()
Definition layer.cpp:211
std::string getLabel()
Definition layer.cpp:1281
bool setFrameDataToPreviousFrame(VectorDataManager p_vectorsData, unsigned int p_frameID)
Called by KageFrame if KageFrame is Extended.
Definition layer.cpp:1034
void toggleLock()
Definition layer.cpp:1270
bool isVisible()
Definition layer.cpp:1253
VectorDataManager getFrameData()
Definition layer.cpp:994
bool isLocked()
Definition layer.cpp:1267
KageFrame * _framePtr
Definition layer.h:41
unsigned int getID()
Definition layer.cpp:467
VectorDataManager getFrameTweenData(unsigned int p_frameIndex)
Definition layer.cpp:810
KageScene * getScene()
Definition layer.cpp:478
bool addFrame()
Definition layer.cpp:90
bool isSelected()
Definition layer.cpp:1246
void setCurrentFrameByID(unsigned int p_frameID)
std::vector< unsigned int > lowerSelectedShape(std::vector< unsigned int > p_selectedShapes)
Definition layer.cpp:615
std::vector< unsigned int > raiseSelectedShape(std::vector< unsigned int > p_selectedShapes)
Definition layer.cpp:600
std::vector< unsigned int > lowerToBottomSelectedShape(std::vector< unsigned int > p_selectedShapes)
Definition layer.cpp:645
std::vector< unsigned int > duplicateShapes(std::vector< unsigned int > p_selectedShapes)
Definition layer.cpp:692
void setCurrentFrame(unsigned int p_frame, bool p_addSelected)
Definition layer.cpp:488
KageFrame * getFrame()
Definition layer.cpp:555
KageLayer operator=(const KageLayer &p_layer)
Definition layer.cpp:46
bool moveToLeft()
Definition layer.cpp:328
unsigned int getFrameNumberByID(unsigned int p_frameID)
Definition layer.cpp:576
KageFrame * getFrameAt(unsigned int p_frame)
Definition layer.cpp:568
std::vector< KageFrame * > Frames
Definition layer.h:40
virtual ~KageLayer()
Definition layer.cpp:79
unsigned int getTween()
Definition layer.cpp:1124
bool recenterRotationPoint(std::vector< unsigned int > p_selectedShapes)
Definition layer.cpp:758
unsigned int _currentFrameID
Definition layer.h:107
bool moveToLeftMost()
Moves Current Frame to Left on indicated Frame.
Definition layer.cpp:370
std::vector< unsigned int > groupSelectedShapes(std::vector< unsigned int > p_selectedShapes)
Definition layer.cpp:661
unsigned int layerID
Definition layer.h:39
bool doFlipVerticalSelectedShapeOn(unsigned int p_frameIndex, std::vector< unsigned int > p_selectedShapes)
Definition layer.cpp:738
void toggleVisibility()
Definition layer.cpp:1256
bool isCurrentFrame(unsigned int p_frameID)
Called by KageFrame for navigating to Next Frame.
Definition layer.cpp:1190
void setSelected(KageFrame *p_frame)
Definition layer.cpp:591
bool _visible
Definition layer.h:118
bool flipHorizontalSelectedShape(std::vector< unsigned int > p_selectedShapes)
Definition layer.cpp:708
bool switchToNextFrame()
Called by KageFrame for navigating to Previous Frame.
Definition layer.cpp:1166
bool _lock
Definition layer.h:119
bool setTween(unsigned int p_tween)
Definition layer.cpp:1106
unsigned int _activeFrame
Moves Current Frame to Left.
Definition layer.h:114
unsigned int _currentFrameIndex
Definition layer.h:108
VectorDataManager getPreviousFrameData(unsigned int p_frameID)
NOTE: "Frame" – NOT "frame ID".
Definition layer.cpp:1023
void extendFrame()
Definition layer.cpp:391
void setVisible(bool p_visible)
Definition layer.cpp:1250
bool flipVerticalSelectedShape(std::vector< unsigned int > p_selectedShapes)
Definition layer.cpp:723
bool addDataToFrame(VectorDataManager p_vectorsData)
Definition layer.cpp:774
bool setFrameData(VectorDataManager p_vectorsData)
Definition layer.cpp:792
std::vector< unsigned int > ungroupSelectedShapes(std::vector< unsigned int > p_selectedShapes)
Definition layer.cpp:676
KageScene * _scene
Definition layer.h:106
unsigned int frameCtr
Definition layer.h:104
KageLayer(KageScene *p_scene, unsigned int p_layerID, unsigned int p_frameCount)
Definition layer.cpp:26
void setFrameExtension(KageFrame::extension p_extension)
Called by KageScene when duplicating Frame.
Definition layer.cpp:1220
void setLock(bool p_lock)
Definition layer.cpp:1264
bool forceSetTween(unsigned int p_tween)
Definition layer.cpp:1087
unsigned int getActiveFrameID()
Will return which Frame is currently active for editing or viewing.
Definition layer.cpp:1239
bool _selected
Definition layer.h:117
bool removeAllFrames()
Definition layer.cpp:452
bool setPreviousFrameTween(unsigned int p_frameID, unsigned int p_tween)
Called by KageFrame if KageFrame is Extended.
Definition layer.cpp:1056
std::vector< unsigned int > raiseToTopSelectedShape(std::vector< unsigned int > p_selectedShapes)
Definition layer.cpp:630
void setLabel(std::string p_label)
Definition layer.cpp:1278
VectorDataManager getFrameDataAt(unsigned int p_frame, bool p_frameOnion, bool p_layerOnion)
Definition layer.cpp:1010
Definition vectordatamanager.h:35