Add screen for configuring vehicle parameters
This commit is contained in:
@ -0,0 +1,55 @@
|
||||
/*********************************************************************************/
|
||||
/********** THIS FILE IS GENERATED BY TOUCHGFX DESIGNER, DO NOT MODIFY ***********/
|
||||
/*********************************************************************************/
|
||||
#include <gui_generated/containers/ConfigItemBase.hpp>
|
||||
#include <touchgfx/Color.hpp>
|
||||
#include <texts/TextKeysAndLanguages.hpp>
|
||||
|
||||
ConfigItemBase::ConfigItemBase()
|
||||
{
|
||||
setWidth(450);
|
||||
setHeight(50);
|
||||
bg.setPosition(0, 0, 450, 50);
|
||||
bg.setColor(touchgfx::Color::getColorFromRGB(0, 0, 0));
|
||||
add(bg);
|
||||
|
||||
title.setPosition(0, 6, 200, 37);
|
||||
title.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
title.setLinespacing(0);
|
||||
title.setTypedText(touchgfx::TypedText(T___SINGLEUSE_YTAB));
|
||||
add(title);
|
||||
|
||||
line1.setPosition(200, 0, 2, 50);
|
||||
line1Painter.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
line1.setPainter(line1Painter);
|
||||
line1.setStart(0, 0);
|
||||
line1.setEnd(0, 50);
|
||||
line1.setLineWidth(10);
|
||||
line1.setLineEndingStyle(touchgfx::Line::ROUND_CAP_ENDING);
|
||||
add(line1);
|
||||
|
||||
value.setPosition(207, -7, 243, 55);
|
||||
value.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
value.setLinespacing(0);
|
||||
value.setTypedText(touchgfx::TypedText(T___SINGLEUSE_4E84));
|
||||
add(value);
|
||||
|
||||
line2.setPosition(0, 48, 450, 2);
|
||||
line2Painter.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
line2.setPainter(line2Painter);
|
||||
line2.setStart(0, 0);
|
||||
line2.setEnd(450, 0);
|
||||
line2.setLineWidth(10);
|
||||
line2.setLineEndingStyle(touchgfx::Line::ROUND_CAP_ENDING);
|
||||
add(line2);
|
||||
}
|
||||
|
||||
ConfigItemBase::~ConfigItemBase()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void ConfigItemBase::initialize()
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user