Select one of the symbols to view example projects that use it.
 
Outline
#include <gui/common/DemoPresenter.hpp>
DemoPresenter::DemoPresenter(DemoViewInterface &)
DemoPresenter::backOptionSelected()
DemoPresenter::mcuLoadUpdated(uint8_t)
DemoPresenter::viewStartupDone()
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXGui/gui/src/common/DemoPresenter.cpp
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/** ****************************************************************************** * This file is part of the TouchGFX 4.10.0 distribution. * * @attention * * Copyright (c) 2018 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** *//* ... */ #include <gui/common/DemoPresenter.hpp> DemoPresenter::DemoPresenter(DemoViewInterface& view) : viewInterface(view) { }{ ... } void DemoPresenter::backOptionSelected() { static_cast<FrontendApplication*>(Application::getInstance())->gotoMainMenuScreen(); }{ ... } void DemoPresenter::mcuLoadUpdated(uint8_t mcuLoad) { viewInterface.updateProcessorLoad(mcuLoad); }{ ... } void DemoPresenter::viewStartupDone() { }{ ... }