remove unused NewDriverView screen
This commit is contained in:
@ -24,8 +24,6 @@
|
||||
#include <gui/vehicleconfig_screen/VehicleConfigPresenter.hpp>
|
||||
#include <gui/sdc_screen/SDCView.hpp>
|
||||
#include <gui/sdc_screen/SDCPresenter.hpp>
|
||||
#include <gui/newdriverview_screen/NewDriverViewView.hpp>
|
||||
#include <gui/newdriverview_screen/NewDriverViewPresenter.hpp>
|
||||
|
||||
|
||||
/**
|
||||
@ -54,8 +52,7 @@ public:
|
||||
touchgfx::meta::TypeList< DebugViewView,
|
||||
touchgfx::meta::TypeList< VehicleConfigView,
|
||||
touchgfx::meta::TypeList< SDCView,
|
||||
touchgfx::meta::TypeList< NewDriverViewView,
|
||||
touchgfx::meta::Nil > > > > > >
|
||||
touchgfx::meta::Nil > > > > >
|
||||
> GeneratedViewTypes;
|
||||
|
||||
/**
|
||||
@ -73,8 +70,7 @@ public:
|
||||
touchgfx::meta::TypeList< DebugViewPresenter,
|
||||
touchgfx::meta::TypeList< VehicleConfigPresenter,
|
||||
touchgfx::meta::TypeList< SDCPresenter,
|
||||
touchgfx::meta::TypeList< NewDriverViewPresenter,
|
||||
touchgfx::meta::Nil > > > > > >
|
||||
touchgfx::meta::Nil > > > > >
|
||||
> GeneratedPresenterTypes;
|
||||
|
||||
/**
|
||||
|
||||
@ -1,45 +0,0 @@
|
||||
/*********************************************************************************/
|
||||
/********** THIS FILE IS GENERATED BY TOUCHGFX DESIGNER, DO NOT MODIFY ***********/
|
||||
/*********************************************************************************/
|
||||
#ifndef NEWDRIVERVIEWVIEWBASE_HPP
|
||||
#define NEWDRIVERVIEWVIEWBASE_HPP
|
||||
|
||||
#include <gui/common/FrontendApplication.hpp>
|
||||
#include <mvp/View.hpp>
|
||||
#include <gui/newdriverview_screen/NewDriverViewPresenter.hpp>
|
||||
#include <touchgfx/widgets/Box.hpp>
|
||||
#include <touchgfx/widgets/canvas/Line.hpp>
|
||||
#include <touchgfx/widgets/canvas/PainterRGB565.hpp>
|
||||
#include <touchgfx/containers/progress_indicators/BoxProgress.hpp>
|
||||
|
||||
class NewDriverViewViewBase : public touchgfx::View<NewDriverViewPresenter>
|
||||
{
|
||||
public:
|
||||
NewDriverViewViewBase();
|
||||
virtual ~NewDriverViewViewBase();
|
||||
virtual void setupScreen();
|
||||
|
||||
protected:
|
||||
FrontendApplication& application() {
|
||||
return *static_cast<FrontendApplication*>(touchgfx::Application::getInstance());
|
||||
}
|
||||
|
||||
/*
|
||||
* Member Declarations
|
||||
*/
|
||||
touchgfx::Box __background;
|
||||
touchgfx::Line line1;
|
||||
touchgfx::PainterRGB565 line1Painter;
|
||||
touchgfx::BoxProgress boxProgress1;
|
||||
|
||||
private:
|
||||
|
||||
/*
|
||||
* Canvas Buffer Size
|
||||
*/
|
||||
static const uint32_t CANVAS_BUFFER_SIZE = 7200;
|
||||
uint8_t canvasBuffer[CANVAS_BUFFER_SIZE];
|
||||
|
||||
};
|
||||
|
||||
#endif // NEWDRIVERVIEWVIEWBASE_HPP
|
||||
@ -21,8 +21,6 @@
|
||||
#include <gui/vehicleconfig_screen/VehicleConfigPresenter.hpp>
|
||||
#include <gui/sdc_screen/SDCView.hpp>
|
||||
#include <gui/sdc_screen/SDCPresenter.hpp>
|
||||
#include <gui/newdriverview_screen/NewDriverViewView.hpp>
|
||||
#include <gui/newdriverview_screen/NewDriverViewPresenter.hpp>
|
||||
|
||||
using namespace touchgfx;
|
||||
|
||||
|
||||
@ -1,44 +0,0 @@
|
||||
/*********************************************************************************/
|
||||
/********** THIS FILE IS GENERATED BY TOUCHGFX DESIGNER, DO NOT MODIFY ***********/
|
||||
/*********************************************************************************/
|
||||
#include <gui_generated/newdriverview_screen/NewDriverViewViewBase.hpp>
|
||||
#include <touchgfx/canvas_widget_renderer/CanvasWidgetRenderer.hpp>
|
||||
#include <touchgfx/Color.hpp>
|
||||
#include <images/BitmapDatabase.hpp>
|
||||
|
||||
NewDriverViewViewBase::NewDriverViewViewBase()
|
||||
{
|
||||
touchgfx::CanvasWidgetRenderer::setupBuffer(canvasBuffer, CANVAS_BUFFER_SIZE);
|
||||
|
||||
__background.setPosition(0, 0, 480, 320);
|
||||
__background.setColor(touchgfx::Color::getColorFromRGB(0, 0, 0));
|
||||
add(__background);
|
||||
|
||||
line1.setPosition(0, 0, 480, 320);
|
||||
line1Painter.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
line1.setPainter(line1Painter);
|
||||
line1.setStart(140, 60);
|
||||
line1.setEnd(140, 200);
|
||||
line1.setLineWidth(3);
|
||||
line1.setLineEndingStyle(touchgfx::Line::ROUND_CAP_ENDING);
|
||||
add(line1);
|
||||
|
||||
boxProgress1.setXY(140, 17);
|
||||
boxProgress1.setProgressIndicatorPosition(0, 0, 200, 18);
|
||||
boxProgress1.setRange(0, 100);
|
||||
boxProgress1.setDirection(touchgfx::AbstractDirectionProgress::RIGHT);
|
||||
boxProgress1.setBackground(touchgfx::Bitmap(BITMAP_ALTERNATE_THEME_IMAGES_WIDGETS_BOXPROGRESS_THICK_SMALL_ID));
|
||||
boxProgress1.setColor(touchgfx::Color::getColorFromRGB(255, 186, 13));
|
||||
boxProgress1.setValue(60);
|
||||
add(boxProgress1);
|
||||
}
|
||||
|
||||
NewDriverViewViewBase::~NewDriverViewViewBase()
|
||||
{
|
||||
touchgfx::CanvasWidgetRenderer::resetBuffer();
|
||||
}
|
||||
|
||||
void NewDriverViewViewBase::setupScreen()
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user