Blame view

build3/apps/hardware_test/reset_controller.h 642 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
25
26
27
28
29
  #ifndef HARDWARE_TEST_RESET_CONTROLLER_H
  #define HARDWARE_TEST_RESET_CONTROLLER_H
  
  #include <escher.h>
  
  namespace HardwareTest {
  
  class ResetController : public ViewController {
  public:
    ResetController(Responder * parentResponder);
    View * view() override;
    bool handleEvent(Ion::Events::Event event) override;
  private:
    class ContentView : public View {
    public:
      ContentView();
      BufferTextView * resetTextView();
    private:
      void layoutSubviews() override;
      int numberOfSubviews() const override;
      View * subviewAtIndex(int index) override;
      BufferTextView m_resetTextView;
    };
    ContentView m_view;
  };
  
  }
  
  #endif