Numworks Epsilon
1.4.1
Graphing Calculator Operating System
screen_test_controller.h
Go to the documentation of this file.
1
#ifndef HARDWARE_TEST_SCREEN_TEST_CONTROLLER_H
2
#define HARDWARE_TEST_SCREEN_TEST_CONTROLLER_H
3
4
#include <
escher.h
>
5
#include "
led_test_controller.h
"
6
#include "
pattern_view.h
"
7
#include "
pattern.h
"
8
9
namespace
HardwareTest
{
10
11
class
ScreenTestController
:
public
ViewController
{
12
public
:
13
ScreenTestController
(
Responder
*
parentResponder
);
14
View
*
view
()
override
;
15
bool
handleEvent
(
Ion::Events::Event
event)
override
;
16
void
viewWillAppear
()
override
;
17
private
:
18
void
showNextPattern();
19
int
m_patternIndex;
20
PatternView
m_view;
21
LEDTestController
m_ledTestController;
22
};
23
24
}
25
26
#endif
27
Responder::parentResponder
Responder * parentResponder() const
Definition:
responder.cpp:12
pattern_view.h
HardwareTest::ScreenTestController
Definition:
screen_test_controller.h:11
escher.h
HardwareTest::PatternView
Definition:
pattern_view.h:9
HardwareTest::ScreenTestController::handleEvent
bool handleEvent(Ion::Events::Event event) override
Definition:
screen_test_controller.cpp:20
Ion::Events::Event
Definition:
events.h:9
HardwareTest
Definition:
app.cpp:8
Responder
Definition:
responder.h:9
HardwareTest::ScreenTestController::viewWillAppear
void viewWillAppear() override
Definition:
screen_test_controller.cpp:33
led_test_controller.h
HardwareTest::LEDTestController
Definition:
led_test_controller.h:10
View
Definition:
view.h:23
HardwareTest::ScreenTestController::ScreenTestController
ScreenTestController(Responder *parentResponder)
Definition:
screen_test_controller.cpp:8
pattern.h
HardwareTest::ScreenTestController::view
View * view() override
Definition:
screen_test_controller.cpp:16
ViewController
Definition:
view_controller.h:30
epsilon
apps
hardware_test
screen_test_controller.h
Generated by
1.8.14