8 #include "GDCore/IDE/Dialogs/LayoutEditorCanvas/EditorSettings.h"
9 #include "GDCore/Project/InitialInstancesContainer.h"
10 #include "GDCore/Project/LayersContainer.h"
11 #include "GDCore/Project/ObjectsContainer.h"
12 #include "GDCore/String.h"
16 class SerializerElement;
87 return initialInstances;
94 return initialInstances;
185 assetStoreAssetId = assetStoreId_;
195 assetStoreOriginalName = assetStoreOriginalName_;
201 return assetStoreOriginalName;
209 return editorSettings;
Container for arbitrary serialized data to be used by the editor to store settings.
Definition: EditorSettings.h:19
Represents a variation of style of an events-based object.
Definition: EventsBasedObjectVariant.h:26
const gd::String & GetName() const
Get the name of the variant.
Definition: EventsBasedObjectVariant.h:42
EventsBasedObjectVariant & SetName(const gd::String &name_)
Set the name of the variant.
Definition: EventsBasedObjectVariant.h:47
gd::InitialInstancesContainer & GetInitialInstances()
Get the instances of the variant.
Definition: EventsBasedObjectVariant.h:86
gd::LayersContainer & GetLayers()
Get the layers of the variant.
Definition: EventsBasedObjectVariant.h:63
int GetAreaMaxX() const
Get the right bound of the variant.
Definition: EventsBasedObjectVariant.h:146
const gd::String & GetAssetStoreAssetId() const
Return the object asset store id of this variant.
Definition: EventsBasedObjectVariant.h:190
int GetAreaMinY() const
Get the top bound of the variant.
Definition: EventsBasedObjectVariant.h:118
const gd::EditorSettings & GetAssociatedEditorSettings() const
Get the user settings for the IDE.
Definition: EventsBasedObjectVariant.h:208
void SetAreaMaxX(int areaMaxX_)
Set the right bound of the variant.
Definition: EventsBasedObjectVariant.h:151
const gd::ObjectsContainer & GetObjects() const
Get the objects of the variant.
Definition: EventsBasedObjectVariant.h:77
EventsBasedObjectVariant * Clone() const
Return a pointer to a new EventsBasedObjectVariant constructed from this one.
Definition: EventsBasedObjectVariant.h:35
void SetAreaMinZ(int areaMinZ_)
Set the min Z bound of the variant.
Definition: EventsBasedObjectVariant.h:137
void SetAreaMinY(int areaMinY_)
Set the top bound of the variant.
Definition: EventsBasedObjectVariant.h:123
void SetAreaMaxY(int areaMaxY_)
Set the bottom bound of the variant.
Definition: EventsBasedObjectVariant.h:165
void SetAssetStoreAssetId(const gd::String &assetStoreId_)
Change the object asset store id of this variant.
Definition: EventsBasedObjectVariant.h:184
void SetAreaMaxZ(int areaMaxZ_)
Set the bottom bound of the variant.
Definition: EventsBasedObjectVariant.h:179
const gd::InitialInstancesContainer & GetInitialInstances() const
Get the instances of the variant.
Definition: EventsBasedObjectVariant.h:93
gd::ObjectsContainer & GetObjects()
Get the objects of the variant.
Definition: EventsBasedObjectVariant.h:72
const gd::String & GetAssetStoreOriginalName() const
Return the original name of the variant in the asset.
Definition: EventsBasedObjectVariant.h:200
void SetAreaMinX(int areaMinX_)
Set the left bound of the variant.
Definition: EventsBasedObjectVariant.h:109
gd::EditorSettings & GetAssociatedEditorSettings()
Get the user settings for the IDE.
Definition: EventsBasedObjectVariant.h:215
void SetAssetStoreOriginalName(const gd::String &assetStoreOriginalName_)
Change the original name of the variant in the asset.
Definition: EventsBasedObjectVariant.h:194
const gd::LayersContainer & GetLayers() const
Get the layers of the variant.
Definition: EventsBasedObjectVariant.h:58
int GetAreaMaxZ() const
Get the max Z bound of the variant.
Definition: EventsBasedObjectVariant.h:174
int GetAreaMaxY() const
Get the bottom bound of the variant.
Definition: EventsBasedObjectVariant.h:160
int GetAreaMinZ() const
Get the min Z bound of the variant.
Definition: EventsBasedObjectVariant.h:132
int GetAreaMinX() const
Get the left bound of the variant.
Definition: EventsBasedObjectVariant.h:104
Defines a container of gd::InitialInstances.
Definition: InitialInstancesContainer.h:38
Contains the layers for a scene or a custom object.
Definition: LayersContainer.h:21
Used as a base class for classes that will own objects (see gd::Object).
Definition: ObjectsContainer.h:37
Base class representing a project (game), including all resources, scenes, objects,...
Definition: Project.h:50
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