X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fruler.hpp;h=448204b2410410bb7e78c7f635c2392d49937603;hp=e9432bd6d4208fe66489a9d1ad9963947e88467e;hb=4a07615736968fc8d635c8d187b8a5d6b8a0e2eb;hpb=1373fec59223e7511078abe3dbf4a6b61b4af234 diff --git a/pv/views/trace/ruler.hpp b/pv/views/trace/ruler.hpp index e9432bd6..448204b2 100644 --- a/pv/views/trace/ruler.hpp +++ b/pv/views/trace/ruler.hpp @@ -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; @@ -157,7 +155,7 @@ private: * Calculates the major and minor tick positions. * * @param major_period The period between the major ticks. - * @param offset The time at the left border of the ruler. + * @param offset The virtual time at the left border of the ruler. * @param scale The scale in seconds per pixel. * @param width the Width of the ruler. * @param format_function A function used to format the major tick times. @@ -170,6 +168,7 @@ private: const pv::util::Timestamp& offset, const double scale, const int width, + const unsigned int minor_tick_count, function format_function); protected: