Files
Upsilon/apps/on_boarding/logo_controller.h
Léa Saviot 5e7731c34d [apps/on_boarding] Reset LED only if POST was performed
Fixes LED color bug in the following scenario:
Plug the device, reset, back, unplug the device, select language
-> The led is lit up
2019-04-30 15:40:47 +02:00

26 lines
466 B
C++

#ifndef APPS_LOGO_CONTROLLER_H
#define APPS_LOGO_CONTROLLER_H
#include <escher.h>
#include "logo_view.h"
namespace OnBoarding {
class LogoController : public ViewController, public Timer {
public:
LogoController();
View * view() override { return &m_logoView; }
void viewWillAppear() override;
void viewDidDisappear() override;
private:
bool fire() override;
LogoView m_logoView;
KDColor m_previousLEDColor;
bool m_didPerformTests;
};
}
#endif