Blame view

build2/epsilon-master/apps/code/sandbox_controller.h 738 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
  #ifndef CODE_SANDBOX_CONTROLLER_H
  #define CODE_SANDBOX_CONTROLLER_H
  
  #include <escher/responder.h>
  #include <escher/solid_color_view.h>
  #include <escher/stack_view_controller.h>
  #include <escher/view_controller.h>
  
  namespace Code {
  
  class SandboxController : public ViewController {
  public:
    SandboxController(Responder * parentResponder);
    StackViewController * stackViewController();
  
    // ViewController
    View * view() override { return &m_solidColorView; }
    void viewWillAppear() override;
    bool handleEvent(Ion::Events::Event event) override;
    ViewController::DisplayParameter displayParameter() override { return ViewController::DisplayParameter::WantsMaximumSpace; }
  
  private:
    SolidColorView m_solidColorView;
  };
  }
  
  #endif