Numworks Epsilon  1.4.1
Graphing Calculator Operating System
screen_test_controller.h
Go to the documentation of this file.
1 #ifndef HARDWARE_TEST_SCREEN_TEST_CONTROLLER_H
2 #define HARDWARE_TEST_SCREEN_TEST_CONTROLLER_H
3 
4 #include <escher.h>
5 #include "led_test_controller.h"
6 #include "pattern_view.h"
7 #include "pattern.h"
8 
9 namespace HardwareTest {
10 
12 public:
14  View * view() override;
15  bool handleEvent(Ion::Events::Event event) override;
16  void viewWillAppear() override;
17 private:
18  void showNextPattern();
19  int m_patternIndex;
20  PatternView m_view;
21  LEDTestController m_ledTestController;
22 };
23 
24 }
25 
26 #endif
27 
Responder * parentResponder() const
Definition: responder.cpp:12
bool handleEvent(Ion::Events::Event event) override
Definition: view.h:23
ScreenTestController(Responder *parentResponder)