SaveTool: move the tw macro so all SaveTool files can use it.
This commit is contained in:
parent
1612e4372b
commit
18aa7f659e
2 changed files with 6 additions and 3 deletions
|
@ -49,9 +49,6 @@
|
||||||
extern const ImVec2 center_pivot = {0.5f, 0.5f};
|
extern const ImVec2 center_pivot = {0.5f, 0.5f};
|
||||||
|
|
||||||
#ifdef SAVETOOL_DEBUG_BUILD
|
#ifdef SAVETOOL_DEBUG_BUILD
|
||||||
#include <Corrade/Utility/Tweakable.h>
|
|
||||||
|
|
||||||
#define tw CORRADE_TWEAKABLE
|
|
||||||
Utility::Tweakable tweak;
|
Utility::Tweakable tweak;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -36,6 +36,12 @@
|
||||||
#include "../MassManager/MassManager.h"
|
#include "../MassManager/MassManager.h"
|
||||||
#include "../ToastQueue/ToastQueue.h"
|
#include "../ToastQueue/ToastQueue.h"
|
||||||
|
|
||||||
|
#ifdef SAVETOOL_DEBUG_BUILD
|
||||||
|
#include <Corrade/Utility/Tweakable.h>
|
||||||
|
|
||||||
|
#define tw CORRADE_TWEAKABLE
|
||||||
|
#endif
|
||||||
|
|
||||||
using namespace Corrade;
|
using namespace Corrade;
|
||||||
using namespace Magnum;
|
using namespace Magnum;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue