#include <layermanager.h>
◆ KageLayerManager()
KageLayerManager::KageLayerManager |
( |
Kage * |
p_kage | ) |
|
◆ ~KageLayerManager()
KageLayerManager::~KageLayerManager |
( |
| ) |
|
|
virtual |
◆ addLayer()
unsigned int KageLayerManager::addLayer |
( |
Glib::ustring |
p_name = "" | ) |
|
◆ deleteLayer()
void KageLayerManager::deleteLayer |
( |
| ) |
|
◆ getCurrentLayer()
unsigned int KageLayerManager::getCurrentLayer |
( |
| ) |
|
◆ getLabel()
string KageLayerManager::getLabel |
( |
| ) |
|
◆ getLayer()
Not to be confused of getCurrentLayer(). This function returns the pointer to active KageLayerUI Object to caller
- Returns
- pointer to registered active layer
◆ isLayerLocked()
bool KageLayerManager::isLayerLocked |
( |
| ) |
|
◆ isLayerVisible()
bool KageLayerManager::isLayerVisible |
( |
| ) |
|
◆ layerCount()
unsigned int KageLayerManager::layerCount |
( |
| ) |
|
For use of Kage when exporting/saving to file.
- Returns
- size of array of KageLayerUI
◆ moveDown()
bool KageLayerManager::moveDown |
( |
| ) |
|
◆ moveToBottom()
bool KageLayerManager::moveToBottom |
( |
| ) |
|
NOTE: layers are organized as index 0 as BOTTOM and last index is TOP
- See also
- moveDown() moveToTop() moveUp()
- Returns
- True if successfully moved to bottom
◆ moveToTop()
bool KageLayerManager::moveToTop |
( |
| ) |
|
◆ moveUp()
bool KageLayerManager::moveUp |
( |
| ) |
|
◆ removeAllLayers()
bool KageLayerManager::removeAllLayers |
( |
| ) |
|
◆ renameLayer() [1/2]
void KageLayerManager::renameLayer |
( |
| ) |
|
For use of Kage when User clicked Layer->Rename
- See also
- renameLayer(KageLayer)
◆ renameLayer() [2/2]
void KageLayerManager::renameLayer |
( |
KageLayerUI * |
p_layer | ) |
|
◆ renderStage()
void KageLayerManager::renderStage |
( |
| ) |
|
For use of KageLayer. When a KageLayer's visibility is clicked, this function will be called to reflect Layer's visibility on stage.
◆ setCurrentLayer()
void KageLayerManager::setCurrentLayer |
( |
unsigned int |
p_layer | ) |
|
◆ setCurrentLayerByID()
void KageLayerManager::setCurrentLayerByID |
( |
unsigned int |
p_layerID | ) |
|
For use of Kage. When a KageFrame is clicked, KageFramesetManager will call this function via Kage then sets currently active Layer
- Parameters
-
p_layerID | is layerID of Layer known to KageFrame |
- See also
- getCurrentLayer()
◆ setLabel()
void KageLayerManager::setLabel |
( |
string |
p_label | ) |
|
◆ setLock()
void KageLayerManager::setLock |
( |
bool |
p_lock | ) |
|
◆ setSelected()
void KageLayerManager::setSelected |
( |
KageLayerUI * |
p_layer | ) |
|
◆ setVisible()
void KageLayerManager::setVisible |
( |
bool |
p_visible | ) |
|
◆ toggleLock()
void KageLayerManager::toggleLock |
( |
| ) |
|
◆ toggleVisibility()
void KageLayerManager::toggleVisibility |
( |
| ) |
|
◆ _currentLayerID
unsigned int KageLayerManager::_currentLayerID |
|
protected |
◆ _currentLayerIndex
unsigned int KageLayerManager::_currentLayerIndex |
|
protected |
◆ _kage
Kage* KageLayerManager::_kage |
|
protected |
◆ labels
std::vector<Gtk::Button*> KageLayerManager::labels |
|
protected |
◆ layerCtr
unsigned int KageLayerManager::layerCtr |
|
protected |
◆ layers
The documentation for this class was generated from the following files: