import mnit
import sdl
import linux_opengles1
+import linux
in "C" `{
-#include <EGL/egl.h>
+ #include <EGL/egl.h>
`}
redef class App
- redef type IE: SDLInputEvent
redef type D: Opengles1Display
redef type I: Opengles1Image
- redef init
+ redef fun setup
do
+ if "NIT_TESTING".environ == "true" then exit 0
display = new Opengles1Display
super
- init_window
+ window_created
end
redef fun generate_input