v2.0.1: Splash screen airplane resized and rotated
This commit is contained in:
@@ -13,6 +13,7 @@ namespace {
|
|||||||
// Dezente konzentrische Ringe + Fadenkreuz als "Zielfernrohr"-Hintergrund,
|
// Dezente konzentrische Ringe + Fadenkreuz als "Zielfernrohr"-Hintergrund,
|
||||||
// in gedaempftem Gruen (gleicher Ton wie die Sweep-Nachzieh-Linie im
|
// in gedaempftem Gruen (gleicher Ton wie die Sweep-Nachzieh-Linie im
|
||||||
// Radar-Bildschirm), damit das Flugzeug wie ins Visier genommen wirkt.
|
// Radar-Bildschirm), damit das Flugzeug wie ins Visier genommen wirkt.
|
||||||
|
// UNVERAENDERT gegenueber vorher - nur das Flugzeug wurde verkleinert/gedreht.
|
||||||
void drawRadarReticle(TFT_eSPI& tft, int16_t cx, int16_t cy) {
|
void drawRadarReticle(TFT_eSPI& tft, int16_t cx, int16_t cy) {
|
||||||
uint16_t dim = 0x0320;
|
uint16_t dim = 0x0320;
|
||||||
tft.drawCircle(cx, cy, 80, dim);
|
tft.drawCircle(cx, cy, 80, dim);
|
||||||
@@ -22,23 +23,22 @@ namespace {
|
|||||||
tft.drawFastVLine(cx, cy - 80, 160, dim);
|
tft.drawFastVLine(cx, cy - 80, 160, dim);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Einfache Vektor-Silhouette eines schlanken Duesenjets von oben (keine
|
// Flugzeug-Silhouette: 40% kleiner (Skalierung 0.6) und 25 Grad im
|
||||||
// Bilddatei eingebunden, daher per Dreiecken gezeichnet) - nur als Umriss
|
// Uhrzeigersinn gedreht (Nase zeigt jetzt leicht nach rechts), um den
|
||||||
// (nicht ausgefuellt), in Gruen, passend zum restlichen Dark-Theme.
|
// Reticle-Mittelpunkt (cx, 174) - der Radar-Kreis selbst bleibt exakt
|
||||||
// Etwas kleiner als frueher, damit er sauber zwischen Titel und
|
// gleich gross wie vorher.
|
||||||
// Statuszeilen passt, ohne diese zu ueberlappen.
|
|
||||||
void drawAirplane(TFT_eSPI& tft, int16_t cx) {
|
void drawAirplane(TFT_eSPI& tft, int16_t cx) {
|
||||||
uint16_t color = TFT_GREEN;
|
uint16_t color = TFT_GREEN;
|
||||||
|
|
||||||
// Schlanker Rumpf (nur Umriss)
|
// Rumpf (nur Umriss)
|
||||||
tft.drawTriangle(cx, 116, cx - 4, 223, cx + 4, 223, color);
|
tft.drawTriangle(cx + 15, 142, cx - 15, 200, cx - 10, 202, color);
|
||||||
|
|
||||||
// Deltafluegel, nach hinten gepfeilt (nur Umriss)
|
// Deltafluegel (nur Umriss)
|
||||||
tft.drawTriangle(cx, 155, cx - 71, 209, cx, 184, color);
|
tft.drawTriangle(cx + 5, 164, cx - 47, 175, cx - 3, 179, color);
|
||||||
tft.drawTriangle(cx, 155, cx + 71, 209, cx, 184, color);
|
tft.drawTriangle(cx + 5, 164, cx + 30, 211, cx - 3, 179, color);
|
||||||
|
|
||||||
// Kleines Leitwerk (Hoehenruder) am Heck (nur Umriss)
|
// Leitwerk (nur Umriss)
|
||||||
tft.drawTriangle(cx, 219, cx - 16, 232, cx + 16, 232, color);
|
tft.drawTriangle(cx - 11, 198, cx - 23, 201, cx - 6, 210, color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user