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

forward declaration More...

#include <library.h>

Inheritance diagram for KageLibrary:
Collaboration diagram for KageLibrary:

Public Types

enum  extension { EXTENSION_NOT }
 is Frame extended or not. If extended which part? start/mid/end? More...
 

Public Member Functions

 KageLibrary (Kage *p_kage)
 
virtual ~KageLibrary ()
 
bool isEmpty ()
 
void setSelected (bool p_selected)
 
bool isSelected ()
 
VectorDataManager getFrameData ()
 
void setFrameData (VectorDataManager p_vectorsData)
 
void setCode (bool p_newCode)
 
bool getCode ()
 
void setFocus ()
 
void setExtension (KageLibrary::extension p_extension)
 
KageLibrary::extension getExtension ()
 
void forceRender ()
 
virtual bool invalidateToRender ()
 
vector< unsigned int > raiseSelectedShape (vector< unsigned int > p_selectedShapes)
 
bool recenterRotationPoint (vector< unsigned int > p_selectedShapes)
 
void addDataToFrame (VectorDataManager v)
 
void render (unsigned int p_assetID)
 
void resetAssetID ()
 

Data Fields

Glib::RefPtr< Gdk::Window > window
 
int data
 

Static Public Attributes

static bool DEBUG_ON
 
static bool mouseIsDown = false
 
static Glib::RefPtr< Gdk::Pixbuf > imageNULL
 
static bool _gotFocus = false
 

Protected Member Functions

virtual bool on_expose_event (GdkEventExpose *e)
 
virtual bool on_key_press_event (GdkEventKey *e) override
 
virtual bool on_event (GdkEvent *e) override
 
bool on_draw (const Cairo::RefPtr< Cairo::Context > &cr) override
 

Protected Attributes

Kage_kage
 
Glib::ustring sCode
 
bool _null
 
unsigned int _tweenX
 
unsigned int _tweenY
 
bool _selected
 
bool _current
 
VectorDataManager vectorsData
 
unsigned int _renderAssetID
 

Detailed Description

forward declaration

Member Enumeration Documentation

◆ extension

is Frame extended or not. If extended which part? start/mid/end?

Enumerator
EXTENSION_NOT 

Constructor & Destructor Documentation

◆ KageLibrary()

KageLibrary::KageLibrary ( Kage p_kage)
Here is the call graph for this function:

◆ ~KageLibrary()

KageLibrary::~KageLibrary ( )
virtual

Member Function Documentation

◆ addDataToFrame()

void KageLibrary::addDataToFrame ( VectorDataManager  v)

◆ forceRender()

void KageLibrary::forceRender ( )
Here is the call graph for this function:

◆ getCode()

bool KageLibrary::getCode ( )

◆ getExtension()

KageLibrary::extension KageLibrary::getExtension ( )

◆ getFrameData()

VectorDataManager KageLibrary::getFrameData ( )

◆ invalidateToRender()

bool KageLibrary::invalidateToRender ( )
virtual
Here is the caller graph for this function:

◆ isEmpty()

bool KageLibrary::isEmpty ( )

◆ isSelected()

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

◆ on_draw()

bool KageLibrary::on_draw ( const Cairo::RefPtr< Cairo::Context > &  cr)
overrideprotected
Here is the call graph for this function:

◆ on_event()

bool KageLibrary::on_event ( GdkEvent *  e)
overrideprotectedvirtual
Here is the call graph for this function:

◆ on_expose_event()

bool KageLibrary::on_expose_event ( GdkEventExpose *  e)
protectedvirtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_key_press_event()

bool KageLibrary::on_key_press_event ( GdkEventKey *  e)
overrideprotectedvirtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ raiseSelectedShape()

vector< unsigned int > KageLibrary::raiseSelectedShape ( vector< unsigned int >  p_selectedShapes)

◆ recenterRotationPoint()

bool KageLibrary::recenterRotationPoint ( vector< unsigned int >  p_selectedShapes)

◆ render()

void KageLibrary::render ( unsigned int  p_assetID)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ resetAssetID()

void KageLibrary::resetAssetID ( )
Here is the caller graph for this function:

◆ setCode()

void KageLibrary::setCode ( bool  p_newCode)

◆ setExtension()

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

◆ setFocus()

void KageLibrary::setFocus ( )

◆ setFrameData()

void KageLibrary::setFrameData ( VectorDataManager  p_vectorsData)

◆ setSelected()

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

Field Documentation

◆ _current

bool KageLibrary::_current
protected

◆ _gotFocus

bool KageLibrary::_gotFocus = false
static

◆ _kage

Kage* KageLibrary::_kage
protected

◆ _null

bool KageLibrary::_null
protected

◆ _renderAssetID

unsigned int KageLibrary::_renderAssetID
protected

◆ _selected

bool KageLibrary::_selected
protected

◆ _tweenX

unsigned int KageLibrary::_tweenX
protected

◆ _tweenY

unsigned int KageLibrary::_tweenY
protected

◆ data

int KageLibrary::data

◆ DEBUG_ON

bool KageLibrary::DEBUG_ON
static

◆ imageNULL

Glib::RefPtr< Gdk::Pixbuf > KageLibrary::imageNULL
static

◆ mouseIsDown

bool KageLibrary::mouseIsDown = false
static

◆ sCode

Glib::ustring KageLibrary::sCode
protected

◆ vectorsData

VectorDataManager KageLibrary::vectorsData
protected

◆ window

Glib::RefPtr<Gdk::Window> KageLibrary::window

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