Add AMS Error popup
This commit is contained in:
@ -0,0 +1,36 @@
|
||||
/*********************************************************************************/
|
||||
/********** THIS FILE IS GENERATED BY TOUCHGFX DESIGNER, DO NOT MODIFY ***********/
|
||||
/*********************************************************************************/
|
||||
#ifndef ERRORPOPUPBASE_HPP
|
||||
#define ERRORPOPUPBASE_HPP
|
||||
|
||||
#include <gui/common/FrontendApplication.hpp>
|
||||
#include <touchgfx/containers/Container.hpp>
|
||||
#include <touchgfx/widgets/BoxWithBorder.hpp>
|
||||
#include <touchgfx/widgets/TextArea.hpp>
|
||||
#include <touchgfx/widgets/TextAreaWithWildcard.hpp>
|
||||
|
||||
class ErrorPopupBase : public touchgfx::Container
|
||||
{
|
||||
public:
|
||||
ErrorPopupBase();
|
||||
virtual ~ErrorPopupBase();
|
||||
virtual void initialize();
|
||||
|
||||
protected:
|
||||
FrontendApplication& application() {
|
||||
return *static_cast<FrontendApplication*>(touchgfx::Application::getInstance());
|
||||
}
|
||||
|
||||
/*
|
||||
* Member Declarations
|
||||
*/
|
||||
touchgfx::BoxWithBorder bg;
|
||||
touchgfx::TextArea title;
|
||||
touchgfx::TextAreaWithOneWildcard details;
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
|
||||
#endif // ERRORPOPUPBASE_HPP
|
||||
@ -18,6 +18,7 @@
|
||||
#include <gui/containers/DriverViewFieldSelection.hpp>
|
||||
#include <touchgfx/containers/progress_indicators/BoxProgress.hpp>
|
||||
#include <touchgfx/widgets/TextAreaWithWildcard.hpp>
|
||||
#include <gui/containers/ErrorPopup.hpp>
|
||||
|
||||
class DriverViewViewBase : public touchgfx::View<DriverViewPresenter>
|
||||
{
|
||||
@ -89,6 +90,7 @@ protected:
|
||||
touchgfx::TextArea prechargeLabel;
|
||||
touchgfx::TextArea r2dLabel;
|
||||
touchgfx::TextAreaWithOneWildcard r2dProgressLabel;
|
||||
ErrorPopup errorPopup;
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user