Make AMI text white

This commit is contained in:
Jasper Blanckenburg 2023-08-04 00:19:51 +02:00
parent 58ce5b06c6
commit f191946a90
3 changed files with 13 additions and 13 deletions

View File

@ -3,6 +3,6 @@
touchgfx_path := ../Middlewares/ST/touchgfx touchgfx_path := ../Middlewares/ST/touchgfx
# Location of the TouchGFX Environment # Location of the TouchGFX Environment
touchgfx_env := ../../../../../TouchGFX/4.22.0/env touchgfx_env := C:/TouchGFX/4.22.0/env
# Optional additional compiler flags # Optional additional compiler flags
user_cflags := -DUSE_BPP=16 -std=gnu++1z -Wno-cast-qual -Wno-missing-declarations -Wno-format-truncation -Wno-unused-variable user_cflags := -DUSE_BPP=16 -std=gnu++1z -Wno-cast-qual -Wno-missing-declarations -Wno-format-truncation -Wno-unused-variable

View File

@ -21,7 +21,7 @@ AMIViewBase::AMIViewBase()
add(logo); add(logo);
currentMission.setPosition(0, 15, 480, 49); currentMission.setPosition(0, 15, 480, 49);
currentMission.setColor(touchgfx::Color::getColorFromRGB(197, 14, 31)); currentMission.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
currentMission.setLinespacing(0); currentMission.setLinespacing(0);
currentMission.setTypedText(touchgfx::TypedText(T_INVALID_HUGE)); currentMission.setTypedText(touchgfx::TypedText(T_INVALID_HUGE));
add(currentMission); add(currentMission);

View File

@ -218,9 +218,9 @@
"TextId": "Invalid_Huge", "TextId": "Invalid_Huge",
"TextRotation": "0", "TextRotation": "0",
"Color": { "Color": {
"Red": 197, "Red": 255,
"Green": 14, "Green": 255,
"Blue": 31 "Blue": 255
} }
}, },
{ {
@ -236,7 +236,7 @@
"X": 273, "X": 273,
"Y": 103, "Y": 103,
"Width": 84, "Width": 84,
"Height": 24, "Height": 25,
"TextId": "__SingleUse_3MDX", "TextId": "__SingleUse_3MDX",
"TextRotation": "0", "TextRotation": "0",
"Color": { "Color": {
@ -252,7 +252,7 @@
"X": 273, "X": 273,
"Y": 135, "Y": 135,
"Width": 85, "Width": 85,
"Height": 24, "Height": 25,
"TextId": "__SingleUse_JFR7", "TextId": "__SingleUse_JFR7",
"TextRotation": "0", "TextRotation": "0",
"Color": { "Color": {
@ -332,7 +332,7 @@
"X": 273, "X": 273,
"Y": 198, "Y": 198,
"Width": 129, "Width": 129,
"Height": 24, "Height": 25,
"TextId": "__SingleUse_590R", "TextId": "__SingleUse_590R",
"TextRotation": "0", "TextRotation": "0",
"Color": { "Color": {
@ -348,7 +348,7 @@
"X": 273, "X": 273,
"Y": 166, "Y": 166,
"Width": 128, "Width": 128,
"Height": 24, "Height": 25,
"TextId": "__SingleUse_Z78U", "TextId": "__SingleUse_Z78U",
"TextRotation": "0", "TextRotation": "0",
"Color": { "Color": {
@ -636,7 +636,7 @@
"X": 68, "X": 68,
"Y": 247, "Y": 247,
"Width": 255, "Width": 255,
"Height": 24, "Height": 25,
"TextId": "__SingleUse_0L75", "TextId": "__SingleUse_0L75",
"TextRotation": "0", "TextRotation": "0",
"Color": { "Color": {
@ -652,7 +652,7 @@
"X": 68, "X": 68,
"Y": 215, "Y": 215,
"Width": 273, "Width": 273,
"Height": 24, "Height": 25,
"TextId": "__SingleUse_GA13", "TextId": "__SingleUse_GA13",
"TextRotation": "0", "TextRotation": "0",
"Color": { "Color": {
@ -732,7 +732,7 @@
"X": 68, "X": 68,
"Y": 184, "Y": 184,
"Width": 259, "Width": 259,
"Height": 24, "Height": 25,
"TextId": "__SingleUse_OOU3", "TextId": "__SingleUse_OOU3",
"TextRotation": "0", "TextRotation": "0",
"Color": { "Color": {
@ -748,7 +748,7 @@
"X": 68, "X": 68,
"Y": 152, "Y": 152,
"Width": 256, "Width": 256,
"Height": 24, "Height": 25,
"TextId": "__SingleUse_2FPP", "TextId": "__SingleUse_2FPP",
"TextRotation": "0", "TextRotation": "0",
"Color": { "Color": {