mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: don't plot event-icons outside of range
Do this by extending the isInteresting() function for dive event items. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
a496ab016b
commit
1a429d9b17
3 changed files with 11 additions and 3 deletions
|
@ -23,7 +23,8 @@ public:
|
|||
void setHorizontalAxis(DiveCartesianAxis *axis);
|
||||
bool shouldBeHidden();
|
||||
static bool isInteresting(const struct dive *d, const struct divecomputer *dc,
|
||||
const struct event *ev, const struct plot_info &pi);
|
||||
const struct event *ev, const struct plot_info &pi,
|
||||
int firstSecond, int lastSecond);
|
||||
|
||||
private:
|
||||
void setupToolTipString(struct gasmix lastgasmix);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue