11 #include "GDCore/Project/Layer.h"
12 #include "GDCore/String.h"
28 bool HasLayerNamed(
const gd::String& name)
const;
44 Layer& GetLayer(std::size_t index);
50 const Layer& GetLayer(std::size_t index)
const;
55 std::size_t GetLayerPosition(
const gd::String& name)
const;
60 std::size_t GetLayersCount()
const;
66 void InsertNewLayer(
const gd::String& name, std::size_t position);
74 void InsertLayer(
const Layer& theLayer, std::size_t position);
84 void SwapLayers(std::size_t firstLayerIndex, std::size_t secondLayerIndex);
89 void MoveLayer(std::size_t oldIndex, std::size_t newIndex);
106 std::vector<gd::Layer> layers;
Represents a layer of a layout.
Definition: Layer.h:91
Contains the layers for a scene or a custom object.
Definition: LayersContainer.h:21
A generic container that can represent a value ( containing a string, double, bool or int),...
Definition: SerializerElement.h:37
String represents an UTF8 encoded string.
Definition: String.h:33
Definition: CommonTools.h:24