Finish new layout dialog redesign

This commit is contained in:
GriffinR
2024-11-21 15:04:42 -05:00
parent e7df829843
commit d0101d807e
16 changed files with 529 additions and 561 deletions

View File

@@ -21,6 +21,7 @@ class Layout : public QObject {
public:
Layout() {}
static QString layoutNameFromMapName(const QString &mapName);
static QString layoutConstantFromName(QString mapName);
bool loaded = false;
@@ -83,10 +84,10 @@ public:
QString primaryTilesetLabel;
QString secondaryTilesetLabel;
};
Settings settings() const;
public:
Layout *copy();
void copyFrom(Layout *other);
Layout *copy() const;
void copyFrom(const Layout *other);
int getWidth() const { return width; }
int getHeight() const { return height; }