aboutsummaryrefslogtreecommitdiffstats
path: root/SampleHomeScreenInterfaceApp/src/main.cpp
blob: 5b488551bc3a64aacd45aee5171d5ceddb7f545f (plain)
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
#include <iostream>
#include "sampleclass.hpp"

using namespace std;

int main()
{
    cout << "SampleHomeScreenInterfaceApp" << endl;
    cout << "v0.6.0" << endl;

    SampleClass *sampleClass = new SampleClass();

    //sRectangle test = sampleClass->getLayoutRenderAreaForSurfaceId(1);

    sampleClass->hardKeyPressed(100);
    sampleClass->hardKeyPressed(101);
    sampleClass->hardKeyPressed(102);

    /*sRectangle renderArea;
    renderArea.x = 0;
    renderArea.y = 1;
    renderArea.width = 12;
    renderArea.height = 13;
    sampleClass->renderSurfaceToArea(1, renderArea);*/

    //sampleClass->requestSurfaceIdToFullScreen(1);

    delete sampleClass;

    return 0;
}