~openshot.code/libopenshot/trunk

« back to all changes in this revision

Viewing changes to src/Clip.cpp

  • Committer: Jonathan Thomas
  • Date: 2018-04-21 20:51:43 UTC
  • Revision ID: jonathan@openshot.org-20180421205143-1u7npch6jbaad3of
Removing anchor from clip properties (since it is unused)

Show diffs side-by-side

added added

removed removed

Lines of Context:
694
694
        root["duration"] = add_property_json("Duration", Duration(), "float", "", NULL, 0, 30 * 60 * 60 * 48, true, requested_frame);
695
695
        root["gravity"] = add_property_json("Gravity", gravity, "int", "", NULL, 0, 8, false, requested_frame);
696
696
        root["scale"] = add_property_json("Scale", scale, "int", "", NULL, 0, 3, false, requested_frame);
697
 
        root["anchor"] = add_property_json("Anchor", anchor, "int", "", NULL, 0, 1, false, requested_frame);
698
697
        root["display"] = add_property_json("Frame Number", display, "int", "", NULL, 0, 3, false, requested_frame);
699
698
        root["waveform"] = add_property_json("Waveform", waveform, "int", "", NULL, 0, 1, false, requested_frame);
700
699
 
715
714
        root["scale"]["choices"].append(add_property_choice_json("Stretch", SCALE_STRETCH, scale));
716
715
        root["scale"]["choices"].append(add_property_choice_json("None", SCALE_NONE, scale));
717
716
 
718
 
        // Add anchor choices (dropdown style)
719
 
        root["anchor"]["choices"].append(add_property_choice_json("Canvas", ANCHOR_CANVAS, anchor));
720
 
        root["anchor"]["choices"].append(add_property_choice_json("Viewport", ANCHOR_VIEWPORT, anchor));
721
 
 
722
717
        // Add frame number display choices (dropdown style)
723
718
        root["display"]["choices"].append(add_property_choice_json("None", FRAME_DISPLAY_NONE, display));
724
719
        root["display"]["choices"].append(add_property_choice_json("Clip", FRAME_DISPLAY_CLIP, display));