Blame view

Giac_maj/epsilon-giac/escher/src/toolbox.cpp 544 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
  #include <escher/toolbox.h>
  
  Toolbox::Toolbox(Responder * parentResponder, ViewController * rootViewController) :
    StackViewController(parentResponder, rootViewController, true, KDColorWhite, Palette::PurpleBright, Palette::PurpleDark),
    m_sender(nullptr)
  {
  }
  
  void Toolbox::setSender(Responder * sender) {
    m_sender = sender;
  }
  
  void Toolbox::viewWillAppear() {
    StackViewController::viewWillAppear();
  }
  
  void Toolbox::viewDidDisappear() {
    StackViewController::viewDidDisappear();
  }
  
  Responder * Toolbox::sender() {
    return m_sender;
  }