SaveTool: move the tw macro so all SaveTool files can use it.

This commit is contained in:
Guillaume Jacquemin 2021-09-27 20:51:48 +02:00
parent 1612e4372b
commit 18aa7f659e
2 changed files with 6 additions and 3 deletions

View file

@ -49,9 +49,6 @@
extern const ImVec2 center_pivot = {0.5f, 0.5f};
#ifdef SAVETOOL_DEBUG_BUILD
#include <Corrade/Utility/Tweakable.h>
#define tw CORRADE_TWEAKABLE
Utility::Tweakable tweak;
#endif

View file

@ -36,6 +36,12 @@
#include "../MassManager/MassManager.h"
#include "../ToastQueue/ToastQueue.h"
#ifdef SAVETOOL_DEBUG_BUILD
#include <Corrade/Utility/Tweakable.h>
#define tw CORRADE_TWEAKABLE
#endif
using namespace Corrade;
using namespace Magnum;