diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-02-13 18:28:37 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-02-13 18:28:37 -0500 |
commit | 3e56a024b0b75f880e5e0d4bcd45939b4e909db3 (patch) | |
tree | 123732533f7ff5977e20464abd4a3329f1fa74f3 /gr-qtgui/lib/const_sink_c_impl.cc | |
parent | 785cd2dcfc6e560042186197ce03f0560cd04f22 (diff) |
qtgui: allowing autoscale to be turned on/off from GR app.
Diffstat (limited to 'gr-qtgui/lib/const_sink_c_impl.cc')
-rw-r--r-- | gr-qtgui/lib/const_sink_c_impl.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gr-qtgui/lib/const_sink_c_impl.cc b/gr-qtgui/lib/const_sink_c_impl.cc index 2490e9a618..759da32cde 100644 --- a/gr-qtgui/lib/const_sink_c_impl.cc +++ b/gr-qtgui/lib/const_sink_c_impl.cc @@ -284,6 +284,12 @@ namespace gr { } void + const_sink_c_impl::enable_autoscale(bool en) + { + d_main_gui->autoScale(en); + } + + void const_sink_c_impl::reset() { d_index = 0; |