~mbranton/libopenshot/alpha-channel-fix

« back to all changes in this revision

Viewing changes to src/effects/Mask.cpp

  • Committer: Jonathan Thomas
  • Date: 2016-08-19 00:45:45 UTC
  • Revision ID: jonathan@openshot.org-20160819004545-ktlmx0veat6u9kvu
Renaming Layer to Track in JSON properties

Show diffs side-by-side

added added

removed removed

Lines of Context:
284
284
        Json::Value root;
285
285
        root["id"] = add_property_json("ID", 0.0, "string", Id(), false, 0, -1, -1, CONSTANT, -1, true);
286
286
        root["position"] = add_property_json("Position", Position(), "float", "", false, 0, 0, 30 * 60 * 60 * 48, CONSTANT, -1, false);
287
 
        root["layer"] = add_property_json("Layer", Layer(), "int", "", false, 0, 0, 20, CONSTANT, -1, false);
 
287
        root["layer"] = add_property_json("Track", Layer(), "int", "", false, 0, 0, 20, CONSTANT, -1, false);
288
288
        root["start"] = add_property_json("Start", Start(), "float", "", false, 0, 0, 30 * 60 * 60 * 48, CONSTANT, -1, false);
289
289
        root["end"] = add_property_json("End", End(), "float", "", false, 0, 0, 30 * 60 * 60 * 48, CONSTANT, -1, false);
290
290
        root["duration"] = add_property_json("Duration", Duration(), "float", "", false, 0, 0, 30 * 60 * 60 * 48, CONSTANT, -1, true);
291
 
        root["replace_image"] = add_property_json("Replace Image", replace_image, "bool", "", false, 0, 0, 1, CONSTANT, -1, false);
 
291
        root["replace_image"] = add_property_json("Replace Image", replace_image, "int", "", false, 0, 0, 1, CONSTANT, -1, false);
292
292
 
293
293
        // Add replace_image choices (dropdown style)
294
294
        root["replace_image"]["choices"].append(add_property_choice_json("Yes", true, replace_image));