Added layer menu and layer list

This commit is contained in:
Yousef Khadadeh 2025-12-25 17:18:28 +03:00
parent a29c5dc926
commit c9aba47db1
19 changed files with 435 additions and 3 deletions

View file

@ -0,0 +1,17 @@
#pragma once
#include "DrawingProgramLayerListItem.hpp"
#include "DrawingProgramLayerManagerGUI.hpp"
class DrawingProgramLayerManager {
private:
DrawingProgram& drawP;
friend class DrawingProgramLayerManagerGUI;
NetworkingObjects::NetObjOwnerPtr<DrawingProgramLayerListItem> layerTreeRoot;
public:
DrawingProgramLayerManager(DrawingProgram& drawProg);
void init();
void write_components_server(cereal::PortableBinaryOutputArchive& a);
void read_components_client(cereal::PortableBinaryInputArchive& a);
DrawingProgramLayerManagerGUI listGUI;
};