mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
76393a2f53
commit
b5a02e50aa
7 changed files with 86 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue