mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-16 05:37:49 -05:00
Add option to turn off checkerboard fill for new tilesets
This commit is contained in:
@@ -56,6 +56,7 @@ public:
|
||||
this->showBorder = true;
|
||||
this->showGrid = false;
|
||||
this->monitorFiles = true;
|
||||
this->tilesetCheckerboardFill = true;
|
||||
this->theme = "default";
|
||||
this->textEditorOpenFolder = "";
|
||||
this->textEditorGotoLine = "";
|
||||
@@ -75,6 +76,7 @@ public:
|
||||
void setShowBorder(bool enabled);
|
||||
void setShowGrid(bool enabled);
|
||||
void setMonitorFiles(bool monitor);
|
||||
void setTilesetCheckerboardFill(bool checkerboard);
|
||||
void setTheme(QString theme);
|
||||
void setTextEditorOpenFolder(const QString &command);
|
||||
void setTextEditorGotoLine(const QString &command);
|
||||
@@ -93,6 +95,7 @@ public:
|
||||
bool getShowBorder();
|
||||
bool getShowGrid();
|
||||
bool getMonitorFiles();
|
||||
bool getTilesetCheckerboardFill();
|
||||
QString getTheme();
|
||||
QString getTextEditorOpenFolder();
|
||||
QString getTextEditorGotoLine();
|
||||
@@ -127,6 +130,7 @@ private:
|
||||
bool showBorder;
|
||||
bool showGrid;
|
||||
bool monitorFiles;
|
||||
bool tilesetCheckerboardFill;
|
||||
QString theme;
|
||||
QString textEditorOpenFolder;
|
||||
QString textEditorGotoLine;
|
||||
|
||||
@@ -19,10 +19,12 @@ public:
|
||||
QString fullSymbolName;
|
||||
QString friendlyName;
|
||||
bool isSecondary;
|
||||
bool checkerboardFill;
|
||||
|
||||
private slots:
|
||||
void NameOrSecondaryChanged();
|
||||
void SecondaryChanged();
|
||||
void FillChanged();
|
||||
|
||||
private:
|
||||
Ui::NewTilesetDialog *ui;
|
||||
|
||||
Reference in New Issue
Block a user