Start on driver view screen
This commit is contained in:
parent
49cc898b8c
commit
243577fdcc
|
@ -17,12 +17,9 @@ public:
|
||||||
|
|
||||||
virtual void changeToStartScreen()
|
virtual void changeToStartScreen()
|
||||||
{
|
{
|
||||||
gotoMissionSelectScreenNoTransition();
|
gotoDriverViewScreenNoTransition();
|
||||||
}
|
}
|
||||||
|
|
||||||
// MissionSelect
|
|
||||||
void gotoMissionSelectScreenNoTransition();
|
|
||||||
|
|
||||||
// AMI
|
// AMI
|
||||||
void gotoAMIScreenNoTransition();
|
void gotoAMIScreenNoTransition();
|
||||||
|
|
||||||
|
@ -40,9 +37,6 @@ protected:
|
||||||
FrontendHeap& frontendHeap;
|
FrontendHeap& frontendHeap;
|
||||||
Model& model;
|
Model& model;
|
||||||
|
|
||||||
// MissionSelect
|
|
||||||
void gotoMissionSelectScreenNoTransitionImpl();
|
|
||||||
|
|
||||||
// AMI
|
// AMI
|
||||||
void gotoAMIScreenNoTransitionImpl();
|
void gotoAMIScreenNoTransitionImpl();
|
||||||
|
|
||||||
|
|
|
@ -89,7 +89,7 @@ public:
|
||||||
|
|
||||||
virtual void gotoStartScreen(FrontendApplication& app)
|
virtual void gotoStartScreen(FrontendApplication& app)
|
||||||
{
|
{
|
||||||
app.gotoMissionSelectScreenNoTransition();
|
app.gotoDriverViewScreenNoTransition();
|
||||||
}
|
}
|
||||||
protected:
|
protected:
|
||||||
FrontendHeapBase(touchgfx::AbstractPartition& presenters, touchgfx::AbstractPartition& views, touchgfx::AbstractPartition& transitions, FrontendApplication& app)
|
FrontendHeapBase(touchgfx::AbstractPartition& presenters, touchgfx::AbstractPartition& views, touchgfx::AbstractPartition& transitions, FrontendApplication& app)
|
||||||
|
|
|
@ -37,19 +37,6 @@ FrontendApplicationBase::FrontendApplicationBase(Model& m, FrontendHeap& heap)
|
||||||
* Screen Transition Declarations
|
* Screen Transition Declarations
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// MissionSelect
|
|
||||||
|
|
||||||
void FrontendApplicationBase::gotoMissionSelectScreenNoTransition()
|
|
||||||
{
|
|
||||||
transitionCallback = touchgfx::Callback<FrontendApplicationBase>(this, &FrontendApplication::gotoMissionSelectScreenNoTransitionImpl);
|
|
||||||
pendingScreenTransitionCallback = &transitionCallback;
|
|
||||||
}
|
|
||||||
|
|
||||||
void FrontendApplicationBase::gotoMissionSelectScreenNoTransitionImpl()
|
|
||||||
{
|
|
||||||
touchgfx::makeTransition<MissionSelectView, MissionSelectPresenter, touchgfx::NoTransition, Model >(¤tScreen, ¤tPresenter, frontendHeap, ¤tTransition, &model);
|
|
||||||
}
|
|
||||||
|
|
||||||
// AMI
|
// AMI
|
||||||
|
|
||||||
void FrontendApplicationBase::gotoAMIScreenNoTransition()
|
void FrontendApplicationBase::gotoAMIScreenNoTransition()
|
||||||
|
|
|
@ -1305,7 +1305,7 @@
|
||||||
"Height": 480
|
"Height": 480
|
||||||
},
|
},
|
||||||
"SelectedColorDepth": 16,
|
"SelectedColorDepth": 16,
|
||||||
"StartupScreenName": "MissionSelect",
|
"StartupScreenName": "DriverView",
|
||||||
"SelectedStartupLanguage": "GB",
|
"SelectedStartupLanguage": "GB",
|
||||||
"TouchGfxPath": "../Middlewares/ST/touchgfx",
|
"TouchGfxPath": "../Middlewares/ST/touchgfx",
|
||||||
"UIPath": ".",
|
"UIPath": ".",
|
||||||
|
|
Loading…
Reference in New Issue