22#ifndef GTKMM_KAGE_LIBRARY_H
23 #define GTKMM_KAGE_LIBRARY_H
25 #include <gtkmm/drawingarea.h>
27 #include "../vectordatamanager.h"
74 void render(
unsigned int p_assetID);
81 virtual bool on_event(GdkEvent *e)
override;
83 bool on_draw(
const Cairo::RefPtr<Cairo::Context>& cr)
override;
forward declaration
Definition: library.h:31
void setFocus()
Definition: library.cpp:252
void addDataToFrame(VectorDataManager v)
Definition: library.cpp:260
void setSelected(bool p_selected)
Definition: library.cpp:218
unsigned int _tweenX
Definition: library.h:87
unsigned int _renderAssetID
Definition: library.h:94
virtual bool on_key_press_event(GdkEventKey *e) override
Definition: library.cpp:58
static bool DEBUG_ON
Definition: library.h:40
bool _null
Definition: library.h:86
void setCode(bool p_newCode)
bool isEmpty()
Definition: library.cpp:248
bool _selected
Definition: library.h:89
KageLibrary::extension getExtension()
Definition: library.cpp:230
unsigned int _tweenY
Definition: library.h:88
bool _current
Definition: library.h:90
virtual bool on_expose_event(GdkEventExpose *e)
Definition: library.cpp:64
void render(unsigned int p_assetID)
Definition: library.cpp:212
Kage * _kage
Definition: library.h:33
static Glib::RefPtr< Gdk::Pixbuf > imageNULL
Definition: library.h:43
extension
is Frame extended or not. If extended which part? start/mid/end?
Definition: library.h:36
@ EXTENSION_NOT
Definition: library.h:37
bool recenterRotationPoint(vector< unsigned int > p_selectedShapes)
int data
Definition: library.h:51
virtual bool on_event(GdkEvent *e) override
Definition: library.cpp:75
VectorDataManager getFrameData()
Definition: library.cpp:235
virtual ~KageLibrary()
Definition: library.cpp:54
void resetAssetID()
Definition: library.cpp:263
vector< unsigned int > raiseSelectedShape(vector< unsigned int > p_selectedShapes)
Definition: library.cpp:256
static bool _gotFocus
Definition: library.h:66
virtual bool invalidateToRender()
Definition: library.cpp:120
VectorDataManager vectorsData
Definition: library.h:92
Glib::RefPtr< Gdk::Window > window
Definition: library.h:45
static bool mouseIsDown
Definition: library.h:41
bool on_draw(const Cairo::RefPtr< Cairo::Context > &cr) override
Definition: library.cpp:138
void setFrameData(VectorDataManager p_vectorsData)
Definition: library.cpp:244
void forceRender()
Definition: library.cpp:113
bool isSelected()
Definition: library.cpp:222
Glib::ustring sCode
Definition: library.h:85
void setExtension(KageLibrary::extension p_extension)
Definition: library.cpp:226
Definition: vectordatamanager.h:37