Add precharge progress bar
This commit is contained in:
parent
ff37c8503d
commit
04b95a19d1
|
@ -368,6 +368,7 @@ TouchGFX/generated/images/src/image_Fasttube_Logo_white.cpp \
|
|||
TouchGFX/generated/images/src/image_bat_bar_bg.cpp \
|
||||
TouchGFX/generated/images/src/image_logo_dv_small.cpp \
|
||||
TouchGFX/generated/images/src/image_logo_dv_small_white.cpp \
|
||||
TouchGFX/generated/images/src/image_precharge_bg.cpp \
|
||||
TouchGFX/generated/texts/src/LanguageGb.cpp \
|
||||
TouchGFX/generated/texts/src/Texts.cpp \
|
||||
TouchGFX/generated/texts/src/TypedTextDatabase.cpp \
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 97 B |
|
@ -137,6 +137,9 @@
|
|||
</Text>
|
||||
</TextGroup>
|
||||
<TextGroup Id="Unsorted">
|
||||
<Text Id="__SingleUse_HMH2" Alignment="Left" TypographyId="Chinat_Large">
|
||||
<Translation Language="GB">PRECHARGE</Translation>
|
||||
</Text>
|
||||
<Text Id="__SingleUse_4OBM" Alignment="Center" TypographyId="Chinat_Small">
|
||||
<Translation Language="GB">LV</Translation>
|
||||
</Text>
|
||||
|
|
|
@ -1,8 +1,14 @@
|
|||
32
|
||||
58
|
||||
63
|
||||
65
|
||||
67
|
||||
69
|
||||
71
|
||||
72
|
||||
77
|
||||
80
|
||||
82
|
||||
97
|
||||
101
|
||||
104
|
||||
|
|
|
@ -2,8 +2,14 @@ AH:0 BA:1 FC:63 EC:0 FF:0 CF:0
|
|||
32
|
||||
58
|
||||
63
|
||||
65
|
||||
67
|
||||
69
|
||||
71
|
||||
72
|
||||
77
|
||||
80
|
||||
82
|
||||
97
|
||||
101
|
||||
104
|
||||
|
|
|
@ -29,6 +29,26 @@ KEEP extern const uint8_t unicodes_CHINN____30_4bpp_0[] FONT_GLYPH_LOCATION_FLAS
|
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0xFA, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
// Unicode: [0x0041, A]
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD7, 0xDF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0xB1, 0xFF, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0xF9, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x40, 0xFF, 0xFF, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0xD0, 0xFF, 0xFF, 0xFF, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6,
|
||||
0xFF, 0xFF, 0xF7, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFE, 0xFF,
|
||||
0x9F, 0xA0, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x1E,
|
||||
0x10, 0xFE, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x06, 0x00,
|
||||
0xF6, 0xFF, 0xEF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
|
||||
0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
|
||||
0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
|
||||
0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
|
||||
0x04, 0x00, 0x00, 0x00, 0x10, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0D,
|
||||
0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x3E, 0x22, 0x22, 0x22, 0x22, 0x32, 0xFF, 0xFF, 0x6F, 0x00,
|
||||
0x00, 0x00, 0xE2, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0xEF, 0x01, 0x00,
|
||||
0x00, 0xF9, 0xFF, 0xEF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x08, 0x00, 0x30,
|
||||
0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x2F, 0x00, 0xB0, 0xFF,
|
||||
0xFF, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0xAF, 0x00, 0xF5, 0xFF, 0xFF,
|
||||
0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0xFF, 0x04,
|
||||
// Unicode: [0x0043, C]
|
||||
0x00, 0x00, 0xA5, 0xED, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xAF, 0x00,
|
||||
0xC2, 0xFF, 0xFF, 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0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
|
||||
0xFF, 0xFF, 0xFF, 0xCF, 0xF3, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0xF7, 0xFF, 0xCF, 0xF3, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7,
|
||||
0xFF, 0xCF, 0xF3, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF,
|
||||
0xCF, 0xF3, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xCF,
|
||||
0xF3, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xCF, 0xF3,
|
||||
0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xCF, 0xF3, 0xFF,
|
||||
0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xCF, 0xF3, 0xFF, 0xFF,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xCF,
|
||||
// Unicode: [0x004D, M]
|
||||
0x00, 0x60, 0xEC, 0xBE, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xEB, 0xCF, 0x07, 0x00,
|
||||
0x00, 0xFB, 0xFF, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xFF, 0xBF, 0x01,
|
||||
|
@ -70,6 +150,47 @@ KEEP extern const uint8_t unicodes_CHINN____30_4bpp_0[] FONT_GLYP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x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x05,
|
||||
0xF3, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x01,
|
||||
0xF3, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xAF, 0x00,
|
||||
0xF3, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x1D, 0x00,
|
||||
0xF3, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xCF, 0x02, 0x00,
|
||||
0xF3, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xCE, 0x06, 0x00, 0x00,
|
||||
0xF3, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0xF3, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0xF3, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0xF3, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0xF3, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0xF3, 0xFF, 0xFF, 0x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, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
|
||||
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x02, 0xF3, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
|
||||
0xFF, 0xFF, 0xFF, 0xFF, 0x0A, 0xF3, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
|
||||
0xFF, 0xFF, 0xFF, 0x1F, 0xF3, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0xFD, 0xFF, 0x4F, 0xF3, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD,
|
||||
0xFF, 0x5F, 0xF3, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF,
|
||||
0x5F, 0xF3, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x5F,
|
||||
0xF3, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x5F, 0xF3,
|
||||
0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x5F, 0xF3, 0xFF,
|
||||
0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x5F, 0xF3, 0xFF, 0xFF,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x5F,
|
||||
// Unicode: [0x0061, a]
|
||||
0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xAE, 0x03, 0x00, 0x80,
|
||||
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x6F, 0x00, 0x80, 0xFF,
|
||||
|
|
|
@ -7,19 +7,25 @@ KEEP extern const touchgfx::GlyphNode glyphs_CHINN____30_4bpp[] FONT_TABLE_LOCAT
|
|||
{ 0, 0x0020, 0, 0, 0, 0, 8, 0, 0, 0x00 }, // space
|
||||
{ 0, 0x003A, 7, 14, 14, 1, 8, 0, 0, 0x00 }, // colon
|
||||
{ 56, 0x003F, 30, 20, 20, 0, 30, 0, 0, 0x00 }, // question
|
||||
{ 356, 0x0043, 30, 20, 20, 0, 30, 0, 0, 0x00 }, // C
|
||||
{ 656, 0x004D, 32, 20, 20, 0, 32, 0, 0, 0x00 }, // M
|
||||
{ 976, 0x0061, 30, 20, 20, 0, 30, 0, 0, 0x00 }, // a
|
||||
{ 1276, 0x0065, 29, 20, 20, 0, 30, 0, 0, 0x00 }, // e
|
||||
{ 1576, 0x0068, 30, 20, 20, 0, 31, 0, 0, 0x00 }, // h
|
||||
{ 1876, 0x0069, 6, 20, 20, 0, 7, 0, 0, 0x00 }, // i
|
||||
{ 1936, 0x006D, 29, 20, 20, 0, 30, 0, 0, 0x00 }, // m
|
||||
{ 2236, 0x006E, 30, 20, 20, 0, 30, 0, 0, 0x00 }, // n
|
||||
{ 2536, 0x006F, 30, 20, 20, 0, 30, 0, 0, 0x00 }, // o
|
||||
{ 2836, 0x0072, 30, 20, 20, 0, 30, 0, 0, 0x00 }, // r
|
||||
{ 3136, 0x0073, 32, 20, 20, 0, 32, 0, 0, 0x00 }, // s
|
||||
{ 3456, 0x0074, 30, 20, 20, -1, 28, 0, 0, 0x00 }, // t
|
||||
{ 3756, 0x0075, 30, 20, 20, 0, 31, 0, 0, 0x00 } // u
|
||||
{ 356, 0x0041, 29, 20, 20, -1, 27, 0, 0, 0x00 }, // A
|
||||
{ 656, 0x0043, 30, 20, 20, 0, 30, 0, 0, 0x00 }, // C
|
||||
{ 956, 0x0045, 30, 20, 20, 0, 30, 0, 0, 0x00 }, // E
|
||||
{ 1256, 0x0047, 30, 20, 20, 0, 30, 0, 0, 0x00 }, // G
|
||||
{ 1556, 0x0048, 30, 20, 20, 0, 31, 0, 0, 0x00 }, // H
|
||||
{ 1856, 0x004D, 32, 20, 20, 0, 32, 0, 0, 0x00 }, // M
|
||||
{ 2176, 0x0050, 31, 20, 20, 0, 31, 0, 0, 0x00 }, // P
|
||||
{ 2496, 0x0052, 30, 20, 20, 0, 30, 0, 0, 0x00 }, // R
|
||||
{ 2796, 0x0061, 30, 20, 20, 0, 30, 0, 0, 0x00 }, // a
|
||||
{ 3096, 0x0065, 29, 20, 20, 0, 30, 0, 0, 0x00 }, // e
|
||||
{ 3396, 0x0068, 30, 20, 20, 0, 31, 0, 0, 0x00 }, // h
|
||||
{ 3696, 0x0069, 6, 20, 20, 0, 7, 0, 0, 0x00 }, // i
|
||||
{ 3756, 0x006D, 29, 20, 20, 0, 30, 0, 0, 0x00 }, // m
|
||||
{ 4056, 0x006E, 30, 20, 20, 0, 30, 0, 0, 0x00 }, // n
|
||||
{ 4356, 0x006F, 30, 20, 20, 0, 30, 0, 0, 0x00 }, // o
|
||||
{ 4656, 0x0072, 30, 20, 20, 0, 30, 0, 0, 0x00 }, // r
|
||||
{ 4956, 0x0073, 32, 20, 20, 0, 32, 0, 0, 0x00 }, // s
|
||||
{ 5276, 0x0074, 30, 20, 20, -1, 28, 0, 0, 0x00 }, // t
|
||||
{ 5576, 0x0075, 30, 20, 20, 0, 31, 0, 0, 0x00 } // u
|
||||
};
|
||||
|
||||
// CHINN____30_4bpp
|
||||
|
@ -37,6 +43,6 @@ touchgfx::GeneratedFont& getFont_CHINN____30_4bpp();
|
|||
|
||||
touchgfx::GeneratedFont& getFont_CHINN____30_4bpp()
|
||||
{
|
||||
static touchgfx::GeneratedFont CHINN____30_4bpp(glyphs_CHINN____30_4bpp, 16, 30, 30, 0, 0, 4, 1, 1, 1, unicodes_CHINN____30_4bpp, kerning_CHINN____30_4bpp, 63, 0, 0, 0);
|
||||
static touchgfx::GeneratedFont CHINN____30_4bpp(glyphs_CHINN____30_4bpp, 22, 30, 30, 0, 0, 4, 1, 1, 1, unicodes_CHINN____30_4bpp, kerning_CHINN____30_4bpp, 63, 0, 0, 0);
|
||||
return CHINN____30_4bpp;
|
||||
}
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include <gui/containers/DriverViewField.hpp>
|
||||
#include <touchgfx/containers/scrollers/ScrollWheel.hpp>
|
||||
#include <gui/containers/DriverViewFieldSelection.hpp>
|
||||
#include <touchgfx/containers/progress_indicators/BoxProgress.hpp>
|
||||
|
||||
class DriverViewViewBase : public touchgfx::View<DriverViewPresenter>
|
||||
{
|
||||
|
@ -85,6 +86,8 @@ protected:
|
|||
DriverViewField field3;
|
||||
touchgfx::ScrollWheel fieldTypeSelection;
|
||||
touchgfx::DrawableListItems<DriverViewFieldSelection, 11> fieldTypeSelectionListItems;
|
||||
touchgfx::BoxProgress prechargeProgress;
|
||||
touchgfx::TextArea prechargeLabel;
|
||||
|
||||
private:
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ DriverViewViewBase::DriverViewViewBase() :
|
|||
__background.setColor(touchgfx::Color::getColorFromRGB(0, 0, 0));
|
||||
add(__background);
|
||||
|
||||
logo.setXY(160, 263);
|
||||
logo.setXY(160, 265);
|
||||
logo.setBitmap(touchgfx::Bitmap(BITMAP_FASTTUBE_LOGO_SMALL_WHITE_ID));
|
||||
add(logo);
|
||||
|
||||
|
@ -116,6 +116,23 @@ DriverViewViewBase::DriverViewViewBase() :
|
|||
fieldTypeSelection.animateToItem(0, 0);
|
||||
fieldTypeSelection.setVisible(false);
|
||||
add(fieldTypeSelection);
|
||||
|
||||
prechargeProgress.setXY(0, 265);
|
||||
prechargeProgress.setProgressIndicatorPosition(0, 0, 480, 55);
|
||||
prechargeProgress.setRange(0, 100);
|
||||
prechargeProgress.setDirection(touchgfx::AbstractDirectionProgress::RIGHT);
|
||||
prechargeProgress.setBackground(touchgfx::Bitmap(BITMAP_PRECHARGE_BG_ID));
|
||||
prechargeProgress.setColor(touchgfx::Color::getColorFromRGB(136, 255, 0));
|
||||
prechargeProgress.setValue(0);
|
||||
prechargeProgress.setVisible(false);
|
||||
add(prechargeProgress);
|
||||
|
||||
prechargeLabel.setXY(105, 274);
|
||||
prechargeLabel.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
prechargeLabel.setLinespacing(0);
|
||||
prechargeLabel.setTypedText(touchgfx::TypedText(T___SINGLEUSE_HMH2));
|
||||
prechargeLabel.setVisible(false);
|
||||
add(prechargeLabel);
|
||||
}
|
||||
|
||||
DriverViewViewBase::~DriverViewViewBase()
|
||||
|
|
|
@ -13,6 +13,7 @@ const uint16_t BITMAP_FASTTUBE_LOGO_SMALL_WHITE_ID = 3;
|
|||
const uint16_t BITMAP_FASTTUBE_LOGO_WHITE_ID = 4;
|
||||
const uint16_t BITMAP_LOGO_DV_SMALL_ID = 5;
|
||||
const uint16_t BITMAP_LOGO_DV_SMALL_WHITE_ID = 6;
|
||||
const uint16_t BITMAP_PRECHARGE_BG_ID = 7;
|
||||
|
||||
namespace BitmapDatabase
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// 4.21.2 0x4609d7b9
|
||||
// 4.21.2 0x927357b5
|
||||
// Generated by imageconverter. Please, do not edit!
|
||||
|
||||
#include <images/BitmapDatabase.hpp>
|
||||
|
@ -11,6 +11,7 @@ extern const unsigned char image_fasttube_logo_small_white[]; // BITMAP_FASTTUBE
|
|||
extern const unsigned char image_fasttube_logo_white[]; // BITMAP_FASTTUBE_LOGO_WHITE_ID = 4, Size: 480x165 pixels
|
||||
extern const unsigned char image_logo_dv_small[]; // BITMAP_LOGO_DV_SMALL_ID = 5, Size: 160x55 pixels
|
||||
extern const unsigned char image_logo_dv_small_white[]; // BITMAP_LOGO_DV_SMALL_WHITE_ID = 6, Size: 160x55 pixels
|
||||
extern const unsigned char image_precharge_bg[]; // BITMAP_PRECHARGE_BG_ID = 7, Size: 480x55 pixels
|
||||
|
||||
const touchgfx::Bitmap::BitmapData bitmap_database[] = {
|
||||
{ image_bat_bar_bg, 0, 40, 150, 0, 0, 40, ((uint8_t)touchgfx::Bitmap::RGB565) >> 3, 150, ((uint8_t)touchgfx::Bitmap::RGB565) & 0x7 },
|
||||
|
@ -19,7 +20,8 @@ const touchgfx::Bitmap::BitmapData bitmap_database[] = {
|
|||
{ image_fasttube_logo_small_white, 0, 160, 55, 0, 0, 160, ((uint8_t)touchgfx::Bitmap::RGB565) >> 3, 55, ((uint8_t)touchgfx::Bitmap::RGB565) & 0x7 },
|
||||
{ image_fasttube_logo_white, 0, 480, 165, 0, 0, 480, ((uint8_t)touchgfx::Bitmap::RGB565) >> 3, 165, ((uint8_t)touchgfx::Bitmap::RGB565) & 0x7 },
|
||||
{ image_logo_dv_small, 0, 160, 55, 62, 42, 37, ((uint8_t)touchgfx::Bitmap::ARGB8888) >> 3, 2, ((uint8_t)touchgfx::Bitmap::ARGB8888) & 0x7 },
|
||||
{ image_logo_dv_small_white, 0, 160, 55, 62, 42, 37, ((uint8_t)touchgfx::Bitmap::ARGB8888) >> 3, 2, ((uint8_t)touchgfx::Bitmap::ARGB8888) & 0x7 }
|
||||
{ image_logo_dv_small_white, 0, 160, 55, 62, 42, 37, ((uint8_t)touchgfx::Bitmap::ARGB8888) >> 3, 2, ((uint8_t)touchgfx::Bitmap::ARGB8888) & 0x7 },
|
||||
{ image_precharge_bg, 0, 480, 55, 0, 0, 480, ((uint8_t)touchgfx::Bitmap::RGB565) >> 3, 55, ((uint8_t)touchgfx::Bitmap::RGB565) & 0x7 }
|
||||
};
|
||||
|
||||
namespace BitmapDatabase
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1 +1 @@
|
|||
{"remap":"yes","language":"GB","language_index":0,"indices":[["136","T_DEBUGVIEWFIELD_TITLE"],["136","T_DRIVERVIEWFIELD_TITLE"],["246","T_FIELD_BBAL"],["209","T_FIELD_TSVOLTVEH"],["202","T_FIELD_TSVOLTBAT"],["222","T_FIELD_LVSOC"],["240","T_FIELD_TSSOC"],["256","T_FIELD_MAXCELLTEMP"],["261","T_FIELD_TIREFL"],["266","T_FIELD_TIREFR"],["271","T_FIELD_TIRERL"],["276","T_FIELD_TIRERR"],["251","T_FIELD_LAPCOUNT"],["146","T_FIELD_INICHKSTATE"],["216","T_FIELD_ERR"],["290","T_FIELD_SDC"],["162","T_FIELD_INVRREADY"],["154","T_FIELD_INVLREADY"],["178","T_FIELD_R2DPROGRESS"],["170","T_FIELD_ACTIVEMISSION"],["138","T_FIELD_ASSTATE"],["194","T_FIELD_TSSTATE"],["136","T_NUMBERWILDCARD"],["136","T_DEFAULTWILDCARD_CENTERED"],["136","T_DEFAULTWILDCARD_RIGHTALIGNED"],["286","T_FIELD_TSCURRENT"],["281","T_FIELD_MINCELLVOLT"],["228","T_FIELD_SPEED"],["95","T_INSPECTION_HUGE"],["127","T_EBS_HUGE"],["106","T_TRACKDRIVE_HUGE"],["117","T_AUTOX_HUGE"],["186","T_SKIDPAD_HUGE"],["82","T_ACCEL_HUGE"],["34","T_INVALID_HUGE"],["67","T_MANUAL"],["95","T_INSPECTION"],["127","T_EBS"],["106","T_TRACKDRIVE"],["117","T_AUTOX"],["186","T_SKIDPAD"],["82","T_ACCEL"],["294","T___SINGLEUSE_4OBM"],["287","T___SINGLEUSE_PHFD"],["234","T___SINGLEUSE_H6UX"],["136","T___SINGLEUSE_20H3"],["17","T___SINGLEUSE_SDGP"],["51","T___SINGLEUSE_M5X7"],["0","T___SINGLEUSE_6GPV"]]}
|
||||
{"remap":"yes","language":"GB","language_index":0,"indices":[["146","T_DEBUGVIEWFIELD_TITLE"],["146","T_DRIVERVIEWFIELD_TITLE"],["256","T_FIELD_BBAL"],["219","T_FIELD_TSVOLTVEH"],["212","T_FIELD_TSVOLTBAT"],["232","T_FIELD_LVSOC"],["250","T_FIELD_TSSOC"],["266","T_FIELD_MAXCELLTEMP"],["271","T_FIELD_TIREFL"],["276","T_FIELD_TIREFR"],["281","T_FIELD_TIRERL"],["286","T_FIELD_TIRERR"],["261","T_FIELD_LAPCOUNT"],["156","T_FIELD_INICHKSTATE"],["226","T_FIELD_ERR"],["300","T_FIELD_SDC"],["172","T_FIELD_INVRREADY"],["164","T_FIELD_INVLREADY"],["188","T_FIELD_R2DPROGRESS"],["180","T_FIELD_ACTIVEMISSION"],["148","T_FIELD_ASSTATE"],["204","T_FIELD_TSSTATE"],["146","T_NUMBERWILDCARD"],["146","T_DEFAULTWILDCARD_CENTERED"],["146","T_DEFAULTWILDCARD_RIGHTALIGNED"],["296","T_FIELD_TSCURRENT"],["291","T_FIELD_MINCELLVOLT"],["238","T_FIELD_SPEED"],["95","T_INSPECTION_HUGE"],["137","T_EBS_HUGE"],["106","T_TRACKDRIVE_HUGE"],["117","T_AUTOX_HUGE"],["196","T_SKIDPAD_HUGE"],["82","T_ACCEL_HUGE"],["34","T_INVALID_HUGE"],["67","T_MANUAL"],["95","T_INSPECTION"],["137","T_EBS"],["106","T_TRACKDRIVE"],["117","T_AUTOX"],["196","T_SKIDPAD"],["82","T_ACCEL"],["127","T___SINGLEUSE_HMH2"],["304","T___SINGLEUSE_4OBM"],["297","T___SINGLEUSE_PHFD"],["244","T___SINGLEUSE_H6UX"],["146","T___SINGLEUSE_20H3"],["17","T___SINGLEUSE_SDGP"],["51","T___SINGLEUSE_M5X7"],["0","T___SINGLEUSE_6GPV"]]}
|
|
@ -1 +1 @@
|
|||
{"languages":["GB"],"textids":["T_DEBUGVIEWFIELD_TITLE","T_DRIVERVIEWFIELD_TITLE","T_FIELD_BBAL","T_FIELD_TSVOLTVEH","T_FIELD_TSVOLTBAT","T_FIELD_LVSOC","T_FIELD_TSSOC","T_FIELD_MAXCELLTEMP","T_FIELD_TIREFL","T_FIELD_TIREFR","T_FIELD_TIRERL","T_FIELD_TIRERR","T_FIELD_LAPCOUNT","T_FIELD_INICHKSTATE","T_FIELD_ERR","T_FIELD_SDC","T_FIELD_INVRREADY","T_FIELD_INVLREADY","T_FIELD_R2DPROGRESS","T_FIELD_ACTIVEMISSION","T_FIELD_ASSTATE","T_FIELD_TSSTATE","T_NUMBERWILDCARD","T_DEFAULTWILDCARD_CENTERED","T_DEFAULTWILDCARD_RIGHTALIGNED","T_FIELD_TSCURRENT","T_FIELD_MINCELLVOLT","T_FIELD_SPEED","T_INSPECTION_HUGE","T_EBS_HUGE","T_TRACKDRIVE_HUGE","T_AUTOX_HUGE","T_SKIDPAD_HUGE","T_ACCEL_HUGE","T_INVALID_HUGE","T_MANUAL","T_INSPECTION","T_EBS","T_TRACKDRIVE","T_AUTOX","T_SKIDPAD","T_ACCEL","T___SINGLEUSE_4OBM","T___SINGLEUSE_PHFD","T___SINGLEUSE_H6UX","T___SINGLEUSE_20H3","T___SINGLEUSE_SDGP","T___SINGLEUSE_M5X7","T___SINGLEUSE_6GPV"]}
|
||||
{"languages":["GB"],"textids":["T_DEBUGVIEWFIELD_TITLE","T_DRIVERVIEWFIELD_TITLE","T_FIELD_BBAL","T_FIELD_TSVOLTVEH","T_FIELD_TSVOLTBAT","T_FIELD_LVSOC","T_FIELD_TSSOC","T_FIELD_MAXCELLTEMP","T_FIELD_TIREFL","T_FIELD_TIREFR","T_FIELD_TIRERL","T_FIELD_TIRERR","T_FIELD_LAPCOUNT","T_FIELD_INICHKSTATE","T_FIELD_ERR","T_FIELD_SDC","T_FIELD_INVRREADY","T_FIELD_INVLREADY","T_FIELD_R2DPROGRESS","T_FIELD_ACTIVEMISSION","T_FIELD_ASSTATE","T_FIELD_TSSTATE","T_NUMBERWILDCARD","T_DEFAULTWILDCARD_CENTERED","T_DEFAULTWILDCARD_RIGHTALIGNED","T_FIELD_TSCURRENT","T_FIELD_MINCELLVOLT","T_FIELD_SPEED","T_INSPECTION_HUGE","T_EBS_HUGE","T_TRACKDRIVE_HUGE","T_AUTOX_HUGE","T_SKIDPAD_HUGE","T_ACCEL_HUGE","T_INVALID_HUGE","T_MANUAL","T_INSPECTION","T_EBS","T_TRACKDRIVE","T_AUTOX","T_SKIDPAD","T_ACCEL","T___SINGLEUSE_HMH2","T___SINGLEUSE_4OBM","T___SINGLEUSE_PHFD","T___SINGLEUSE_H6UX","T___SINGLEUSE_20H3","T___SINGLEUSE_SDGP","T___SINGLEUSE_M5X7","T___SINGLEUSE_6GPV"]}
|
|
@ -1 +1 @@
|
|||
{"remap":"yes","languages":["Gb"],"characters":[67,104,111,111,115,101,32,97,32,109,105,115,115,105,111,110,0,67,117,114,114,101,110,116,32,77,105,115,115,105,111,110,58,0,73,110,118,97,108,105,100,32,77,105,115,115,105,111,110,33,0,73,110,118,97,108,105,100,32,77,105,115,115,105,111,110,0,77,97,110,117,97,108,32,68,114,105,118,105,110,103,0,65,99,99,101,108,101,114,97,116,105,111,110,0,73,110,115,112,101,99,116,105,111,110,0,84,114,97,99,107,100,114,105,118,101,0,65,117,116,111,99,114,111,115,115,0,69,66,83,32,84,101,115,116,0,2,0,65,83,83,84,65,84,69,0,73,67,83,84,65,84,69,0,73,78,86,76,82,68,89,0,73,78,86,82,82,68,89,0,77,73,83,83,73,79,78,0,82,50,68,80,82,79,71,0,83,107,105,100,112,97,100,0,84,83,83,84,65,84,69,0,84,83,86,66,65,84,0,84,83,86,86,69,72,0,69,82,82,79,82,0,76,86,83,79,67,0,83,80,69,69,68,0,84,73,82,69,83,0,84,83,83,79,67,0,66,66,65,76,0,76,65,80,83,0,84,77,65,88,0,84,84,70,76,0,84,84,70,82,0,84,84,82,76,0,84,84,82,82,0,86,77,73,78,0,73,84,83,0,83,68,67,0,76,86,0]}
|
||||
{"remap":"yes","languages":["Gb"],"characters":[67,104,111,111,115,101,32,97,32,109,105,115,115,105,111,110,0,67,117,114,114,101,110,116,32,77,105,115,115,105,111,110,58,0,73,110,118,97,108,105,100,32,77,105,115,115,105,111,110,33,0,73,110,118,97,108,105,100,32,77,105,115,115,105,111,110,0,77,97,110,117,97,108,32,68,114,105,118,105,110,103,0,65,99,99,101,108,101,114,97,116,105,111,110,0,73,110,115,112,101,99,116,105,111,110,0,84,114,97,99,107,100,114,105,118,101,0,65,117,116,111,99,114,111,115,115,0,80,82,69,67,72,65,82,71,69,0,69,66,83,32,84,101,115,116,0,2,0,65,83,83,84,65,84,69,0,73,67,83,84,65,84,69,0,73,78,86,76,82,68,89,0,73,78,86,82,82,68,89,0,77,73,83,83,73,79,78,0,82,50,68,80,82,79,71,0,83,107,105,100,112,97,100,0,84,83,83,84,65,84,69,0,84,83,86,66,65,84,0,84,83,86,86,69,72,0,69,82,82,79,82,0,76,86,83,79,67,0,83,80,69,69,68,0,84,73,82,69,83,0,84,83,83,79,67,0,66,66,65,76,0,76,65,80,83,0,84,77,65,88,0,84,84,70,76,0,84,84,70,82,0,84,84,82,76,0,84,84,82,82,0,86,77,73,78,0,73,84,83,0,83,68,67,0,76,86,0]}
|
|
@ -1 +1 @@
|
|||
{"databases":{"DEFAULT":[[0,"LEFT","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[4,"CENTER","LTR"],[0,"CENTER","LTR"],[0,"RIGHT","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[3,"CENTER","LTR"],[3,"CENTER","LTR"],[3,"CENTER","LTR"],[3,"CENTER","LTR"],[3,"CENTER","LTR"],[3,"CENTER","LTR"],[3,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[4,"CENTER","LTR"],[1,"LEFT","LTR"],[2,"CENTER","LTR"],[1,"LEFT","LTR"]]},"database_list":["DEFAULT"],"fonts":{"getFont_verdana_20_4bpp":0,"getFont_CHINN____30_4bpp":1,"getFont_CHINN____20_4bpp":2,"getFont_CHINN____40_4bpp":3,"getFont_lucon_TTF_50_4bpp":4},"generate_font_format":"0"}
|
||||
{"databases":{"DEFAULT":[[0,"LEFT","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[4,"CENTER","LTR"],[0,"CENTER","LTR"],[0,"RIGHT","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[3,"CENTER","LTR"],[3,"CENTER","LTR"],[3,"CENTER","LTR"],[3,"CENTER","LTR"],[3,"CENTER","LTR"],[3,"CENTER","LTR"],[3,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[1,"LEFT","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[2,"CENTER","LTR"],[4,"CENTER","LTR"],[1,"LEFT","LTR"],[2,"CENTER","LTR"],[1,"LEFT","LTR"]]},"database_list":["DEFAULT"],"fonts":{"getFont_verdana_20_4bpp":0,"getFont_CHINN____30_4bpp":1,"getFont_CHINN____20_4bpp":2,"getFont_CHINN____40_4bpp":3,"getFont_lucon_TTF_50_4bpp":4},"generate_font_format":"0"}
|
|
@ -54,6 +54,7 @@ enum TEXTS
|
|||
T_AUTOX,
|
||||
T_SKIDPAD,
|
||||
T_ACCEL,
|
||||
T___SINGLEUSE_HMH2,
|
||||
T___SINGLEUSE_4OBM,
|
||||
T___SINGLEUSE_PHFD,
|
||||
T___SINGLEUSE_H6UX,
|
||||
|
|
|
@ -10,52 +10,53 @@ KEEP extern const uint32_t indicesGb[] TEXT_LOCATION_FLASH_ATTRIBUTE;
|
|||
// Remap all strings
|
||||
TEXT_LOCATION_FLASH_PRAGMA
|
||||
KEEP extern const uint32_t indicesGb[] TEXT_LOCATION_FLASH_ATTRIBUTE = {
|
||||
136, // T_DEBUGVIEWFIELD_TITLE: "<>"
|
||||
136, // T_DRIVERVIEWFIELD_TITLE: "<>"
|
||||
246, // T_FIELD_BBAL: "BBAL"
|
||||
209, // T_FIELD_TSVOLTVEH: "TSVVEH"
|
||||
202, // T_FIELD_TSVOLTBAT: "TSVBAT"
|
||||
222, // T_FIELD_LVSOC: "LVSOC"
|
||||
240, // T_FIELD_TSSOC: "TSSOC"
|
||||
256, // T_FIELD_MAXCELLTEMP: "TMAX"
|
||||
261, // T_FIELD_TIREFL: "TTFL"
|
||||
266, // T_FIELD_TIREFR: "TTFR"
|
||||
271, // T_FIELD_TIRERL: "TTRL"
|
||||
276, // T_FIELD_TIRERR: "TTRR"
|
||||
251, // T_FIELD_LAPCOUNT: "LAPS"
|
||||
146, // T_FIELD_INICHKSTATE: "ICSTATE"
|
||||
216, // T_FIELD_ERR: "ERROR"
|
||||
290, // T_FIELD_SDC: "SDC"
|
||||
162, // T_FIELD_INVRREADY: "INVRRDY"
|
||||
154, // T_FIELD_INVLREADY: "INVLRDY"
|
||||
178, // T_FIELD_R2DPROGRESS: "R2DPROG"
|
||||
170, // T_FIELD_ACTIVEMISSION: "MISSION"
|
||||
138, // T_FIELD_ASSTATE: "ASSTATE"
|
||||
194, // T_FIELD_TSSTATE: "TSSTATE"
|
||||
136, // T_NUMBERWILDCARD: "<>"
|
||||
136, // T_DEFAULTWILDCARD_CENTERED: "<>"
|
||||
136, // T_DEFAULTWILDCARD_RIGHTALIGNED: "<>"
|
||||
286, // T_FIELD_TSCURRENT: "ITS"
|
||||
281, // T_FIELD_MINCELLVOLT: "VMIN"
|
||||
228, // T_FIELD_SPEED: "SPEED"
|
||||
146, // T_DEBUGVIEWFIELD_TITLE: "<>"
|
||||
146, // T_DRIVERVIEWFIELD_TITLE: "<>"
|
||||
256, // T_FIELD_BBAL: "BBAL"
|
||||
219, // T_FIELD_TSVOLTVEH: "TSVVEH"
|
||||
212, // T_FIELD_TSVOLTBAT: "TSVBAT"
|
||||
232, // T_FIELD_LVSOC: "LVSOC"
|
||||
250, // T_FIELD_TSSOC: "TSSOC"
|
||||
266, // T_FIELD_MAXCELLTEMP: "TMAX"
|
||||
271, // T_FIELD_TIREFL: "TTFL"
|
||||
276, // T_FIELD_TIREFR: "TTFR"
|
||||
281, // T_FIELD_TIRERL: "TTRL"
|
||||
286, // T_FIELD_TIRERR: "TTRR"
|
||||
261, // T_FIELD_LAPCOUNT: "LAPS"
|
||||
156, // T_FIELD_INICHKSTATE: "ICSTATE"
|
||||
226, // T_FIELD_ERR: "ERROR"
|
||||
300, // T_FIELD_SDC: "SDC"
|
||||
172, // T_FIELD_INVRREADY: "INVRRDY"
|
||||
164, // T_FIELD_INVLREADY: "INVLRDY"
|
||||
188, // T_FIELD_R2DPROGRESS: "R2DPROG"
|
||||
180, // T_FIELD_ACTIVEMISSION: "MISSION"
|
||||
148, // T_FIELD_ASSTATE: "ASSTATE"
|
||||
204, // T_FIELD_TSSTATE: "TSSTATE"
|
||||
146, // T_NUMBERWILDCARD: "<>"
|
||||
146, // T_DEFAULTWILDCARD_CENTERED: "<>"
|
||||
146, // T_DEFAULTWILDCARD_RIGHTALIGNED: "<>"
|
||||
296, // T_FIELD_TSCURRENT: "ITS"
|
||||
291, // T_FIELD_MINCELLVOLT: "VMIN"
|
||||
238, // T_FIELD_SPEED: "SPEED"
|
||||
95, // T_INSPECTION_HUGE: "Inspection"
|
||||
127, // T_EBS_HUGE: "EBS Test"
|
||||
137, // T_EBS_HUGE: "EBS Test"
|
||||
106, // T_TRACKDRIVE_HUGE: "Trackdrive"
|
||||
117, // T_AUTOX_HUGE: "Autocross"
|
||||
186, // T_SKIDPAD_HUGE: "Skidpad"
|
||||
196, // T_SKIDPAD_HUGE: "Skidpad"
|
||||
82, // T_ACCEL_HUGE: "Acceleration"
|
||||
34, // T_INVALID_HUGE: "Invalid Mission!"
|
||||
67, // T_MANUAL: "Manual Driving"
|
||||
95, // T_INSPECTION: "Inspection"
|
||||
127, // T_EBS: "EBS Test"
|
||||
137, // T_EBS: "EBS Test"
|
||||
106, // T_TRACKDRIVE: "Trackdrive"
|
||||
117, // T_AUTOX: "Autocross"
|
||||
186, // T_SKIDPAD: "Skidpad"
|
||||
196, // T_SKIDPAD: "Skidpad"
|
||||
82, // T_ACCEL: "Acceleration"
|
||||
294, // T___SINGLEUSE_4OBM: "LV"
|
||||
287, // T___SINGLEUSE_PHFD: "TS"
|
||||
234, // T___SINGLEUSE_H6UX: "TIRES"
|
||||
136, // T___SINGLEUSE_20H3: "<>"
|
||||
127, // T___SINGLEUSE_HMH2: "PRECHARGE"
|
||||
304, // T___SINGLEUSE_4OBM: "LV"
|
||||
297, // T___SINGLEUSE_PHFD: "TS"
|
||||
244, // T___SINGLEUSE_H6UX: "TIRES"
|
||||
146, // T___SINGLEUSE_20H3: "<>"
|
||||
17, // T___SINGLEUSE_SDGP: "Current Mission:"
|
||||
51, // T___SINGLEUSE_M5X7: "Invalid Mission"
|
||||
0 // T___SINGLEUSE_6GPV: "Choose a mission"
|
||||
|
|
|
@ -69,34 +69,35 @@ KEEP extern const touchgfx::Unicode::UnicodeChar texts_all_languages[] TEXT_LOCA
|
|||
0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x0, // @95 "Inspection"
|
||||
0x54, 0x72, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x0, // @106 "Trackdrive"
|
||||
0x41, 0x75, 0x74, 0x6f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x0, // @117 "Autocross"
|
||||
0x45, 0x42, 0x53, 0x20, 0x54, 0x65, 0x73, 0x74, 0x0, // @127 "EBS Test"
|
||||
0x2, 0x0, // @136 "<>"
|
||||
0x41, 0x53, 0x53, 0x54, 0x41, 0x54, 0x45, 0x0, // @138 "ASSTATE"
|
||||
0x49, 0x43, 0x53, 0x54, 0x41, 0x54, 0x45, 0x0, // @146 "ICSTATE"
|
||||
0x49, 0x4e, 0x56, 0x4c, 0x52, 0x44, 0x59, 0x0, // @154 "INVLRDY"
|
||||
0x49, 0x4e, 0x56, 0x52, 0x52, 0x44, 0x59, 0x0, // @162 "INVRRDY"
|
||||
0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x0, // @170 "MISSION"
|
||||
0x52, 0x32, 0x44, 0x50, 0x52, 0x4f, 0x47, 0x0, // @178 "R2DPROG"
|
||||
0x53, 0x6b, 0x69, 0x64, 0x70, 0x61, 0x64, 0x0, // @186 "Skidpad"
|
||||
0x54, 0x53, 0x53, 0x54, 0x41, 0x54, 0x45, 0x0, // @194 "TSSTATE"
|
||||
0x54, 0x53, 0x56, 0x42, 0x41, 0x54, 0x0, // @202 "TSVBAT"
|
||||
0x54, 0x53, 0x56, 0x56, 0x45, 0x48, 0x0, // @209 "TSVVEH"
|
||||
0x45, 0x52, 0x52, 0x4f, 0x52, 0x0, // @216 "ERROR"
|
||||
0x4c, 0x56, 0x53, 0x4f, 0x43, 0x0, // @222 "LVSOC"
|
||||
0x53, 0x50, 0x45, 0x45, 0x44, 0x0, // @228 "SPEED"
|
||||
0x54, 0x49, 0x52, 0x45, 0x53, 0x0, // @234 "TIRES"
|
||||
0x54, 0x53, 0x53, 0x4f, 0x43, 0x0, // @240 "TSSOC"
|
||||
0x42, 0x42, 0x41, 0x4c, 0x0, // @246 "BBAL"
|
||||
0x4c, 0x41, 0x50, 0x53, 0x0, // @251 "LAPS"
|
||||
0x54, 0x4d, 0x41, 0x58, 0x0, // @256 "TMAX"
|
||||
0x54, 0x54, 0x46, 0x4c, 0x0, // @261 "TTFL"
|
||||
0x54, 0x54, 0x46, 0x52, 0x0, // @266 "TTFR"
|
||||
0x54, 0x54, 0x52, 0x4c, 0x0, // @271 "TTRL"
|
||||
0x54, 0x54, 0x52, 0x52, 0x0, // @276 "TTRR"
|
||||
0x56, 0x4d, 0x49, 0x4e, 0x0, // @281 "VMIN"
|
||||
0x49, 0x54, 0x53, 0x0, // @286 "ITS"
|
||||
0x53, 0x44, 0x43, 0x0, // @290 "SDC"
|
||||
0x4c, 0x56, 0x0 // @294 "LV"
|
||||
0x50, 0x52, 0x45, 0x43, 0x48, 0x41, 0x52, 0x47, 0x45, 0x0, // @127 "PRECHARGE"
|
||||
0x45, 0x42, 0x53, 0x20, 0x54, 0x65, 0x73, 0x74, 0x0, // @137 "EBS Test"
|
||||
0x2, 0x0, // @146 "<>"
|
||||
0x41, 0x53, 0x53, 0x54, 0x41, 0x54, 0x45, 0x0, // @148 "ASSTATE"
|
||||
0x49, 0x43, 0x53, 0x54, 0x41, 0x54, 0x45, 0x0, // @156 "ICSTATE"
|
||||
0x49, 0x4e, 0x56, 0x4c, 0x52, 0x44, 0x59, 0x0, // @164 "INVLRDY"
|
||||
0x49, 0x4e, 0x56, 0x52, 0x52, 0x44, 0x59, 0x0, // @172 "INVRRDY"
|
||||
0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x0, // @180 "MISSION"
|
||||
0x52, 0x32, 0x44, 0x50, 0x52, 0x4f, 0x47, 0x0, // @188 "R2DPROG"
|
||||
0x53, 0x6b, 0x69, 0x64, 0x70, 0x61, 0x64, 0x0, // @196 "Skidpad"
|
||||
0x54, 0x53, 0x53, 0x54, 0x41, 0x54, 0x45, 0x0, // @204 "TSSTATE"
|
||||
0x54, 0x53, 0x56, 0x42, 0x41, 0x54, 0x0, // @212 "TSVBAT"
|
||||
0x54, 0x53, 0x56, 0x56, 0x45, 0x48, 0x0, // @219 "TSVVEH"
|
||||
0x45, 0x52, 0x52, 0x4f, 0x52, 0x0, // @226 "ERROR"
|
||||
0x4c, 0x56, 0x53, 0x4f, 0x43, 0x0, // @232 "LVSOC"
|
||||
0x53, 0x50, 0x45, 0x45, 0x44, 0x0, // @238 "SPEED"
|
||||
0x54, 0x49, 0x52, 0x45, 0x53, 0x0, // @244 "TIRES"
|
||||
0x54, 0x53, 0x53, 0x4f, 0x43, 0x0, // @250 "TSSOC"
|
||||
0x42, 0x42, 0x41, 0x4c, 0x0, // @256 "BBAL"
|
||||
0x4c, 0x41, 0x50, 0x53, 0x0, // @261 "LAPS"
|
||||
0x54, 0x4d, 0x41, 0x58, 0x0, // @266 "TMAX"
|
||||
0x54, 0x54, 0x46, 0x4c, 0x0, // @271 "TTFL"
|
||||
0x54, 0x54, 0x46, 0x52, 0x0, // @276 "TTFR"
|
||||
0x54, 0x54, 0x52, 0x4c, 0x0, // @281 "TTRL"
|
||||
0x54, 0x54, 0x52, 0x52, 0x0, // @286 "TTRR"
|
||||
0x56, 0x4d, 0x49, 0x4e, 0x0, // @291 "VMIN"
|
||||
0x49, 0x54, 0x53, 0x0, // @296 "ITS"
|
||||
0x53, 0x44, 0x43, 0x0, // @300 "SDC"
|
||||
0x4c, 0x56, 0x0 // @304 "LV"
|
||||
};
|
||||
|
||||
TEXT_LOCATION_FLASH_PRAGMA
|
||||
|
|
|
@ -66,6 +66,7 @@ const touchgfx::TypedText::TypedTextData typedText_database_DEFAULT[] TEXT_LOCAT
|
|||
{ 2, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR },
|
||||
{ 2, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR },
|
||||
{ 2, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR },
|
||||
{ 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR },
|
||||
{ 2, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR },
|
||||
{ 2, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR },
|
||||
{ 2, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR },
|
||||
|
|
|
@ -23,6 +23,7 @@ public:
|
|||
|
||||
void setTireTemps(const TireTemps &temps);
|
||||
void setTSSoC(uint8_t soc);
|
||||
void setPrecharge(bool active, float progress);
|
||||
|
||||
void selectPrevField() override;
|
||||
void selectNextField() override;
|
||||
|
|
|
@ -18,6 +18,16 @@ void DriverViewPresenter::deactivate() {}
|
|||
void DriverViewPresenter::vehicleStateUpdated() {
|
||||
view.setTireTemps(vehicle_state.tire_temps);
|
||||
view.setTSSoC(vehicle_state.soc);
|
||||
if (vehicle_state.ts_state == TS_PRECHARGE) {
|
||||
float progress = 0;
|
||||
if (vehicle_state.ts_voltage_bat != 0) {
|
||||
progress =
|
||||
vehicle_state.ts_voltage_veh / vehicle_state.ts_voltage_bat * 100;
|
||||
}
|
||||
view.setPrecharge(true, progress);
|
||||
} else {
|
||||
view.setPrecharge(false, 0);
|
||||
}
|
||||
|
||||
view.updateFieldValues();
|
||||
}
|
||||
|
|
|
@ -46,6 +46,21 @@ void DriverViewView::setTSSoC(uint8_t soc) {
|
|||
tsSoC.invalidate();
|
||||
}
|
||||
|
||||
void DriverViewView::setPrecharge(bool active, float progress) {
|
||||
if (active) {
|
||||
prechargeLabel.setVisible(true);
|
||||
prechargeLabel.invalidate();
|
||||
prechargeProgress.setVisible(true);
|
||||
prechargeProgress.setValue(progress);
|
||||
prechargeProgress.invalidate();
|
||||
} else if (prechargeLabel.isVisible() || prechargeProgress.isVisible()) {
|
||||
prechargeLabel.setVisible(false);
|
||||
prechargeLabel.invalidate();
|
||||
prechargeProgress.setVisible(false);
|
||||
prechargeProgress.invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
void DriverViewView::selectNextField() {
|
||||
if (!fieldTypeSelection.isVisible()) {
|
||||
fieldTypeSelection.setVisible(true);
|
||||
|
|
|
@ -235,7 +235,7 @@
|
|||
"Type": "Image",
|
||||
"Name": "logo",
|
||||
"X": 160,
|
||||
"Y": 263,
|
||||
"Y": 265,
|
||||
"Width": 160,
|
||||
"Height": 55,
|
||||
"RelativeFilename": "Fasttube_Logo_small_white.png"
|
||||
|
@ -431,6 +431,40 @@
|
|||
"EasingOption": "Out",
|
||||
"SwipeAcceleration": 1.0,
|
||||
"DragAcceleration": 1.0
|
||||
},
|
||||
{
|
||||
"Type": "BoxProgress",
|
||||
"Name": "prechargeProgress",
|
||||
"Y": 265,
|
||||
"Width": 480,
|
||||
"Height": 55,
|
||||
"Visible": false,
|
||||
"Color": {
|
||||
"Red": 136,
|
||||
"Green": 255
|
||||
},
|
||||
"Direction": "Right",
|
||||
"FileNameBackground": "precharge_bg.png",
|
||||
"IndicatorPositionWidth": 480,
|
||||
"IndicatorPositionHeight": 55,
|
||||
"ProgressRangeMax": 100
|
||||
},
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "prechargeLabel",
|
||||
"X": 105,
|
||||
"Y": 274,
|
||||
"Width": 269,
|
||||
"Height": 37,
|
||||
"Visible": false,
|
||||
"TextId": "__SingleUse_HMH2",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
},
|
||||
"AutoSize": true
|
||||
}
|
||||
],
|
||||
"Interactions": [
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 97 B |
Loading…
Reference in New Issue