X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fruler.hpp;h=3a9fea910d26febacb20cba1d156fc2486210cbc;hp=5035bfc83bffc9962f8a7d06d782c1fae5dcd232;hb=ef85cfa4599d3741e7007921e39a44490e97cfaf;hpb=a47b5a3fb9912f1d6e3fcc63d59ee6cc1b5338e2 diff --git a/pv/views/trace/ruler.hpp b/pv/views/trace/ruler.hpp index 5035bfc8..3a9fea91 100644 --- a/pv/views/trace/ruler.hpp +++ b/pv/views/trace/ruler.hpp @@ -115,7 +115,8 @@ public: pv::util::SIPrefix prefix = pv::util::SIPrefix::unspecified, pv::util::TimeUnit unit = pv::util::TimeUnit::Time, unsigned precision = 0, - bool sign = true); + bool sign = true, + bool show_unit = true); pv::util::Timestamp get_absolute_time_from_x_pos(uint32_t x) const; pv::util::Timestamp get_ruler_time_from_x_pos(uint32_t x) const;