]> sigrok.org Git - pulseview.git/commitdiff
AnalogSignal: Removed set_scale
authorJoel Holdsworth <redacted>
Sun, 4 Oct 2015 23:24:03 +0000 (17:24 -0600)
committerJoel Holdsworth <redacted>
Sat, 17 Oct 2015 15:20:21 +0000 (09:20 -0600)
Nothing uses it now

pv/view/analogsignal.cpp
pv/view/analogsignal.hpp

index 8e541dac1672da902233105215f49d0c4c271c01..efde2941d9137041b0c3fcfa9b882d3d882c0ff8 100644 (file)
@@ -77,11 +77,6 @@ shared_ptr<pv::data::Analog> AnalogSignal::analog_data() const
        return data_;
 }
 
-void AnalogSignal::set_scale(float scale)
-{
-       scale_ = scale;
-}
-
 std::pair<int, int> AnalogSignal::v_extents() const
 {
        return make_pair(-NominalHeight / 2, NominalHeight / 2);
index 4f737aaad640c3226ce365625bcf78e150d30e1a..72ff23b366fa96ba44e795452cdad1acafae15f9 100644 (file)
@@ -53,8 +53,6 @@ public:
 
        std::shared_ptr<pv::data::Analog> analog_data() const;
 
-       void set_scale(float scale);
-
        /**
         * Computes the vertical extents of the contents of this row item.
         * @return A pair containing the minimum and maximum y-values.