Mercurial > public > ostc4
comparison Discovery/Src/t7.c @ 866:3a1c533f3840
Zusammenf?hren
author | heinrichsweikamp |
---|---|
date | Mon, 22 Jul 2024 16:40:14 +0200 |
parents | 4bd8935f5176 |
children | 18946846b95b |
comparison
equal
deleted
inserted
replaced
865:cb386cccc7c5 | 866:3a1c533f3840 |
---|---|
1958 | 1958 |
1959 t7cY0free.WindowLineSpacing = 48; | 1959 t7cY0free.WindowLineSpacing = 48; |
1960 t7cY0free.WindowNumberOfTextLines = 6; | 1960 t7cY0free.WindowNumberOfTextLines = 6; |
1961 t7cY0free.WindowTab = 375; | 1961 t7cY0free.WindowTab = 375; |
1962 | 1962 |
1963 t7cY0free.WindowY0 = t7cC.WindowY0 - 10; | |
1964 if (!settings->FlipDisplay) { | 1963 if (!settings->FlipDisplay) { |
1964 t7cY0free.WindowY0 = t7cC.WindowY0 - 10; | |
1965 t7cY0free.WindowX0 += 10; | 1965 t7cY0free.WindowX0 += 10; |
1966 t7cY0free.WindowY0 += 10; | 1966 t7cY0free.WindowY0 += 10; |
1967 t7cY0free.WindowY1 = 355; | 1967 t7cY0free.WindowY1 = 355; |
1968 GFX_write_string(&FontT24, &t7cY0free, heading, 1); | 1968 GFX_write_string(&FontT24, &t7cY0free, heading, 1); |
1969 t7cY0free.WindowX0 -= 10; | 1969 t7cY0free.WindowX0 -= 10; |
1970 t7cY0free.WindowY0 -= 10; | 1970 t7cY0free.WindowY0 -= 10; |
1971 } else { | 1971 } else { |
1972 t7cY0free.WindowY1 = 400; | |
1972 t7cY0free.WindowY1 -= 10; | 1973 t7cY0free.WindowY1 -= 10; |
1973 t7cY0free.WindowX1 -= 10; | 1974 t7cY0free.WindowX1 -= 10; |
1974 GFX_write_string(&FontT24, &t7cY0free, heading, 1); | 1975 GFX_write_string(&FontT24, &t7cY0free, heading, 1); |
1975 t7cY0free.WindowY1 += 10; | 1976 t7cY0free.WindowY1 += 10; |
1976 t7cY0free.WindowX1 += 10; | 1977 t7cY0free.WindowX1 += 10; |
2111 | 2112 |
2112 t7cY0free.WindowLineSpacing = 48; | 2113 t7cY0free.WindowLineSpacing = 48; |
2113 t7cY0free.WindowNumberOfTextLines = 6; | 2114 t7cY0free.WindowNumberOfTextLines = 6; |
2114 t7cY0free.WindowTab = 375; | 2115 t7cY0free.WindowTab = 375; |
2115 | 2116 |
2116 t7cY0free.WindowY0 = t7cC.WindowY0 - 10; | |
2117 if (!settings->FlipDisplay) { | 2117 if (!settings->FlipDisplay) { |
2118 t7cY0free.WindowY0 = t7cC.WindowY0 - 10; | |
2118 t7cY0free.WindowX0 += 10; | 2119 t7cY0free.WindowX0 += 10; |
2119 t7cY0free.WindowY0 += 10; | 2120 t7cY0free.WindowY0 += 10; |
2120 t7cY0free.WindowY1 = 355; | 2121 t7cY0free.WindowY1 = 355; |
2121 GFX_write_string(&FontT24, &t7cY0free, heading, 1); | 2122 GFX_write_string(&FontT24, &t7cY0free, heading, 1); |
2122 t7cY0free.WindowX0 -= 10; | 2123 t7cY0free.WindowX0 -= 10; |
2123 t7cY0free.WindowY0 -= 10; | 2124 t7cY0free.WindowY0 -= 10; |
2124 } else { | 2125 } else { |
2126 t7cY0free.WindowY1 = 400; | |
2125 t7cY0free.WindowY1 -= 10; | 2127 t7cY0free.WindowY1 -= 10; |
2126 t7cY0free.WindowX1 -= 10; | 2128 t7cY0free.WindowX1 -= 10; |
2127 GFX_write_string(&FontT24, &t7cY0free, heading, 1); | 2129 GFX_write_string(&FontT24, &t7cY0free, heading, 1); |
2128 t7cY0free.WindowY1 += 10; | 2130 t7cY0free.WindowY1 += 10; |
2129 t7cY0free.WindowX1 += 10; | 2131 t7cY0free.WindowX1 += 10; |