Files
thepool/source/editor.cpp
Raimon Zamora 70556bf6eb - [NEW] editor::getCurrentTemplate
- [NEW] editor::setCurrentTemplate()
2024-06-14 12:21:16 +02:00

29 lines
425 B
C++

#include "editor.h"
namespace editor
{
static bool editing = true;
static int current_template = 0;
void setEditing(const bool value)
{
editing = value;
}
const bool isEditing()
{
return editing;
}
const int getCurrentTemplate()
{
return current_template;
}
void setCurrentTemplate(const int value)
{
current_template = value;
}
}