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>
This commit is contained in:
Dirk Hohndel 2014-02-23 15:28:31 -08:00
parent 76393a2f53
commit b5a02e50aa
7 changed files with 86 additions and 4 deletions

View file

@ -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)