22#ifndef GTKMM_KAGE_LAYER_UI_H
23 #define GTKMM_KAGE_LAYER_UI_H
25 #include <gtkmm/drawingarea.h>
26 #include <gtkmm/entry.h>
28 #include "../../util/string/stringhelper.h"
70 virtual bool on_event(GdkEvent *e)
override;
72 bool on_draw(
const Cairo::RefPtr<Cairo::Context>& cr)
override;
Definition: layermanager.h:33
forward declaration
Definition: layer.h:32
void addEventsListener()
Definition: layer.cpp:64
bool _lock
Definition: layer.h:76
void toggleVisibility()
Definition: layer.cpp:261
bool isVisible()
Definition: layer.cpp:249
KageLayerManager * _layerManager
Definition: layer.h:79
virtual bool on_event(GdkEvent *e) override
Definition: layer.cpp:98
string _label
Definition: layer.h:77
bool on_draw(const Cairo::RefPtr< Cairo::Context > &cr) override
Definition: layer.cpp:175
void setSelected(bool p_selected)
Definition: layer.cpp:241
static Glib::RefPtr< Gdk::Pixbuf > imageLOCKED_FALSE
Definition: layer.h:38
bool _selected
Definition: layer.h:74
virtual ~KageLayerUI()
Definition: layer.cpp:60
static Glib::RefPtr< Gdk::Pixbuf > imageVISIBLE_FALSE
Definition: layer.h:36
void setVisible(bool p_visible)
Definition: layer.cpp:279
void toggleLock()
Definition: layer.cpp:270
static Glib::RefPtr< Gdk::Pixbuf > imageLOCKED_TRUE
Definition: layer.h:37
void txtLabel_onEnter()
Definition: layer.cpp:73
void setLabel(string p_label)
Definition: layer.cpp:234
string getLabel()
Definition: layer.cpp:238
void setLock(bool p_lock)
Definition: layer.cpp:284
virtual bool on_expose_event(GdkEventExpose *e)
Definition: layer.cpp:87
static Glib::RefPtr< Gdk::Pixbuf > imageVISIBLE_TRUE
Definition: layer.h:35
bool isSelected()
Definition: layer.cpp:245
void forceRender()
Definition: layer.cpp:144
Glib::RefPtr< Gdk::Window > window
Definition: layer.h:40
virtual bool invalidateToRender()
Definition: layer.cpp:152
bool _visible
Definition: layer.h:75
Gtk::Entry _txtLabel
Definition: layer.h:62
void setFocus()
Definition: layer.cpp:257
unsigned int layerID
Definition: layer.h:58
bool isLocked()
Definition: layer.cpp:253
static bool mouseIsDown
Definition: layer.h:34
virtual bool on_key_press_event(GdkEventKey *e) override
Definition: layer.cpp:78