subsurface/stats
Berthold Stoeger d36fd79527 core: move total_weight() into struct dive
Feels natural in a C++ code base.

Change the function to return a weight_t. Sadly, use of the
units.h types is very inconsistent and many parts of the code
use int or double instead. So let's try to make this consistent.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +02:00
..
barseries.cpp statistics: make fonts themeable 2022-03-16 15:26:54 -07:00
barseries.h
boxseries.cpp
boxseries.h
chartitem.cpp statistics: don't use DrawTriangleFan and DrawLineLoop modes 2022-11-19 15:07:07 -08:00
chartitem.h statistics: properly initialized selected scatter items 2022-10-19 14:35:15 -07:00
chartlistmodel.cpp cleanup: silence std::move()-related Coverity warnings 2024-01-15 15:11:36 -08:00
chartlistmodel.h
CMakeLists.txt
histogrammarker.cpp
histogrammarker.h
informationbox.cpp statistics: make fonts themeable 2022-03-16 15:26:54 -07:00
informationbox.h statistics: make fonts themeable 2022-03-16 15:26:54 -07:00
legend.cpp statistics: make fonts themeable 2022-03-16 15:26:54 -07:00
legend.h statistics: make fonts themeable 2022-03-16 15:26:54 -07:00
pieseries.cpp statistics: make fonts themeable 2022-03-16 15:26:54 -07:00
pieseries.h
quartilemarker.cpp
quartilemarker.h
regressionitem.cpp
regressionitem.h
scatterseries.cpp selection: move current dive and divecomputer to selection.cpp 2023-04-16 20:23:59 +02:00
scatterseries.h
statsaxis.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
statsaxis.h statistics: make fonts themeable 2022-03-16 15:26:54 -07:00
statscolors.cpp statistics: make fonts themeable 2022-03-16 15:26:54 -07:00
statscolors.h statistics: make fonts themeable 2022-03-16 15:26:54 -07:00
statsgrid.cpp
statsgrid.h
statshelper.cpp
statshelper.h
statsicons.qrc
statsselection.cpp selection: move current dive and divecomputer to selection.cpp 2023-04-16 20:23:59 +02:00
statsselection.h
statsseries.cpp
statsseries.h
statsstate.cpp cleanup: more Coverity silencing 2024-01-17 14:23:19 -08:00
statsstate.h
statstranslations.h
statsvariables.cpp core: move total_weight() into struct dive 2024-08-13 19:28:30 +02:00
statsvariables.h
statsview.cpp cleanup: more Coverity silencing 2024-01-17 14:23:19 -08:00
statsview.h statistics: make fonts themeable 2022-03-16 15:26:54 -07:00
zvalues.h