mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
cbad9607e8
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
20 lines
478 B
C++
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
|