A dive buddy / tech instructor / Subsurface convert suggested/requested a "best 
mix" calculator feature be added to the planner.  He wasn't sure what the UI 
should be.  Nor was I, but here is my attempt to come up with something minimal 
but useful.

I admit this isn't intuitive, and will probably only be helpful to a small 
minority of users, but it's a quick and powerful feature for those who'd use 
it, and shouldn't get in the way of anything for anyone else.

Feedback would be most appreciated.  If this makes it into master, I'll write 
something for the manual.

Rick Walsh (3):
  Add functions to calculate best mix
  Add best mix function to planner cylinder model
  Planner: add best mix EAD preference

 core/dive.c                                  | 22 ++++++++++++++++++++
 core/dive.h                                  |  3 +++
 core/pref.h                                  |  1 +
 core/subsurface-qt/SettingsObjectWrapper.cpp | 14 +++++++++++++
 core/subsurface-qt/SettingsObjectWrapper.h   |  4 ++++
 core/subsurfacestartup.c                     |  1 +
 desktop-widgets/diveplanner.cpp              | 11 ++++++++++
 desktop-widgets/diveplanner.h                |  1 +
 desktop-widgets/plannerSettings.ui           | 31 ++++++++++++++++++++++++++--
 qt-models/cylindermodel.cpp                  |  9 ++++++++
 10 files changed, 95 insertions(+), 2 deletions(-)

-- 
2.5.5

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to