X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fcursorpair.cpp;h=3259524c754acbf151dc7755146b220a347eaa31;hb=aca9aa834c742ba70f49d1ac3eb2d1e02e759416;hp=f9d3e53ddd3fec6bae38fc39dfdaa3d257ef87f8;hpb=2ad82c2e40b6865481733913a2c32735602f63c4;p=pulseview.git diff --git a/pv/view/cursorpair.cpp b/pv/view/cursorpair.cpp index f9d3e53..3259524 100644 --- a/pv/view/cursorpair.cpp +++ b/pv/view/cursorpair.cpp @@ -14,18 +14,17 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #include "cursorpair.hpp" +#include "pv/util.hpp" #include "ruler.hpp" #include "view.hpp" -#include "pv/util.hpp" -#include #include +#include using std::max; using std::make_pair; @@ -34,7 +33,8 @@ using std::shared_ptr; using std::pair; namespace pv { -namespace view { +namespace views { +namespace TraceView { const int CursorPair::DeltaPadding = 8; const QColor CursorPair::ViewportFillColour(220, 231, 243); @@ -192,5 +192,6 @@ pair CursorPair::get_cursor_offsets() const ((second_->time() - view_.offset()) / view_.scale()).convert_to()); } -} // namespace view +} // namespace TraceView +} // namespace views } // namespace pv