Transforms are now sent over network
This commit is contained in:
parent
08513646bf
commit
ebe4d8e60a
8 changed files with 65 additions and 16 deletions
|
|
@ -33,6 +33,12 @@ uint32_t DrawingProgramLayerManager::edited_layer_component_count() {
|
|||
return editingLayer.lock()->get_layer().components->size();
|
||||
}
|
||||
|
||||
uint32_t DrawingProgramLayerManager::total_component_count() {
|
||||
if(layerTreeRoot)
|
||||
return layerTreeRoot->get_component_count();
|
||||
return 0;
|
||||
}
|
||||
|
||||
CanvasComponentContainer::ObjInfoIterator DrawingProgramLayerManager::get_edited_layer_end_iterator() {
|
||||
return editingLayer.lock()->get_layer().components->end();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ class DrawingProgramLayerManager {
|
|||
|
||||
bool layer_tree_root_exists();
|
||||
const DrawingProgramLayerListItem& get_layer_root();
|
||||
uint32_t total_component_count();
|
||||
|
||||
CanvasComponentContainer::ObjInfo* add_component_to_layer_being_edited(CanvasComponentContainer* newObj);
|
||||
std::vector<CanvasComponentContainer::ObjInfoIterator> add_many_components_to_layer_being_edited(const std::vector<std::pair<CanvasComponentContainer::ObjInfoIterator, CanvasComponentContainer*>>& newObjs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue