Mercurial > hg > svgui
comparison widgets/Panner.cpp @ 175:836498e57f59
#include <math.h> required on OSX
author | Martin Gasser |
---|---|
date | Tue, 24 Oct 2006 11:21:35 +0000 |
parents | 96b8a790730a |
children | c4d407272010 |
comparison
equal
deleted
inserted
replaced
174:96b8a790730a | 175:836498e57f59 |
---|---|
19 #include <QPaintEvent> | 19 #include <QPaintEvent> |
20 #include <QWheelEvent> | 20 #include <QWheelEvent> |
21 #include <QPainter> | 21 #include <QPainter> |
22 | 22 |
23 #include <iostream> | 23 #include <iostream> |
24 | |
25 #include <math.h> | |
24 | 26 |
25 Panner::Panner(QWidget *parent) : | 27 Panner::Panner(QWidget *parent) : |
26 QWidget(parent), | 28 QWidget(parent), |
27 m_rectX(0), | 29 m_rectX(0), |
28 m_rectY(0), | 30 m_rectY(0), |