- [NEW] editor::getCurrentTemplate

- [NEW] editor::setCurrentTemplate()
This commit is contained in:
JailDoctor committed 2024-06-14 12:21:16 +02:00
1 parent e101d276e8
commit 70556bf6eb
2 files changed
+15

No files matched your search

+12
View File
@@ -3,6 +3,7 @@
namespace editor
{
static bool editing = true;
static int current_template = 0;
void setEditing(const bool value)
{
@@ -13,4 +14,15 @@ namespace editor
{
return editing;
}
const int getCurrentTemplate()
{
return current_template;
}
void setCurrentTemplate(const int value)
{
current_template = value;
}
}
+3
View File
@@ -4,4 +4,7 @@ namespace editor
{
void setEditing(const bool value);
const bool isEditing();
const int getCurrentTemplate();
void setCurrentTemplate(const int value);
}