Kage Studio 0.7.230428
A Simple Free and Open Source 2D Animation Software
Loading...
Searching...
No Matches
KageFramesetManager Class Reference

#include <framesmanager.h>

Inheritance diagram for KageFramesetManager:
Collaboration diagram for KageFramesetManager:

Public Member Functions

 KageFramesetManager (Kage *p_win)
 
virtual ~KageFramesetManager ()
 
void addFrameset (unsigned int p_layer)
 
void deleteFrameset (unsigned int p_layer)
 
bool addFrame ()
 
bool extendFrame ()
 
bool duplicateFrame ()
 
bool removeFrame ()
 
void setCurrentFrame (unsigned int p_frame)
 
void setCurrentFrameByID (unsigned int p_frameID)
 
unsigned int getCurrentFrame ()
 
void setCurrentLayer (unsigned int p_currentLayer)
 
void setCurrentLayerByID (unsigned int p_layerID)
 
unsigned int getCurrentLayer ()
 
unsigned int layerCount ()
 
unsigned int frameCount ()
 
void selectAll (bool p_selectAll)
 
KageFramegetFrame ()
 
KageFramegetFrameAt (unsigned int p_frame)
 
void renderStage ()
 
bool removeAllFrames ()
 
bool moveToTop ()
 
bool moveUp ()
 
bool moveDown ()
 
bool moveToBottom ()
 
vector< unsigned int > raiseSelectedShape (vector< unsigned int > p_selectedShapes)
 
vector< unsigned int > lowerSelectedShape (vector< unsigned int > p_selectedShapes)
 
vector< unsigned int > raiseToTopSelectedShape (vector< unsigned int > p_selectedShapes)
 
vector< unsigned int > lowerToBottomSelectedShape (vector< unsigned int > p_selectedShapes)
 
vector< unsigned int > groupSelectedShapes (vector< unsigned int > p_selectedShapes)
 
vector< unsigned int > ungroupSelectedShapes (vector< unsigned int > p_selectedShapes)
 
vector< unsigned int > duplicateShapes (vector< unsigned int > p_selectedShapes)
 
bool flipHorizontalSelectedShape (vector< unsigned int > p_selectedShapes)
 
bool flipVerticalSelectedShape (vector< unsigned int > p_selectedShapes)
 
bool recenterRotationPoint (vector< unsigned int > p_selectedShapes)
 
bool addDataToFrame (VectorDataManager p_vectorsData)
 
bool setFrameData (VectorDataManager p_vectorsData)
 
VectorDataManager getFrameData ()
 
VectorDataManager getFrameDataAt (unsigned int p_frame)
 
bool forceSetTween (unsigned int p_tween)
 NOTE: "Frame" – NOT "frame ID".
 
bool setTween (unsigned int p_tween)
 
unsigned int getTween ()
 
void switchToPreviousFrame ()
 
void switchToPreviousFrame (unsigned int p_frameID)
 Called by Kage for navigating to Previous Frame.
 
void switchToNextFrame ()
 Called by KageFrame for navigating to Previous Frame.
 
void switchToNextFrame (unsigned int p_frameID)
 Called by Kage for navigating to Next Frame.
 
void setFrameExtension (KageFrame::extension p_extension)
 Called by KageFrame for navigating to Next Frame.
 

Static Public Attributes

static bool LOADING_MODE = false
 

Protected Attributes

Kagewin
 
std::vector< KageFrameset * > _framesets
 

Constructor & Destructor Documentation

◆ KageFramesetManager()

KageFramesetManager::KageFramesetManager ( Kage p_win)

◆ ~KageFramesetManager()

KageFramesetManager::~KageFramesetManager ( )
virtual

Member Function Documentation

◆ addDataToFrame()

bool KageFramesetManager::addDataToFrame ( VectorDataManager  p_vectorsData)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addFrame()

bool KageFramesetManager::addFrame ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addFrameset()

void KageFramesetManager::addFrameset ( unsigned int  p_layer)
Here is the caller graph for this function:

◆ deleteFrameset()

void KageFramesetManager::deleteFrameset ( unsigned int  p_layer)
Here is the caller graph for this function:

◆ duplicateFrame()

bool KageFramesetManager::duplicateFrame ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ duplicateShapes()

vector< unsigned int > KageFramesetManager::duplicateShapes ( vector< unsigned int >  p_selectedShapes)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ extendFrame()

bool KageFramesetManager::extendFrame ( )
Here is the caller graph for this function:

◆ flipHorizontalSelectedShape()

bool KageFramesetManager::flipHorizontalSelectedShape ( vector< unsigned int >  p_selectedShapes)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ flipVerticalSelectedShape()

bool KageFramesetManager::flipVerticalSelectedShape ( vector< unsigned int >  p_selectedShapes)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ forceSetTween()

bool KageFramesetManager::forceSetTween ( unsigned int  p_tween)

NOTE: "Frame" – NOT "frame ID".

Here is the call graph for this function:
Here is the caller graph for this function:

◆ frameCount()

unsigned int KageFramesetManager::frameCount ( )
Here is the caller graph for this function:

◆ getCurrentFrame()

unsigned int KageFramesetManager::getCurrentFrame ( )
Here is the caller graph for this function:

◆ getCurrentLayer()

unsigned int KageFramesetManager::getCurrentLayer ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFrame()

KageFrame * KageFramesetManager::getFrame ( )
Here is the call graph for this function:

◆ getFrameAt()

KageFrame * KageFramesetManager::getFrameAt ( unsigned int  p_frame)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFrameData()

VectorDataManager KageFramesetManager::getFrameData ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFrameDataAt()

VectorDataManager KageFramesetManager::getFrameDataAt ( unsigned int  p_frame)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTween()

unsigned int KageFramesetManager::getTween ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ groupSelectedShapes()

vector< unsigned int > KageFramesetManager::groupSelectedShapes ( vector< unsigned int >  p_selectedShapes)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ layerCount()

unsigned int KageFramesetManager::layerCount ( )
Here is the caller graph for this function:

◆ lowerSelectedShape()

vector< unsigned int > KageFramesetManager::lowerSelectedShape ( vector< unsigned int >  p_selectedShapes)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lowerToBottomSelectedShape()

vector< unsigned int > KageFramesetManager::lowerToBottomSelectedShape ( vector< unsigned int >  p_selectedShapes)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ moveDown()

bool KageFramesetManager::moveDown ( )

NOTE: KageFrameset are organized as index 0 as BOTTOM and last index is TOP

See also
moveToBottom() moveToTop() moveUp()
Returns
True if KageFrameset successfully moved down
Here is the call graph for this function:
Here is the caller graph for this function:

◆ moveToBottom()

bool KageFramesetManager::moveToBottom ( )

NOTE: KageFrameset are organized as index 0 as BOTTOM and last index is TOP

See also
moveDown() moveToTop() moveUp()
Returns
True if KageFrameset successfully moved to bottom
Here is the call graph for this function:
Here is the caller graph for this function:

◆ moveToTop()

bool KageFramesetManager::moveToTop ( )

NOTE: KageFrameset are organized as index 0 as BOTTOM and last index is TOP

See also
moveDown() moveToBottom() moveUp()
Returns
True if KageFrameset successfully moved to top
Here is the call graph for this function:
Here is the caller graph for this function:

◆ moveUp()

bool KageFramesetManager::moveUp ( )

NOTE: KageFrameset are organized as index 0 as BOTTOM and last index is TOP

See also
moveDown() moveToBottom() moveToTop()
Returns
True if KageFrameset successfully moved up
Here is the call graph for this function:
Here is the caller graph for this function:

◆ raiseSelectedShape()

vector< unsigned int > KageFramesetManager::raiseSelectedShape ( vector< unsigned int >  p_selectedShapes)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ raiseToTopSelectedShape()

vector< unsigned int > KageFramesetManager::raiseToTopSelectedShape ( vector< unsigned int >  p_selectedShapes)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ recenterRotationPoint()

bool KageFramesetManager::recenterRotationPoint ( vector< unsigned int >  p_selectedShapes)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ removeAllFrames()

bool KageFramesetManager::removeAllFrames ( )
Here is the caller graph for this function:

◆ removeFrame()

bool KageFramesetManager::removeFrame ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ renderStage()

void KageFramesetManager::renderStage ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ selectAll()

void KageFramesetManager::selectAll ( bool  p_selectAll)
Here is the caller graph for this function:

◆ setCurrentFrame()

void KageFramesetManager::setCurrentFrame ( unsigned int  p_frame)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCurrentFrameByID()

void KageFramesetManager::setCurrentFrameByID ( unsigned int  p_frameID)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCurrentLayer()

void KageFramesetManager::setCurrentLayer ( unsigned int  p_currentLayer)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCurrentLayerByID()

void KageFramesetManager::setCurrentLayerByID ( unsigned int  p_layerID)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setFrameData()

bool KageFramesetManager::setFrameData ( VectorDataManager  p_vectorsData)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setFrameExtension()

void KageFramesetManager::setFrameExtension ( KageFrame::extension  p_extension)

Called by KageFrame for navigating to Next Frame.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTween()

bool KageFramesetManager::setTween ( unsigned int  p_tween)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ switchToNextFrame() [1/2]

void KageFramesetManager::switchToNextFrame ( )

Called by KageFrame for navigating to Previous Frame.

Here is the caller graph for this function:

◆ switchToNextFrame() [2/2]

void KageFramesetManager::switchToNextFrame ( unsigned int  p_frameID)

Called by Kage for navigating to Next Frame.

Here is the call graph for this function:

◆ switchToPreviousFrame() [1/2]

void KageFramesetManager::switchToPreviousFrame ( )
Here is the caller graph for this function:

◆ switchToPreviousFrame() [2/2]

void KageFramesetManager::switchToPreviousFrame ( unsigned int  p_frameID)

Called by Kage for navigating to Previous Frame.

Here is the call graph for this function:

◆ ungroupSelectedShapes()

vector< unsigned int > KageFramesetManager::ungroupSelectedShapes ( vector< unsigned int >  p_selectedShapes)
Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ _framesets

std::vector<KageFrameset*> KageFramesetManager::_framesets
protected

◆ LOADING_MODE

bool KageFramesetManager::LOADING_MODE = false
static

◆ win

Kage* KageFramesetManager::win
protected

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