subsurface/profile-widget
Dirk Hohndel 38ab11a6c0 Add option to allocate the samples in fake_dc()
We (ab)use fake_dc() to create a pleasing profile for a manually added
dive. Based on it's intended use, fake_dc() simply handed back a dc
structure that pointed at staticly allocated samples - that's obviously
(now that I think about it) going to blow up in my face if I edit a
manually added dive more than once.

So now we have an option for fake_dc() to actually allocate the samples -
this way the rest of the code can treat these samples as we would treat
samples created any other way. We can free them and replace them with a
new set.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-02-20 09:36:14 -08:00
..
animationfunctions.cpp Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
animationfunctions.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
CMakeLists.txt Correctly handle SubsurfaceMobile 2016-01-08 08:04:24 -08:00
divecartesianaxis.cpp Changed quite a few shorts to bool on the c++ implementtion 2016-01-25 13:04:16 -08:00
divecartesianaxis.h Untagle DiveCartesianAxis from MainWindow 2015-11-06 09:58:08 -08:00
diveeventitem.cpp profile-widget: use smaller event icons on Subsurface-mobile 2016-02-05 22:02:24 -08:00
diveeventitem.h Prevent gaschange tank icons from using garbage coords. 2015-12-03 22:56:23 -08:00
divelineitem.cpp Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
divelineitem.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
divepixmapitem.cpp Don't connect to the PreferencesDialog in Subsurface-mobile 2015-11-06 10:20:18 -08:00
divepixmapitem.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
diveprofileitem.cpp Do not run the deco calculations in the mobile app 2016-02-05 20:45:18 -08:00
diveprofileitem.h Fix Ceiling Graph 2016-01-25 13:04:32 -08:00
diverectitem.cpp Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
diverectitem.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
divetextitem.cpp Profile: include Qt headers directly 2015-11-05 17:05:30 -08:00
divetextitem.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
divetooltipitem.cpp divetooltipitem.cpp: prettify the tooltip bounds and padding 2015-11-10 09:08:57 -08:00
divetooltipitem.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
profilewidget2.cpp Add option to allocate the samples in fake_dc() 2016-02-20 09:36:14 -08:00
profilewidget2.h Profile: don't compile code that isn't needed on mobile 2016-02-06 13:29:31 -08:00
ruleritem.cpp Fix bug on the visibility of the Ruler Graph 2016-01-25 13:04:39 -08:00
ruleritem.h Fix bug on the visibility of the Ruler Graph 2016-01-25 13:04:39 -08:00
tankitem.cpp Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
tankitem.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00