Get started on driver view
This commit is contained in:
@ -13,6 +13,8 @@
|
||||
#include <gui/missionselect_screen/MissionSelectPresenter.hpp>
|
||||
#include <gui/ami_screen/AMIView.hpp>
|
||||
#include <gui/ami_screen/AMIPresenter.hpp>
|
||||
#include <gui/driverview_screen/DriverViewView.hpp>
|
||||
#include <gui/driverview_screen/DriverViewPresenter.hpp>
|
||||
|
||||
using namespace touchgfx;
|
||||
|
||||
@ -56,3 +58,16 @@ void FrontendApplicationBase::gotoAMIScreenNoTransitionImpl()
|
||||
{
|
||||
touchgfx::makeTransition<AMIView, AMIPresenter, touchgfx::NoTransition, Model >(¤tScreen, ¤tPresenter, frontendHeap, ¤tTransition, &model);
|
||||
}
|
||||
|
||||
// DriverView
|
||||
|
||||
void FrontendApplicationBase::gotoDriverViewScreenNoTransition()
|
||||
{
|
||||
transitionCallback = touchgfx::Callback<FrontendApplicationBase>(this, &FrontendApplication::gotoDriverViewScreenNoTransitionImpl);
|
||||
pendingScreenTransitionCallback = &transitionCallback;
|
||||
}
|
||||
|
||||
void FrontendApplicationBase::gotoDriverViewScreenNoTransitionImpl()
|
||||
{
|
||||
touchgfx::makeTransition<DriverViewView, DriverViewPresenter, touchgfx::NoTransition, Model >(¤tScreen, ¤tPresenter, frontendHeap, ¤tTransition, &model);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user