subsurface/profile-widget/divepercentageitem.h
Dirk Hohndel cbad9607e8 cleanup: remove unused argument and private member
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2022-03-12 08:28:32 -08:00

20 lines
478 B
C++

#ifndef DIVEPERCENTAGEITEM_H
#define DIVEPERCENTAGEITEM_H
#include <QGraphicsPixmapItem>
struct dive;
struct divecomputer;
struct plot_info;
class DiveCartesianAxis;
class DivePercentageItem : public QGraphicsPixmapItem {
public:
DivePercentageItem(const DiveCartesianAxis &hAxis, const DiveCartesianAxis &vAxis);
void replot(const dive *d, const divecomputer *dc, const plot_info &pi);
private:
const DiveCartesianAxis &hAxis;
const DiveCartesianAxis &vAxis;
};
#endif