the great reshuffle and new theatre

This commit is contained in:
jrkb 2024-02-29 16:32:49 +01:00
parent 48c7db3f6e
commit 63ddc4b317
56 changed files with 347 additions and 29 deletions

View file

@ -34,8 +34,8 @@ struct AppSettings {
212 / 255.0,
212 / 255.0,
1}; // check data/appSettings.json
string tmpExportDir = "data/export";
string tmpImportDir = "data/import";
std::string tmpExportDir = "data/export";
std::string tmpImportDir = "data/import";
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(AppSettings,
backgroundColor,
@ -43,7 +43,8 @@ struct AppSettings {
};
class ZipProjectSaver : public ofThread {
class ZipProjectSaver :
public ofThread {
public:
void setup(string projectName,
string projectJsonString){
@ -127,12 +128,12 @@ class ZipProjectSaver : public ofThread {
void exit(){
free(buffer);
}
string projectName;
string projectJsonString;
string userFontsPath;
string userAudioPath;
string timestamp;
string filename;
std::string projectName;
std::string projectJsonString;
std::string userFontsPath;
std::string userAudioPath;
std::string timestamp;
std::string filename;
char * buffer;
size_t buffer_size;
std::atomic <bool> freshDownload{false};