Mercurial > hg > svgui
comparison widgets/Thumbwheel.cpp @ 706:97ea68f62c1f imaf_enc
Merge from default branch
author | Chris Cannam |
---|---|
date | Thu, 05 Dec 2013 09:47:02 +0000 |
parents | 1a0dfcbffaf1 |
children | 4a578a360011 |
comparison
equal
deleted
inserted
replaced
678:26c5f7fd4807 | 706:97ea68f62c1f |
---|---|
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; |