Blame view

Modif/epsilon-master/apps/hardware_test/screen_test_controller.h 512 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  #ifndef HARDWARE_TEST_SCREEN_TEST_CONTROLLER_H
  #define HARDWARE_TEST_SCREEN_TEST_CONTROLLER_H
  
  #include <escher.h>
  #include "pattern_view.h"
  #include "pattern.h"
  
  namespace HardwareTest {
  
  class ScreenTestController : public ViewController {
  public:
    ScreenTestController(Responder * parentResponder);
    View * view() override;
    bool handleEvent(Ion::Events::Event event) override;
    void viewWillAppear() override;
  private:
    void showNextPattern();
    int m_patternIndex;
    PatternView m_view;
  };
  
  }
  
  #endif