21#ifndef GTKMM_KAGE_SCENE_H
22 #define GTKMM_KAGE_SCENE_H
29 #include "../vectordatamanager.h"
31 #include "../../util/string/stringhelper.h"
33 #include <gdkmm/color.h>
57 bool open(
string p_filepath);
102 vector<unsigned int>
duplicateShapes(vector<unsigned int> p_selectedShapes);
114 bool setTween(
unsigned int p_tween);
Definition: document.h:84
extension
Definition: frame.h:40
bool flipHorizontalSelectedShape(vector< unsigned int > p_selectedShapes)
Definition: scene.cpp:477
VectorDataManager getFrameDataAt(unsigned int p_frame)
Definition: scene.cpp:544
bool forceSetTween(unsigned int p_tween)
NOTE: "Frame" – NOT "frame ID".
Definition: scene.cpp:556
bool setFrameData(VectorDataManager p_vectorsData)
Definition: scene.cpp:523
void setFrameExtension(KageFrame::extension p_extension)
Called by KageFrame for navigating to Next Frame.
Definition: scene.cpp:692
KageScene * _parent
Definition: scene.h:125
bool open(string p_filepath)
Definition: scene.cpp:41
vector< unsigned int > groupSelectedShapes(vector< unsigned int > p_selectedShapes)
Definition: scene.cpp:442
void setCurrentLayerByID(unsigned int p_layerID)
Definition: scene.cpp:191
void setCurrentFrameByID(unsigned int p_frameID)
Definition: scene.cpp:235
vector< unsigned int > duplicateShapes(vector< unsigned int > p_selectedShapes)
Definition: scene.cpp:465
bool addFrame()
Definition: scene.cpp:100
bool duplicateFrame()
Definition: scene.cpp:117
bool removeFrame()
Definition: scene.cpp:134
vector< unsigned int > lowerSelectedShape(vector< unsigned int > p_selectedShapes)
Definition: scene.cpp:408
vector< unsigned int > raiseSelectedShape(vector< unsigned int > p_selectedShapes)
Definition: scene.cpp:397
bool moveToBottom()
Definition: scene.cpp:380
KageLayer * getLayer()
Definition: scene.cpp:302
unsigned int getActiveLayerID()
Definition: scene.cpp:702
bool moveDown()
Definition: scene.cpp:362
bool switchToNextFrame()
Called by KageFrame for navigating to Previous Frame.
Definition: scene.cpp:642
unsigned int frameCount()
Definition: scene.cpp:77
bool switchToPreviousFrame()
Definition: scene.cpp:595
KageFrame * getFrameAt(unsigned int p_frame)
Definition: scene.cpp:288
void setCurrentFrame(unsigned int p_frame)
Definition: scene.cpp:205
bool moveToTop()
Definition: scene.cpp:323
static bool LOADING_MODE
Definition: scene.h:52
KageDocument * _document
Definition: scene.h:124
vector< unsigned int > ungroupSelectedShapes(vector< unsigned int > p_selectedShapes)
Definition: scene.cpp:453
KageLayer * getLayerAt(unsigned int p_layer)
Definition: scene.cpp:310
unsigned int _activeLayer
Definition: scene.h:50
unsigned int layerCount()
Definition: scene.cpp:74
bool _saved
Definition: scene.h:49
void deleteFrameset(unsigned int p_layer)
Definition: scene.cpp:95
void selectAll(bool p_selectAll)
Definition: scene.cpp:264
vector< unsigned int > raiseToTopSelectedShape(vector< unsigned int > p_selectedShapes)
Definition: scene.cpp:419
bool _selected
Definition: scene.h:48
bool flipVerticalSelectedShape(vector< unsigned int > p_selectedShapes)
Definition: scene.cpp:488
virtual ~KageScene()
Definition: scene.cpp:69
bool removeAllFrames()
Definition: scene.cpp:159
vector< KageLayer * > Layers
Definition: scene.h:55
bool save()
Definition: scene.cpp:46
unsigned int ID
Definition: scene.h:47
void init(KageDocument *p_document)
Definition: scene.cpp:30
vector< unsigned int > lowerToBottomSelectedShape(vector< unsigned int > p_selectedShapes)
Definition: scene.cpp:430
bool recenterRotationPoint(vector< unsigned int > p_selectedShapes)
Definition: scene.cpp:500
unsigned int getTween()
Definition: scene.cpp:582
bool setTween(unsigned int p_tween)
Definition: scene.cpp:569
unsigned int getCurrentLayer()
Definition: scene.cpp:176
bool isSaved()
Definition: scene.cpp:55
void addLayer(unsigned int p_layer)
Definition: scene.cpp:85
bool extendFrame()
Definition: scene.cpp:148
bool addDataToFrame(VectorDataManager p_vectorsData)
Definition: scene.cpp:512
void renderStage()
Definition: scene.cpp:259
bool isSelected()
Definition: scene.cpp:52
void setCurrentLayer(unsigned int p_currentLayer)
Definition: scene.cpp:179
void setActiveLayerID(unsigned int p_layerID)
Definition: scene.cpp:172
unsigned int getCurrentFrame()
Definition: scene.cpp:195
KageFrame * getFrame()
Definition: scene.cpp:274
bool moveUp()
Definition: scene.cpp:344
VectorDataManager getFrameData()
Definition: scene.cpp:533
Definition: vectordatamanager.h:37