Add three general-purpose fields to DriverView
This commit is contained in:
@ -0,0 +1,39 @@
|
||||
/*********************************************************************************/
|
||||
/********** THIS FILE IS GENERATED BY TOUCHGFX DESIGNER, DO NOT MODIFY ***********/
|
||||
/*********************************************************************************/
|
||||
#include <gui_generated/containers/DriverViewFieldBase.hpp>
|
||||
#include <touchgfx/Color.hpp>
|
||||
#include <texts/TextKeysAndLanguages.hpp>
|
||||
|
||||
DriverViewFieldBase::DriverViewFieldBase()
|
||||
{
|
||||
setWidth(160);
|
||||
setHeight(80);
|
||||
box.setPosition(0, 0, 160, 80);
|
||||
box.setColor(touchgfx::Color::getColorFromRGB(0, 0, 0));
|
||||
box.setBorderColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
box.setBorderSize(3);
|
||||
add(box);
|
||||
|
||||
title.setPosition(0, 0, 160, 25);
|
||||
title.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
title.setLinespacing(0);
|
||||
title.setTypedText(touchgfx::TypedText(T___SINGLEUSE_0FBJ));
|
||||
add(title);
|
||||
|
||||
value.setPosition(0, 20, 160, 57);
|
||||
value.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
value.setLinespacing(0);
|
||||
value.setTypedText(touchgfx::TypedText(T___SINGLEUSE_K26P));
|
||||
add(value);
|
||||
}
|
||||
|
||||
DriverViewFieldBase::~DriverViewFieldBase()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void DriverViewFieldBase::initialize()
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user