blob: f6ad35620e910602e97037c518fc3f03a3b2d51d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "app.hpp"
extern "C" {
#include "plat.h"
}
int main() {
App* app = App::create("c2");
app->running = 1;
while (app->running) {
app->begin();
if (app->mp(mbtn_left))
print("%d, %d, %d\n", app->mx, app->my, app->scrolly);
app->end();
}
app->destroy();
}
|