mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Added the code to show the cylinders from a dive.
i Added the code to show the cylinders from a dive, this code also already permits additions from the interface, so the user can click 'add' and insert what he wants there. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
246fbd0333
commit
126bc8cfa3
4 changed files with 44 additions and 28 deletions
8
dive.h
8
dive.h
|
|
@ -155,10 +155,10 @@ typedef struct {
|
|||
const char *description; /* "integrated", "belt", "ankle" */
|
||||
} weightsystem_t;
|
||||
|
||||
extern gboolean cylinder_nodata(cylinder_t *cyl);
|
||||
extern gboolean cylinder_none(void *_data);
|
||||
extern gboolean no_weightsystems(weightsystem_t *ws);
|
||||
extern gboolean weightsystems_equal(weightsystem_t *ws1, weightsystem_t *ws2);
|
||||
extern bool cylinder_nodata(cylinder_t *cyl);
|
||||
extern bool cylinder_none(void *_data);
|
||||
extern bool no_weightsystems(weightsystem_t *ws);
|
||||
extern bool weightsystems_equal(weightsystem_t *ws1, weightsystem_t *ws2);
|
||||
|
||||
extern int get_pressure_units(unsigned int mb, const char **units);
|
||||
extern double get_depth_units(unsigned int mm, int *frac, const char **units);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue