X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fruler.h;h=689b073cede32e81af7e43e901057c2c93e515bf;hb=332afa7438aa5532599fe65f9092e1b24b34fe04;hp=7bdde99c15c3066dfaac5a1e37b6ee95306e123f;hpb=3f509c1f40fa91f3bf4468b648cdb01bc45b0cb8;p=pulseview.git diff --git a/pv/view/ruler.h b/pv/view/ruler.h index 7bdde99..689b073 100644 --- a/pv/view/ruler.h +++ b/pv/view/ruler.h @@ -45,6 +45,9 @@ private: public: Ruler(View &parent); + static QString format_time(double t, unsigned int prefix, + unsigned precision = 0); + private: void paintEvent(QPaintEvent *event); @@ -53,11 +56,6 @@ private: void mouseReleaseEvent(QMouseEvent *); private: - static QString format_time(double t, double multiplier, - unsigned int prefix); - - void draw_cursors(QPainter &p); - /** * Draw a hover arrow under the cursor position. */