Numworks Epsilon
1.4.1
Graphing Calculator Operating System
sandbox_controller.h
Go to the documentation of this file.
1
#ifndef CODE_SANDBOX_CONTROLLER_H
2
#define CODE_SANDBOX_CONTROLLER_H
3
4
#include <
escher/responder.h
>
5
#include <
escher/solid_color_view.h
>
6
#include <
escher/stack_view_controller.h
>
7
#include <
escher/view_controller.h
>
8
9
namespace
Code
{
10
11
class
SandboxController
:
public
ViewController
{
12
public
:
13
SandboxController
(
Responder
*
parentResponder
);
14
StackViewController
*
stackViewController
();
15
16
// ViewController
17
View
*
view
()
override
{
return
&m_solidColorView; }
18
void
viewWillAppear
()
override
;
19
bool
handleEvent
(
Ion::Events::Event
event)
override
;
20
ViewController::DisplayParameter
displayParameter
()
override
{
return
ViewController::DisplayParameter::WantsMaximumSpace
; }
21
22
private
:
23
SolidColorView
m_solidColorView;
24
};
25
}
26
27
#endif
ViewController::DisplayParameter::WantsMaximumSpace
ViewController::DisplayParameter
DisplayParameter
Definition:
view_controller.h:34
Responder::parentResponder
Responder * parentResponder() const
Definition:
responder.cpp:12
responder.h
view_controller.h
Code::SandboxController::handleEvent
bool handleEvent(Ion::Events::Event event) override
Definition:
sandbox_controller.cpp:20
Ion::Events::Event
Definition:
events.h:9
Code::SandboxController::view
View * view() override
Definition:
sandbox_controller.h:17
Responder
Definition:
responder.h:9
Code
Definition:
app.cpp:7
solid_color_view.h
StackViewController
Definition:
stack_view_controller.h:10
Code::SandboxController::stackViewController
StackViewController * stackViewController()
Definition:
sandbox_controller.cpp:12
Code::SandboxController::SandboxController
SandboxController(Responder *parentResponder)
Definition:
sandbox_controller.cpp:6
Code::SandboxController::displayParameter
ViewController::DisplayParameter displayParameter() override
Definition:
sandbox_controller.h:20
SolidColorView
Definition:
solid_color_view.h:6
stack_view_controller.h
Code::SandboxController::viewWillAppear
void viewWillAppear() override
Definition:
sandbox_controller.cpp:16
View
Definition:
view.h:23
ViewController
Definition:
view_controller.h:30
Code::SandboxController
Definition:
sandbox_controller.h:11
epsilon
apps
code
sandbox_controller.h
Generated by
1.8.14