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

forward declaration More...

#include <layer.h>

Inheritance diagram for KageLayerUI:
Collaboration diagram for KageLayerUI:

Public Member Functions

 KageLayerUI (KageLayerManager *p_layerManager, unsigned p_layerID)
 
virtual ~KageLayerUI ()
 
void setLabel (string p_label)
 
string getLabel ()
 
void setSelected (bool p_selected)
 
bool isSelected ()
 
void setFocus ()
 
bool isVisible ()
 
bool isLocked ()
 
void toggleVisibility ()
 
void toggleLock ()
 
void setVisible (bool p_visible)
 
void setLock (bool p_lock)
 
void forceRender ()
 
virtual bool invalidateToRender ()
 
void txtLabel_onEnter ()
 
void addEventsListener ()
 

Data Fields

Glib::RefPtr< Gdk::Window > window
 
unsigned int layerID
 
Gtk::Entry _txtLabel
 

Static Public Attributes

static bool mouseIsDown = false
 
static Glib::RefPtr< Gdk::Pixbuf > imageVISIBLE_TRUE
 
static Glib::RefPtr< Gdk::Pixbuf > imageVISIBLE_FALSE
 
static Glib::RefPtr< Gdk::Pixbuf > imageLOCKED_TRUE
 
static Glib::RefPtr< Gdk::Pixbuf > imageLOCKED_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

bool _selected
 
bool _visible
 
bool _lock
 
string _label
 
KageLayerManager_layerManager
 

Detailed Description

forward declaration

Constructor & Destructor Documentation

◆ KageLayerUI()

KageLayerUI::KageLayerUI ( KageLayerManager p_layerManager,
unsigned  p_layerID 
)
Here is the call graph for this function:

◆ ~KageLayerUI()

KageLayerUI::~KageLayerUI ( )
virtual

Member Function Documentation

◆ addEventsListener()

void KageLayerUI::addEventsListener ( )
Here is the caller graph for this function:

◆ forceRender()

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

◆ getLabel()

string KageLayerUI::getLabel ( )
Here is the caller graph for this function:

◆ invalidateToRender()

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

◆ isLocked()

bool KageLayerUI::isLocked ( )
Here is the caller graph for this function:

◆ isSelected()

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

◆ isVisible()

bool KageLayerUI::isVisible ( )
Here is the caller graph for this function:

◆ on_draw()

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

◆ on_event()

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

◆ on_expose_event()

bool KageLayerUI::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 KageLayerUI::on_key_press_event ( GdkEventKey *  e)
overrideprotectedvirtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setFocus()

void KageLayerUI::setFocus ( )

◆ setLabel()

void KageLayerUI::setLabel ( string  p_label)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setLock()

void KageLayerUI::setLock ( bool  p_lock)
Here is the call graph for this function:

◆ setSelected()

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

◆ setVisible()

void KageLayerUI::setVisible ( bool  p_visible)
Here is the call graph for this function:

◆ toggleLock()

void KageLayerUI::toggleLock ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ toggleVisibility()

void KageLayerUI::toggleVisibility ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ txtLabel_onEnter()

void KageLayerUI::txtLabel_onEnter ( )
Here is the caller graph for this function:

Field Documentation

◆ _label

string KageLayerUI::_label
protected

◆ _layerManager

KageLayerManager* KageLayerUI::_layerManager
protected

◆ _lock

bool KageLayerUI::_lock
protected

◆ _selected

bool KageLayerUI::_selected
protected

◆ _txtLabel

Gtk::Entry KageLayerUI::_txtLabel

◆ _visible

bool KageLayerUI::_visible
protected

◆ imageLOCKED_FALSE

Glib::RefPtr< Gdk::Pixbuf > KageLayerUI::imageLOCKED_FALSE
static

◆ imageLOCKED_TRUE

Glib::RefPtr< Gdk::Pixbuf > KageLayerUI::imageLOCKED_TRUE
static

◆ imageVISIBLE_FALSE

Glib::RefPtr< Gdk::Pixbuf > KageLayerUI::imageVISIBLE_FALSE
static

◆ imageVISIBLE_TRUE

Glib::RefPtr< Gdk::Pixbuf > KageLayerUI::imageVISIBLE_TRUE
static

◆ layerID

unsigned int KageLayerUI::layerID

◆ mouseIsDown

bool KageLayerUI::mouseIsDown = false
static

◆ window

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

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