]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/ruler.hpp
Change the number of minor ticks to be either 4 or 5
[pulseview.git] / pv / views / trace / ruler.hpp
index 0c614c6c8bad27360b4cca6ada99dbe91320d709..448204b2410410bb7e78c7f635c2392d49937603 100644 (file)
@@ -63,8 +63,6 @@ private:
        /// Height of the ruler in multipes of the text height
        static const float RulerHeight;
 
-       static const int MinorTickSubdivision;
-
        /// Height of the hover arrow in multiples of the text height
        static const float HoverArrowSize;
 
@@ -170,6 +168,7 @@ private:
                const pv::util::Timestamp& offset,
                const double scale,
                const int width,
+               const unsigned int minor_tick_count,
                function<QString(const pv::util::Timestamp&)> format_function);
 
 protected: