aboutsummaryrefslogtreecommitdiffstats
path: root/profile.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-23 15:28:31 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-23 15:28:31 -0800
commitb5a02e50aa94c10d2c9f2062af6b4e8d9cfb9294 (patch)
treebbb1b714255c8c66fd9bf9d4d05d7f2d8f1c9d24 /profile.h
parent76393a2f536dd6823b08ec3a53ffcb16b216bbf4 (diff)
downloadsubsurface-b5a02e50aa94c10d2c9f2062af6b4e8d9cfb9294.tar.gz
New profile: create new class for DiveHeartrateItem
This allows us to give it a different color (red) and make it a smaller size. While implementing this I also fixed the size of the temperature text in the new profile. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.h')
-rw-r--r--profile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/profile.h b/profile.h
index 6e6e6828a..ff51f4734 100644
--- a/profile.h
+++ b/profile.h
@@ -98,6 +98,8 @@ void setup_pp_limits(struct graphics_context *gc);
#define PP_TEXT_SIZE (12 * TEXT_SCALE)
#define TEMP_TEXT_SIZE (12 * TEXT_SCALE)
+#define TEMP_TEXT_SCALE 0.8
+#define HR_TEXT_CALE 0.7
#define RIGHT (-1.0)
#define CENTER (-0.5)
#define LEFT (0.0)