Removed unused setup function

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-02-15 11:17:23 -08:00
parent 6be62c1d90
commit 191a3064a7
2 changed files with 0 additions and 13 deletions

View file

@ -20,18 +20,6 @@ static QPen gridPen(){
return pen;
}
void DiveCartesianAxis::setup(double minimum, double maximum, double interval, double labelFontScale,
DiveCartesianAxis::Orientation o, qreal tick_size, const QPointF& pos)
{
setMinimum(minimum);
setMaximum(maximum);
setTickInterval(interval);
setOrientation(o);
setTickSize(tick_size);
setPos(pos);
setFontLabelScale(labelFontScale);
}
double DiveCartesianAxis::tickInterval() const
{
return interval;

View file

@ -19,7 +19,6 @@ public:
enum Orientation{TopToBottom, BottomToTop, LeftToRight, RightToLeft};
DiveCartesianAxis();
virtual ~DiveCartesianAxis();
void setup(double minimum, double maximum, double interval, double labelFontScale, Orientation o, qreal tickSize, const QPointF& pos);
void setMinimum(double minimum);
void setMaximum(double maximum);
void setTickInterval(double interval);