modify text positions
This commit is contained in:
+10
-10
@@ -39,12 +39,12 @@ private:
|
|||||||
FrameCanvas *offscreen = nullptr;
|
FrameCanvas *offscreen = nullptr;
|
||||||
|
|
||||||
std::vector<Text> display_text;
|
std::vector<Text> display_text;
|
||||||
Text flight_operator = {"", 0, 14, 0, WHITE};
|
Text flight_operator = {"", 1, 14, 0, WHITE};
|
||||||
Text flight_number = {"", 0, 21, 0, WHITE};
|
Text flight_number = {"", 1, 21, 0, WHITE};
|
||||||
Text altitude = {"FT", 41, 0, 0, WHITE};
|
Text altitude = {"", 41, 0, 0, WHITE};
|
||||||
Text speed = {"KTS", 41, 7, 0, WHITE};
|
Text speed = {"", 41, 7, 0, WHITE};
|
||||||
Text track = {"DEG", 41, 14, 0, WHITE};
|
Text track = {"", 41, 14, 0, WHITE};
|
||||||
Text vertical_speed = {"VS", 41, 21, 0, WHITE};
|
Text vertical_speed = {"", 41, 21, 0, WHITE};
|
||||||
|
|
||||||
const char *ga_logo_path = "";
|
const char *ga_logo_path = "";
|
||||||
const char *ufo_logo_path = "";
|
const char *ufo_logo_path = "";
|
||||||
@@ -136,10 +136,10 @@ public:
|
|||||||
offscreen = canvas->CreateFrameCanvas();
|
offscreen = canvas->CreateFrameCanvas();
|
||||||
|
|
||||||
display_text = {
|
display_text = {
|
||||||
{"ALT", 24, 0, 0, WHITE},
|
{"ALT", 21, 0, 0, WHITE},
|
||||||
{"SPD", 24, 7, 0, WHITE},
|
{"SPD", 21, 7, 0, WHITE},
|
||||||
{"TRK", 24, 14, 0, WHITE},
|
{"TRK", 21, 14, 0, WHITE},
|
||||||
{"FPM", 24, 21, 0, WHITE},
|
{"VS", 28, 21, 0, WHITE},
|
||||||
};
|
};
|
||||||
|
|
||||||
ga_logo = load_logo(ga_logo_path);
|
ga_logo = load_logo(ga_logo_path);
|
||||||
|
|||||||
Reference in New Issue
Block a user