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

forward declaration More...

#include <timeline.h>

Inheritance diagram for KageTimeline:
Collaboration diagram for KageTimeline:

Public Member Functions

 KageTimeline (Kage *p_kage)
 
virtual ~KageTimeline ()
 
void setSelected (bool p_selected)
 
bool isSelected ()
 
VectorDataManager getFrameData ()
 
void setFrameData (VectorDataManager p_vectorsData)
 
void setFocus ()
 
void forceRender ()
 
virtual bool invalidateToRender ()
 
vector< unsigned int > raiseSelectedShape (vector< unsigned int > p_selectedShapes)
 
void addDataToFrame (VectorDataManager v)
 

Data Fields

Glib::RefPtr< Gdk::Window > window
 

Static Public Attributes

static bool mouseIsDown = false
 
static Glib::RefPtr< Gdk::Pixbuf > imageNULL
 
static Glib::RefPtr< Gdk::Pixbuf > imageNULL_CUR
 
static Glib::RefPtr< Gdk::Pixbuf > imageNULL_X
 
static Glib::RefPtr< Gdk::Pixbuf > imageNULL_X_CUR
 
static Glib::RefPtr< Gdk::Pixbuf > imageBLANK
 
static Glib::RefPtr< Gdk::Pixbuf > imageBLANK_CUR
 
static Glib::RefPtr< Gdk::Pixbuf > imageBLANK_CUR_SEL
 
static Glib::RefPtr< Gdk::Pixbuf > imageBLANK_CUR_TWN
 
static Glib::RefPtr< Gdk::Pixbuf > imageBLANK_CUR_SEL_TWN
 
static Glib::RefPtr< Gdk::Pixbuf > imageBLANK_SEL
 
static Glib::RefPtr< Gdk::Pixbuf > imageBLANK_SEL_TWN
 
static Glib::RefPtr< Gdk::Pixbuf > imageBLANK_TWN
 
static Glib::RefPtr< Gdk::Pixbuf > imageBLANK_X
 
static Glib::RefPtr< Gdk::Pixbuf > imageBLANK_X_CUR
 
static Glib::RefPtr< Gdk::Pixbuf > imageBLANK_X_CUR_SEL
 
static Glib::RefPtr< Gdk::Pixbuf > imageBLANK_X_CUR_TWN
 
static Glib::RefPtr< Gdk::Pixbuf > imageBLANK_X_CUR_SEL_TWN
 
static Glib::RefPtr< Gdk::Pixbuf > imageBLANK_X_SEL
 
static Glib::RefPtr< Gdk::Pixbuf > imageBLANK_X_SEL_TWN
 
static Glib::RefPtr< Gdk::Pixbuf > imageBLANK_X_TWN
 
static Glib::RefPtr< Gdk::Pixbuf > imageDRAWN
 
static Glib::RefPtr< Gdk::Pixbuf > imageDRAWN_CUR
 
static Glib::RefPtr< Gdk::Pixbuf > imageDRAWN_CUR_SEL
 
static Glib::RefPtr< Gdk::Pixbuf > imageDRAWN_CUR_TWN
 
static Glib::RefPtr< Gdk::Pixbuf > imageDRAWN_CUR_SEL_TWN
 
static Glib::RefPtr< Gdk::Pixbuf > imageDRAWN_SEL
 
static Glib::RefPtr< Gdk::Pixbuf > imageDRAWN_SEL_TWN
 
static Glib::RefPtr< Gdk::Pixbuf > imageDRAWN_TWN
 
static Glib::RefPtr< Gdk::Pixbuf > imageDRAWN_X
 
static Glib::RefPtr< Gdk::Pixbuf > imageDRAWN_X_CUR
 
static Glib::RefPtr< Gdk::Pixbuf > imageDRAWN_X_CUR_SEL
 
static Glib::RefPtr< Gdk::Pixbuf > imageDRAWN_X_CUR_TWN
 
static Glib::RefPtr< Gdk::Pixbuf > imageDRAWN_X_CUR_SEL_TWN
 
static Glib::RefPtr< Gdk::Pixbuf > imageDRAWN_X_SEL
 
static Glib::RefPtr< Gdk::Pixbuf > imageDRAWN_X_SEL_TWN
 
static Glib::RefPtr< Gdk::Pixbuf > imageDRAWN_X_TWN
 
static bool DEBUG_ON
 
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
 
bool _null
 
unsigned int _tweenX
 
unsigned int _tweenY
 
bool _selected
 
bool _current
 
VectorDataManager vectorsData
 
PointData draw1
 
PointData draw2
 

Detailed Description

forward declaration

Constructor & Destructor Documentation

◆ KageTimeline()

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

◆ ~KageTimeline()

KageTimeline::~KageTimeline ( )
virtual

Member Function Documentation

◆ addDataToFrame()

void KageTimeline::addDataToFrame ( VectorDataManager  v)

◆ forceRender()

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

◆ getFrameData()

VectorDataManager KageTimeline::getFrameData ( )

◆ invalidateToRender()

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

◆ isSelected()

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

◆ on_draw()

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

◆ on_event()

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

◆ on_expose_event()

bool KageTimeline::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 KageTimeline::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 > KageTimeline::raiseSelectedShape ( vector< unsigned int >  p_selectedShapes)

◆ setFocus()

void KageTimeline::setFocus ( )

◆ setFrameData()

void KageTimeline::setFrameData ( VectorDataManager  p_vectorsData)

◆ setSelected()

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

Field Documentation

◆ _current

bool KageTimeline::_current
protected

◆ _gotFocus

bool KageTimeline::_gotFocus = false
static

◆ _kage

Kage* KageTimeline::_kage
protected

◆ _null

bool KageTimeline::_null
protected

◆ _selected

bool KageTimeline::_selected
protected

◆ _tweenX

unsigned int KageTimeline::_tweenX
protected

◆ _tweenY

unsigned int KageTimeline::_tweenY
protected

◆ DEBUG_ON

bool KageTimeline::DEBUG_ON
static

◆ draw1

PointData KageTimeline::draw1
protected

◆ draw2

PointData KageTimeline::draw2
protected

◆ imageBLANK

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageBLANK
static

◆ imageBLANK_CUR

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageBLANK_CUR
static

◆ imageBLANK_CUR_SEL

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageBLANK_CUR_SEL
static

◆ imageBLANK_CUR_SEL_TWN

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageBLANK_CUR_SEL_TWN
static

◆ imageBLANK_CUR_TWN

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageBLANK_CUR_TWN
static

◆ imageBLANK_SEL

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageBLANK_SEL
static

◆ imageBLANK_SEL_TWN

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageBLANK_SEL_TWN
static

◆ imageBLANK_TWN

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageBLANK_TWN
static

◆ imageBLANK_X

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageBLANK_X
static

◆ imageBLANK_X_CUR

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageBLANK_X_CUR
static

◆ imageBLANK_X_CUR_SEL

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageBLANK_X_CUR_SEL
static

◆ imageBLANK_X_CUR_SEL_TWN

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageBLANK_X_CUR_SEL_TWN
static

◆ imageBLANK_X_CUR_TWN

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageBLANK_X_CUR_TWN
static

◆ imageBLANK_X_SEL

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageBLANK_X_SEL
static

◆ imageBLANK_X_SEL_TWN

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageBLANK_X_SEL_TWN
static

◆ imageBLANK_X_TWN

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageBLANK_X_TWN
static

◆ imageDRAWN

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageDRAWN
static

◆ imageDRAWN_CUR

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageDRAWN_CUR
static

◆ imageDRAWN_CUR_SEL

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageDRAWN_CUR_SEL
static

◆ imageDRAWN_CUR_SEL_TWN

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageDRAWN_CUR_SEL_TWN
static

◆ imageDRAWN_CUR_TWN

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageDRAWN_CUR_TWN
static

◆ imageDRAWN_SEL

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageDRAWN_SEL
static

◆ imageDRAWN_SEL_TWN

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageDRAWN_SEL_TWN
static

◆ imageDRAWN_TWN

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageDRAWN_TWN
static

◆ imageDRAWN_X

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageDRAWN_X
static

◆ imageDRAWN_X_CUR

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageDRAWN_X_CUR
static

◆ imageDRAWN_X_CUR_SEL

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageDRAWN_X_CUR_SEL
static

◆ imageDRAWN_X_CUR_SEL_TWN

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageDRAWN_X_CUR_SEL_TWN
static

◆ imageDRAWN_X_CUR_TWN

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageDRAWN_X_CUR_TWN
static

◆ imageDRAWN_X_SEL

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageDRAWN_X_SEL
static

◆ imageDRAWN_X_SEL_TWN

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageDRAWN_X_SEL_TWN
static

◆ imageDRAWN_X_TWN

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageDRAWN_X_TWN
static

◆ imageNULL

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

◆ imageNULL_CUR

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageNULL_CUR
static

◆ imageNULL_X

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageNULL_X
static

◆ imageNULL_X_CUR

Glib::RefPtr< Gdk::Pixbuf > KageTimeline::imageNULL_X_CUR
static

◆ mouseIsDown

bool KageTimeline::mouseIsDown = false
static

◆ vectorsData

VectorDataManager KageTimeline::vectorsData
protected

◆ window

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

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