Mercurial > hg > svgui
comparison widgets/Thumbwheel.cpp @ 682:1a0dfcbffaf1
Drop std:: from cout, cerr, endl -- pull these in through Debug.h
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 14:06:40 +0000 |
parents | d632a1e87018 |
children | 4a578a360011 |
comparison
equal
deleted
inserted
replaced
681:eaf4446a1bef | 682:1a0dfcbffaf1 |
---|---|
504 | 504 |
505 paint.setClipRect(subclip); | 505 paint.setClipRect(subclip); |
506 | 506 |
507 float radians = m_rotation * 1.5f * M_PI; | 507 float radians = m_rotation * 1.5f * M_PI; |
508 | 508 |
509 // std::cerr << "value = " << m_value << ", min = " << m_min << ", max = " << m_max << ", rotation = " << rotation << std::endl; | 509 // cerr << "value = " << m_value << ", min = " << m_min << ", max = " << m_max << ", rotation = " << rotation << endl; |
510 | 510 |
511 w = (m_orientation == Qt::Horizontal ? width() : height()) - bw*2; | 511 w = (m_orientation == Qt::Horizontal ? width() : height()) - bw*2; |
512 | 512 |
513 // total number of notches on the entire wheel | 513 // total number of notches on the entire wheel |
514 int notches = 25; | 514 int notches = 25; |