mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
3312c9a3a4
commit
248f1b86d1
5 changed files with 411 additions and 8 deletions
4
dive.h
4
dive.h
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue