Skip to content

Commit

Permalink
Color-separated Saturation: Enhanced constructor parameter names
Browse files Browse the repository at this point in the history
See OpenShot#368 (comment).

Signed-off-by: Markus KARG <markus@headcrashing.eu>
  • Loading branch information
mkarg committed Nov 23, 2019
1 parent fb932ae commit 185f98a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/effects/Saturation.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ namespace openshot
/// Default constructor, which takes 1 curve, to adjust the color saturation over time.
///
/// @param new_saturation The curve to adjust the saturation of the frame's image (0.0 = black and white, 1.0 = normal, 2.0 = double saturation)
Saturation(Keyframe new_saturation, Keyframe new_saturation_R, Keyframe new_saturation_G, Keyframe new_saturation_B);
Saturation(Keyframe saturation, Keyframe saturation_R, Keyframe saturation_G, Keyframe saturation_B);

/// @brief This method is required for all derived classes of EffectBase, and returns a
/// modified openshot::Frame object
Expand Down
2 changes: 1 addition & 1 deletion src/effects/Saturation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Saturation::Saturation() : saturation(1.0), saturation_R(1.0), saturation_G(1.0)
}

// Default constructor
Saturation::Saturation(Keyframe new_saturation, Keyframe new_saturation_R, Keyframe new_saturation_G, Keyframe new_saturation_B) : saturation(new_saturation), saturation_R(new_saturation_R), saturation_G(new_saturation_G), saturation_B(new_saturation_B)
Saturation::Saturation(Keyframe saturation, Keyframe saturation_R, Keyframe saturation_G, Keyframe saturation_B) : saturation(saturation), saturation_R(saturation_R), saturation_G(saturation_G), saturation_B(saturation_B)
{
// Init effect properties
init_effect_details();
Expand Down

0 comments on commit 185f98a

Please sign in to comment.