- [NEW] mòdul editor per a handlechar tot lo relacionat en l'editor

This commit is contained in:
2024-06-13 07:40:51 +02:00
parent 3e37be8a3a
commit ad4cef1cd1
4 changed files with 45 additions and 23 deletions

16
source/editor.cpp Normal file
View File

@@ -0,0 +1,16 @@
#include "editor.h"
namespace editor
{
static bool editing = true;
void setEditing(const bool value)
{
editing = value;
}
const bool isEditing()
{
return editing;
}
}