]> sigrok.org Git - pulseview.git/commit
View: Change the type of tick_period to pv::util::Timestamp
authorJens Steinhauser <redacted>
Wed, 2 Sep 2015 09:25:37 +0000 (11:25 +0200)
committerUwe Hermann <redacted>
Fri, 4 Sep 2015 10:54:52 +0000 (12:54 +0200)
commitc677193dc6e691493081fe87476a04e1674093a5
tree4e8ba7b8160c40f0a53767a0f06febfaa787f90c
parent4b0af0b67fe57e0880bcb8aa13b4fa807f3aaac0
View: Change the type of tick_period to pv::util::Timestamp

This makes the tick position/label calculation in the ruler more precise,
avoiding rounded values for zero which would yield to "+0" or "-0" labels.
pv/view/ruler.cpp
pv/view/ruler.hpp
pv/view/view.cpp
pv/view/view.hpp
test/CMakeLists.txt
test/test.cpp
test/test.hpp [new file with mode: 0644]
test/util.cpp
test/view/ruler.cpp [new file with mode: 0644]