Something went wrong. Try again.
art software for the rest of us
drawing paint image sdl art
Something went wrong. Try again.
270 B · 18 lines
C++
at master
12345678910111213141516171819#include "LayerNode.h"
uint32_t LayerNode::idCounter = 0;
LayerNode::LayerNode(){ ID = ++idCounter; Name = "Layer " + std::to_string(ID);}
LayerNode::~LayerNode() { idCounter--;}
void LayerNode::SetIdCounter(uint32_t count){ idCounter = count;}