diff options
author | Maximilian Güntner <maximilian.guentner@gmail.com> | 2013-09-25 02:07:07 +0200 |
---|---|---|
committer | Maximilian Güntner <maximilian.guentner@gmail.com> | 2013-09-27 18:42:19 +0200 |
commit | 248f1b86d15b63fe5774667f8408e2abbd5f9504 (patch) | |
tree | f284af11c30b98566de74ffd0105a927ae31cead /dive.h | |
parent | 3312c9a3a4306a7448c45cd2c1eba3d0cc3503c3 (diff) | |
download | subsurface-248f1b86d15b63fe5774667f8408e2abbd5f9504.tar.gz |
Added a ruler which can be dragged along the profile
This patch adds a ruler QGraphicsItem which can be dragged
along the profile. The ruler displays minimum, maximum and
average for depth and speed (ascent/descent rate). Also, all used
gas will be displayed.
This also adds a new attribute to struct plot_data to store the
speed (not just as velocity_t).
Signed-off-by: Maximilian Güntner <maximilian.guentner@gmail.com>
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -658,6 +658,10 @@ const char *weekday(int wday); const char *monthname(int mon); #define UTF8_DEGREE "\xc2\xb0" +#define UTF8_DELTA "\xce\x94" +#define UTF8_UPWARDS_ARROW "\xE2\x86\x91" +#define UTF8_DOWNWARDS_ARROW "\xE2\x86\x93" +#define UTF8_AVERAGE "\xc3\xb8" #define UCS4_DEGREE 0xb0 #define UTF8_SUBSCRIPT_2 "\xe2\x82\x82" #define UTF8_WHITESTAR "\xe2\x98\x86" |