29 std::string name,
int value,
int selected_value)
const
32 Json::Value new_choice = Json::Value(Json::objectValue);
33 new_choice[
"name"] = name;
34 new_choice[
"value"] = value;
35 new_choice[
"selected"] = (value == selected_value);
Header file for JSON class.
Header file for the TrackedObjectBase class.
Keyframe draw_box
Keyframe to determine if a specific box is drawn (or hidden).
Json::Value add_property_choice_json(std::string name, int value, int selected_value) const
Generate JSON choice for a property (dropdown properties).
Keyframe visible
Keyframe to track if a box is visible in the current frame (read-only).
TrackedObjectBase()
Default constructor.
This namespace is the default namespace for all code in the openshot library.