Created
May 10, 2014 22:02
-
-
Save jerstlouis/cc69b0d3d4e6717cc515 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 "ecere" | |
class Form1 : Window | |
{ | |
caption = $"Form1"; | |
background = formColor; | |
borderStyle = sizable; | |
hasMaximize = true; | |
hasMinimize = true; | |
hasClose = true; | |
clientSize = { 632, 438 }; | |
void OnRedraw(Surface surface) | |
{ | |
surface.DrawLine(50, 10, 10, 100); | |
surface.DrawLine(10, 100, 200, 200); | |
surface.DrawLine(200, 200, 50, 10); | |
} | |
} | |
Form1 form1 {}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment