mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Move most of the QtQuick code to its own directory, so that it can be reused in the future for the chart. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
17 lines
379 B
C++
17 lines
379 B
C++
// SPDX-License-Identifier: GPL-2.0
|
|
// Helper functions to render the stats.
|
|
#ifndef STATSHELPER_H
|
|
#define STATSHELPER_H
|
|
|
|
#include <vector>
|
|
#include <QPointF>
|
|
|
|
struct dive;
|
|
|
|
// Round positions to integer values to avoid ugly artifacts
|
|
QPointF roundPos(const QPointF &p);
|
|
|
|
// Are all dives in this vector selected?
|
|
bool allDivesSelected(const std::vector<dive *> &dives);
|
|
|
|
#endif
|