Created
April 22, 2019 01:28
-
-
Save redj/52e34f8a486970b4f7dd9170b1822421 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import IMPORT_STATIC "ecere" | |
Black black { }; | |
class Screen : GuiApplication | |
{ | |
fullScreen = true; | |
} | |
class Black : Window | |
{ | |
background = black; | |
anchor = { top = 0, left = 0, bottom = 0, right = 0 }; | |
bool OnLeftButtonDown(int x, int y, Modifiers mods) | |
{ | |
Destroy(0); | |
return true; | |
} | |
bool OnKeyDown(Key key, unichar ch) | |
{ | |
Destroy(0); | |
return true; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment