Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-12-24 | core: add convert between meter/feet to plannerShared | jan Iversen | |
qPrefDiveplanner contains settings for ascent and descent in a neutral format. diveplanner desktop uses a macro UNIT_FACTOR to convert between UI values and qPref values. In order not to dublicate these calculation (in C++ and QML) a set of shared functions are made. The functions are identical to the calculations in diveplanner desktop. Signed-off-by: Jan Iversen <jan@casacondor.com> | |||
2019-12-24 | core: add plannerShared class | jan Iversen | |
Add a plannerShared class, whose purpose is to contain shared functions between mobile and desktop This class is the inner workings of the diveplanner not the UI Signed-off-by: Jan Iversen <jan@casacondor.com> |