Browse Source

Tweak organization of settings globals.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
10e6f1db1d
2 changed files with 3 additions and 6 deletions
  1. +2
    -4
      include/settings.hpp
  2. +1
    -2
      src/settings.cpp

+ 2
- 4
include/settings.hpp View File

@@ -19,12 +19,10 @@ namespace rack {
namespace settings {


/** Path to settings.json */
extern std::string settingsPath;


// Runtime state, not serialized.

/** Path to settings.json */
extern std::string settingsPath;
extern bool devMode;
extern bool headless;



+ 1
- 2
src/settings.cpp View File

@@ -16,10 +16,9 @@ namespace settings {


std::string settingsPath;


bool devMode = false;
bool headless = false;

std::string token;
math::Vec windowSize;
math::Vec windowPos;


Loading…
Cancel
Save