subsurface/profile-widget
Berthold Stoeger 9f4a72a692 profile: C++-ify plot_info
Use more C++ style memory management for plot_info: Use std::vector
for array data. Return the plot_info instead of filling an output
parameter. Add a constructor/destructor pair so that the caller
isn't bothered with memory management.

The bulk of the commit is replacement of pointers with references,
which is kind of gratuitous. But I started and then went on...

Default initializiation of gas_pressures made it necessary to convert
gas.c to c++, though with minimal changes to the code.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-06-08 19:17:34 +02:00
..
animationfunctions.cpp
animationfunctions.h
CMakeLists.txt
divecartesianaxis.cpp profile: implement panning of profile 2022-09-03 13:51:00 -07:00
divecartesianaxis.h profile: implement panning of profile 2022-09-03 13:51:00 -07:00
diveeventitem.cpp profile: C++-ify plot_info 2024-06-08 19:17:34 +02:00
diveeventitem.h core: pass event to event_type functions 2024-02-23 09:46:16 -08:00
divehandler.cpp Desktop: Fix Gas Editing for Manually Added Dives. 2024-06-01 23:22:40 +12:00
divehandler.h
divelineitem.cpp
divelineitem.h
divepercentageitem.cpp profile: fix uninitialized variable in DivePercentageItem 2024-03-10 17:59:32 +01:00
divepercentageitem.h cleanup: remove unused argument and private member 2022-03-12 08:28:32 -08:00
divepixmapcache.cpp Replace remaining qDebug()s by report_info() 2024-04-23 07:47:11 +07:00
divepixmapcache.h
divepixmapitem.cpp
divepixmapitem.h
diveprofileitem.cpp profile: C++-ify plot_info 2024-06-08 19:17:34 +02:00
diveprofileitem.h Profile: Add Gas Description to Disambiguate. 2024-05-31 22:50:09 +02:00
diverectitem.cpp
diverectitem.h
divetextitem.cpp
divetextitem.h
divetooltipitem.cpp profile: C++-ify plot_info 2024-06-08 19:17:34 +02:00
divetooltipitem.h Desktop: Add a Button to Hide the Infobox in the Dive Profile. 2023-06-25 14:40:23 +02:00
profilescene.cpp profile: C++-ify plot_info 2024-06-08 19:17:34 +02:00
profilescene.h profile: recalculate profile info when switching from empty state 2022-10-30 15:02:36 -07:00
profilewidget2.cpp Desktop: Fix Gas Editing for Manually Added Dives. 2024-06-01 23:22:40 +12:00
profilewidget2.h Desktop: Fix Gas Editing for Manually Added Dives. 2024-06-01 23:22:40 +12:00
qmlprofile.cpp Use report_info() instead of qDebug in mobile code 2024-04-23 07:47:11 +07:00
qmlprofile.h mobile: flip through dive computers on mobile 2022-10-01 18:47:16 +02:00
ruleritem.cpp profile: C++-ify plot_info 2024-06-08 19:17:34 +02:00
ruleritem.h profile: only keep pointer to plot_info in ruler objects 2022-03-13 15:08:01 -07:00
tankitem.cpp Refactoring: Use core functions to find gasmixes in TankItem. 2023-02-03 08:24:56 +01:00
tankitem.h profile: remove last dc_number access from profile code 2022-04-03 08:29:05 -07:00