RosettaCodeData/Task/Hello-world-Graphical/EC/hello-world-graphical-3.ec

16 lines
240 B
Plaintext

import "ecere"
class GoodByeForm : Window
{
text = "Goodbye, World!";
size = { 320, 200 };
hasClose = true;
void OnRedraw(Surface surface)
{
surface.WriteTextf(10, 10, "Goodbye, World!");
}
}
GoodByeForm form {};