Endurance view
This commit is contained in:
@ -38,6 +38,9 @@ public:
|
||||
// SDC
|
||||
void gotoSDCScreenNoTransition();
|
||||
|
||||
// Endurance
|
||||
void gotoEnduranceScreenNoTransition();
|
||||
|
||||
protected:
|
||||
touchgfx::Callback<FrontendApplicationBase> transitionCallback;
|
||||
FrontendHeap& frontendHeap;
|
||||
@ -60,6 +63,9 @@ protected:
|
||||
|
||||
// SDC
|
||||
void gotoSDCScreenNoTransitionImpl();
|
||||
|
||||
// Endurance
|
||||
void gotoEnduranceScreenNoTransitionImpl();
|
||||
};
|
||||
|
||||
#endif // FRONTENDAPPLICATIONBASE_HPP
|
||||
|
||||
@ -24,6 +24,8 @@
|
||||
#include <gui/vehicleconfig_screen/VehicleConfigPresenter.hpp>
|
||||
#include <gui/sdc_screen/SDCView.hpp>
|
||||
#include <gui/sdc_screen/SDCPresenter.hpp>
|
||||
#include <gui/endurance_screen/EnduranceView.hpp>
|
||||
#include <gui/endurance_screen/EndurancePresenter.hpp>
|
||||
|
||||
|
||||
/**
|
||||
@ -52,7 +54,8 @@ public:
|
||||
touchgfx::meta::TypeList< DebugViewView,
|
||||
touchgfx::meta::TypeList< VehicleConfigView,
|
||||
touchgfx::meta::TypeList< SDCView,
|
||||
touchgfx::meta::Nil > > > > >
|
||||
touchgfx::meta::TypeList< EnduranceView,
|
||||
touchgfx::meta::Nil > > > > > >
|
||||
> GeneratedViewTypes;
|
||||
|
||||
/**
|
||||
@ -70,7 +73,8 @@ public:
|
||||
touchgfx::meta::TypeList< DebugViewPresenter,
|
||||
touchgfx::meta::TypeList< VehicleConfigPresenter,
|
||||
touchgfx::meta::TypeList< SDCPresenter,
|
||||
touchgfx::meta::Nil > > > > >
|
||||
touchgfx::meta::TypeList< EndurancePresenter,
|
||||
touchgfx::meta::Nil > > > > > >
|
||||
> GeneratedPresenterTypes;
|
||||
|
||||
/**
|
||||
|
||||
@ -0,0 +1,56 @@
|
||||
/*********************************************************************************/
|
||||
/********** THIS FILE IS GENERATED BY TOUCHGFX DESIGNER, DO NOT MODIFY ***********/
|
||||
/*********************************************************************************/
|
||||
#ifndef ENDURANCEVIEWBASE_HPP
|
||||
#define ENDURANCEVIEWBASE_HPP
|
||||
|
||||
#include <gui/common/FrontendApplication.hpp>
|
||||
#include <mvp/View.hpp>
|
||||
#include <gui/endurance_screen/EndurancePresenter.hpp>
|
||||
#include <touchgfx/widgets/Box.hpp>
|
||||
#include <touchgfx/containers/Container.hpp>
|
||||
#include <touchgfx/widgets/BoxWithBorder.hpp>
|
||||
#include <touchgfx/widgets/TextArea.hpp>
|
||||
#include <touchgfx/widgets/TextAreaWithWildcard.hpp>
|
||||
|
||||
class EnduranceViewBase : public touchgfx::View<EndurancePresenter>
|
||||
{
|
||||
public:
|
||||
EnduranceViewBase();
|
||||
virtual ~EnduranceViewBase();
|
||||
virtual void setupScreen();
|
||||
|
||||
protected:
|
||||
FrontendApplication& application() {
|
||||
return *static_cast<FrontendApplication*>(touchgfx::Application::getInstance());
|
||||
}
|
||||
|
||||
/*
|
||||
* Member Declarations
|
||||
*/
|
||||
touchgfx::Box __background;
|
||||
touchgfx::Container detailContainer;
|
||||
touchgfx::BoxWithBorder boxWithBorder2;
|
||||
touchgfx::BoxWithBorder boxWithBorder2_1;
|
||||
touchgfx::BoxWithBorder boxWithBorder3;
|
||||
touchgfx::BoxWithBorder boxWithBorder3_1;
|
||||
touchgfx::TextArea textArea3;
|
||||
touchgfx::TextArea textArea3_1;
|
||||
touchgfx::TextAreaWithOneWildcard powerLimit;
|
||||
touchgfx::TextAreaWithOneWildcard speedLimit;
|
||||
touchgfx::TextAreaWithOneWildcard soc;
|
||||
touchgfx::TextAreaWithOneWildcard batTemp;
|
||||
touchgfx::Container overallContainer;
|
||||
touchgfx::BoxWithBorder overallBox;
|
||||
touchgfx::TextArea textArea1_1;
|
||||
touchgfx::TextAreaWithOneWildcard overallBat;
|
||||
touchgfx::Container lastLapContainer;
|
||||
touchgfx::BoxWithBorder lastLapBox;
|
||||
touchgfx::TextArea textArea1;
|
||||
touchgfx::TextAreaWithOneWildcard lastLapBat;
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
|
||||
#endif // ENDURANCEVIEWBASE_HPP
|
||||
Reference in New Issue
Block a user