blob: 63f2d61066bffd176a9160dc9e682c59b30f03f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
--- display.c.old 2007-01-22 15:40:18.000000000 +0100
+++ display.c 2007-01-22 15:45:09.000000000 +0100
@@ -239,7 +239,7 @@
TEXT_OFFSET_Y_CHANNEL = 3;
TEXT_OFFSET_Y_TITLE = 3;
SYMBOL_SPACE = 1;
- TIMEBAR_HEIGHT = 3;
+ TIMEBAR_HEIGHT = 6;
}
else
{
@@ -1367,14 +1367,14 @@
if (bitmap->Height() >= MINY_L)
nProgressbarHeight = 15;
else if (bitmap->Height() >= MINY_M)
- nProgressbarHeight = 9;
+ nProgressbarHeight = 5; // nProgressbarHeight = 9;
else if (bitmap->Height() >= MINY_S)
nProgressbarHeight = 5;
else
nProgressbarHeight = 3;
if (IsLogoActive())
- nTopY = FRAME_SPACE_Y + logo->Height() + 2;
+ nTopY = FRAME_SPACE_Y + logo->Height() + 0; // nTopY = FRAME_SPACE_Y + logo->Height() + 2;
else if (GraphLCDSetup.ShowDateTime)
nTopY = FRAME_SPACE_Y + normalFont->TotalAscent() + 2 * TEXT_OFFSET_Y_TIME + FRAME_SPACE_YB;
else
@@ -1386,7 +1386,8 @@
nMaxX = std::max(1, bitmap->Width() - (2 * FRAME_SPACE_X) - 2 * TEXT_OFFSET_X);
lineHeight = FRAME_SPACE_Y + largeFont->TotalHeight();
- maxLines = std::max(0, (bitmap->Height() - normalFont->TotalHeight() - FRAME_SPACE_Y - nProgressbarHeight - 2 - nTopY) / lineHeight);
+ maxLines = std::max(0, (bitmap->Height() - normalFont->TotalHeight() - FRAME_SPACE_Y - nProgressbarHeight - 0 - nTopY) / lineHeight);
+ // maxLines = std::max(0, (bitmap->Height() - normalFont->TotalHeight() - FRAME_SPACE_Y - nProgressbarHeight - 2 - nTopY) / lineHeight);
if (maxLines == 0)
{
|