Add AMS Error popup
This commit is contained in:
@ -0,0 +1,39 @@
|
||||
/*********************************************************************************/
|
||||
/********** THIS FILE IS GENERATED BY TOUCHGFX DESIGNER, DO NOT MODIFY ***********/
|
||||
/*********************************************************************************/
|
||||
#include <gui_generated/containers/ErrorPopupBase.hpp>
|
||||
#include <touchgfx/Color.hpp>
|
||||
#include <texts/TextKeysAndLanguages.hpp>
|
||||
|
||||
ErrorPopupBase::ErrorPopupBase()
|
||||
{
|
||||
setWidth(450);
|
||||
setHeight(150);
|
||||
bg.setPosition(0, 0, 450, 150);
|
||||
bg.setColor(touchgfx::Color::getColorFromRGB(197, 14, 31));
|
||||
bg.setBorderColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
bg.setBorderSize(5);
|
||||
add(bg);
|
||||
|
||||
title.setPosition(0, 0, 450, 49);
|
||||
title.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
title.setLinespacing(0);
|
||||
title.setTypedText(touchgfx::TypedText(T___SINGLEUSE_1NKF));
|
||||
add(title);
|
||||
|
||||
details.setPosition(15, 60, 420, 75);
|
||||
details.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
details.setLinespacing(0);
|
||||
details.setTypedText(touchgfx::TypedText(T___SINGLEUSE_9L8R));
|
||||
add(details);
|
||||
}
|
||||
|
||||
ErrorPopupBase::~ErrorPopupBase()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void ErrorPopupBase::initialize()
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user