-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathScreenMain.cpp
64 lines (50 loc) · 986 Bytes
/
ScreenMain.cpp
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
* ScreenMain.cpp
*
* Created on: 13 mai 2013
* Author: gdr
*/
#include "ScreenMain.h"
/**
* Create the main screen with three tabs.
*/
ScreenMain* ScreenMain::createTabUI()
{
}
/**
* Constructor.
*/
ScreenMain::ScreenMain() : TabScreen()
{
// Create child screens.
alertTab = new AlertTab();
trackingTab = new TrackingTab();
homeTab = new HomeTab();
// Add them as tabs.
this->addTab(homeTab);
this->addTab(trackingTab);
this->addTab(alertTab);
}
/**
* Destructor.
*/
ScreenMain::~ScreenMain()
{
}
void ScreenMain::pullRequest(){trackingTab->runTimerEvent();}
/**
* Handle keypresses.
*/
void ScreenMain::handleKeyPress(int keyCode){lprintfln("test");}
/**
* Handle pointer presses.
*/
void ScreenMain::handlePointerPressed(MAPoint2d point){}
/**
* Handle pointer moves.
*/
void ScreenMain::handlePointerMoved(MAPoint2d point){}
/**
* Handle pointer releases.
*/
void ScreenMain::handlePointerReleased(MAPoint2d point){}