mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: only plot visible range of tank info
This was a rather trivial change: simply pass in the first and the last second to the plot function. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
d97cc8d4d5
commit
85d1e1d199
3 changed files with 19 additions and 20 deletions
|
@ -14,7 +14,7 @@ class TankItem : public QGraphicsRectItem
|
|||
{
|
||||
public:
|
||||
explicit TankItem(const DiveCartesianAxis &axis, double dpr);
|
||||
void setData(const struct plot_info *plotInfo, const struct dive *d);
|
||||
void setData(const struct dive *d, int plotStartTime, int plotEndTime);
|
||||
double height() const;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue