From 1511711507f73d548e4088a10454e1e5f3879aeb Mon Sep 17 00:00:00 2001 From: Henrik Brautaset Aronsen Date: Mon, 26 Dec 2011 12:08:34 +0100 Subject: There's a difference between "it's" and "its" Just sayin' Signed-off-by: Henrik Brautaset Aronsen --- Documentation/user-manual.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt index 95a205fd2..4b4eee334 100644 --- a/Documentation/user-manual.txt +++ b/Documentation/user-manual.txt @@ -8,7 +8,7 @@ Autor documentation: Jacco van Koll Scope of this document is the usage of the program. Please read the build manual for instructions how to build the -software and (if needed) it's dependencies. +software and (if needed) its dependencies. Audience: Fun Divers, Tec Divers, Professional Divers @@ -320,7 +320,7 @@ Maybe you have been using JDivelog and you have a lot of dives logged in this program. You don't have to type all information by hand into Subsurface, because you can import your divelogs from JDivelog. -JDivelog stores it's information into files with the extention of .jlb. +JDivelog stores its information into files with the extention of .jlb. These .jlb contain all the information that has been stored, except your images in xml format. -- cgit v1.2.3-70-g09d2 From 265fa8ec1fb8c666cb38cd8fed3561f6e52649d6 Mon Sep 17 00:00:00 2001 From: Jacco van Koll Date: Mon, 26 Dec 2011 16:14:44 -0800 Subject: Version 0.0.7 of user manual Added chapter 14: The menu and sub-menus Signed-off-by: Jacco van Koll Signed-off-by: Dirk Hohndel --- Documentation/user-manual.txt | 47 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt index 95a205fd2..039f703b3 100644 --- a/Documentation/user-manual.txt +++ b/Documentation/user-manual.txt @@ -2,7 +2,7 @@ Subsurface 1.2 User Manual -Version 0.0.6 +Version 0.0.7 Autor documentation: Jacco van Koll @@ -50,7 +50,7 @@ The screen is devided in 3 area's: Area with the dives (usually called dive list), which can be sorted by number, date, etc. -4. Import new dives +4. Import new dives from your divecomputer Before you start fiddeling around with your divecomputer, note that there are divecomputers that consume more power when they are in the @@ -457,6 +457,49 @@ And with the menu 'File - Save' you can save your dives into the Subsurface format. +14. The menu and sub-menus + +Within Subsurface, there are several menu and sub-menu options. All of +those will be described here with their function. + +14.1 The file menu + +The file menu is used for the following menu options: + + Open: Open your saved Subsurface xml file(s) + Save: Save your current divelogs or changes you made to your divelogs + Print: Print your current divelog profiles and information about the dive + Import: Import your dives from your divecomputer, JDivelogs or Suunto Divemanager + Preferences: Set your preferences as described in chapter 10 + Quit: Quit the program + +14.2 The Log menu + +Within the Log menu, there are only 2 sub-items: + + Renumber: This option provides you with a popup. Within this + popup you can choose what the first number of your dives should be + for this set of dives. + View: This is a submenu containing: + List: Show only the list of dives you have made + Profile: Show only the dive profile of the selected dive + Info: Show only the 3 tab information screen + Three: Show the 'default' 3 screen setup + +14.3 The Filter menu + +This menu gives you the choice to enable or disable Events for the +selected divelog(s). At this time, you can enable or disable ascent. +When you enable ascent for your dives, within the dive profile, a yellow +marker with exclamation sign (!) will show on the points where you have +ascented. + +14.4 The Help menu + +The Help menu shows only the About, which contains the version and author +information and License button. + + Appendix A The use of libdivecomputer provides the support for divecomputers. Within -- cgit v1.2.3-70-g09d2 From 4dfbb7394f9aea8b79d46eb4dbb8082898811512 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 26 Dec 2011 16:46:06 -0800 Subject: Remove unused return value We never use the number of decimals that this function returns. So we might as well not return them to begin with. Signed-off-by: Dirk Hohndel --- equipment.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/equipment.c b/equipment.c index 023db75d4..482fb4e1c 100644 --- a/equipment.c +++ b/equipment.c @@ -64,9 +64,8 @@ static int convert_pressure(int mbar, double *p) return decimals; } -static int convert_volume_pressure(int ml, int mbar, double *v, double *p) +static void convert_volume_pressure(int ml, int mbar, double *v, double *p) { - int decimals = 1; double volume, pressure; volume = ml / 1000.0; @@ -78,13 +77,11 @@ static int convert_volume_pressure(int ml, int mbar, double *v, double *p) if (output_units.pressure == PSI) { pressure = mbar_to_PSI(mbar); - decimals = 0; } else pressure = mbar / 1000.0; } *v = volume; *p = pressure; - return decimals; } static void set_cylinder_type_spinbuttons(struct cylinder_widget *cylinder, int ml, int mbar) -- cgit v1.2.3-70-g09d2