X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fvideoscope%2Fvideoscope.C;h=4bd4667870ccff8b48136296af6149f26f6f86e7;hb=1529091cdf16df199a901aabe6e8fa1813a933af;hp=e662dacbf65518e4ff5d947f2f3840122b334940;hpb=2fba7eab40198b35d9edb20c16bcc1b8c262f7a2;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/videoscope/videoscope.C b/cinelerra-5.1/plugins/videoscope/videoscope.C index e662dacb..4bd46678 100644 --- a/cinelerra-5.1/plugins/videoscope/videoscope.C +++ b/cinelerra-5.1/plugins/videoscope/videoscope.C @@ -77,7 +77,8 @@ public: int use_hist, use_wave, use_vector; int use_hist_parade, use_wave_parade; - int use_wave_gain, use_vect_gain, use_smooth; + int use_wave_gain, use_vect_gain; + int use_smooth, use_graticule; int w, h; VFrame *input; @@ -108,6 +109,9 @@ void VideoScopeWindow::create_objects() use_wave_gain = plugin->use_wave_gain; use_vect_gain = plugin->use_vect_gain; use_smooth = plugin->use_smooth; + use_refresh = -1; + use_release = 0; + use_graticule = plugin->use_graticule; ScopeGUI::create_objects(); } @@ -122,6 +126,7 @@ void VideoScopeWindow::toggle_event() plugin->use_wave_gain = use_wave_gain; plugin->use_vect_gain = use_vect_gain; plugin->use_smooth = use_smooth; + plugin->use_graticule = use_graticule; // Make it reprocess plugin->send_configure_change(); } @@ -152,6 +157,7 @@ VideoScopeEffect::VideoScopeEffect(PluginServer *server) use_wave_gain = 5; use_vect_gain = 5; use_smooth = 1; + use_graticule = 0; } VideoScopeEffect::~VideoScopeEffect() @@ -184,6 +190,7 @@ void VideoScopeEffect::save_data(KeyFrame *keyframe) output.tag.set_property("USE_WAVE_GAIN", use_wave_gain); output.tag.set_property("USE_VECT_GAIN", use_vect_gain); output.tag.set_property("USE_SMOOTH", use_smooth); + output.tag.set_property("USE_GRATICULE", use_graticule); } output.append_tag(); @@ -212,6 +219,7 @@ void VideoScopeEffect::read_data(KeyFrame *keyframe) use_wave_gain = input.tag.get_property("USE_WAVE_GAIN", use_wave_gain); use_vect_gain = input.tag.get_property("USE_VECT_GAIN", use_vect_gain); use_smooth = input.tag.get_property("USE_SMOOTH", use_smooth); + use_graticule = input.tag.get_property("USE_GRATICULE", use_graticule); } } }