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

#include <frame.h>

Collaboration diagram for KageFrame:

Public Types

enum  extension { EXTENSION_NOT , EXTENSION_START , EXTENSION_MID , EXTENSION_END }
 

Public Member Functions

 KageFrame (KageLayer *p_layer, unsigned p_layerID, unsigned int p_frameID)
 
virtual ~KageFrame ()
 
bool isEmpty ()
 
void setSelected (bool p_selected)
 
bool isSelected ()
 
void setCurrent (bool p_current)
 
bool isCurrent ()
 
VectorDataManager getFrameData ()
 
void setFrameData (VectorDataManager p_vectorsData)
 
void setCode (bool p_newCode)
 
bool getCode ()
 
void setNull (bool p_null)
 
bool isNull ()
 
void setExtension (KageFrame::extension p_extension)
 
KageFrame::extension getExtension ()
 
void forceSetTween (unsigned int p_tween)
 
void setTween (unsigned int p_tween)
 
unsigned int getTween ()
 
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)
 
void addDataToFrame (VectorDataManager v)
 

Data Fields

int data
 
unsigned int layerID
 
unsigned int frameID
 

Static Public Attributes

static bool DEBUG_ON
 
static bool mouseIsDown
 
static bool _gotFocus
 

Protected Attributes

bool _null
 
bool _selected
 
bool _current
 
unsigned int _tweenX
 
unsigned int _tweenY
 
KageFrame::extension _extension
 
KageLayer_layer
 
VectorDataManager vectorsData
 

Member Enumeration Documentation

◆ extension

Enumerator
EXTENSION_NOT 
EXTENSION_START 
EXTENSION_MID 
EXTENSION_END 

Constructor & Destructor Documentation

◆ KageFrame()

KageFrame::KageFrame ( KageLayer p_layer,
unsigned  p_layerID,
unsigned int  p_frameID 
)
Here is the call graph for this function:

◆ ~KageFrame()

KageFrame::~KageFrame ( )
virtual
Here is the call graph for this function:

Member Function Documentation

◆ addDataToFrame()

void KageFrame::addDataToFrame ( VectorDataManager  v)
Here is the call graph for this function:

◆ duplicateShapes()

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

◆ flipHorizontalSelectedShape()

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

◆ flipVerticalSelectedShape()

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

◆ forceSetTween()

void KageFrame::forceSetTween ( unsigned int  p_tween)
Here is the caller graph for this function:

◆ getCode()

bool KageFrame::getCode ( )

◆ getExtension()

KageFrame::extension KageFrame::getExtension ( )
Here is the caller graph for this function:

◆ getFrameData()

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

◆ getTween()

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

◆ groupSelectedShapes()

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

◆ isCurrent()

bool KageFrame::isCurrent ( )

◆ isEmpty()

bool KageFrame::isEmpty ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isNull()

bool KageFrame::isNull ( )
Here is the caller graph for this function:

◆ isSelected()

bool KageFrame::isSelected ( )
Here is the caller graph for this function:

◆ lowerSelectedShape()

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

◆ lowerToBottomSelectedShape()

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

◆ raiseSelectedShape()

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

◆ raiseToTopSelectedShape()

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

◆ recenterRotationPoint()

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

◆ setCode()

void KageFrame::setCode ( bool  p_newCode)

◆ setCurrent()

void KageFrame::setCurrent ( bool  p_current)
Here is the caller graph for this function:

◆ setExtension()

void KageFrame::setExtension ( KageFrame::extension  p_extension)
Here is the caller graph for this function:

◆ setFrameData()

void KageFrame::setFrameData ( VectorDataManager  p_vectorsData)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setNull()

void KageFrame::setNull ( bool  p_null)
Here is the caller graph for this function:

◆ setSelected()

void KageFrame::setSelected ( bool  p_selected)
Here is the caller graph for this function:

◆ setTween()

void KageFrame::setTween ( unsigned int  p_tween)
Here is the call graph for this function:

◆ ungroupSelectedShapes()

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

Field Documentation

◆ _current

bool KageFrame::_current
protected

◆ _extension

KageFrame::extension KageFrame::_extension
protected

◆ _gotFocus

bool KageFrame::_gotFocus
static

◆ _layer

KageLayer* KageFrame::_layer
protected

◆ _null

bool KageFrame::_null
protected

◆ _selected

bool KageFrame::_selected
protected

◆ _tweenX

unsigned int KageFrame::_tweenX
protected

◆ _tweenY

unsigned int KageFrame::_tweenY
protected

◆ data

int KageFrame::data

◆ DEBUG_ON

bool KageFrame::DEBUG_ON
static

◆ frameID

unsigned int KageFrame::frameID

◆ layerID

unsigned int KageFrame::layerID

◆ mouseIsDown

bool KageFrame::mouseIsDown
static

◆ vectorsData

VectorDataManager KageFrame::vectorsData
protected

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