10 alias stdio.File *stdout = stdio.stdout;
12 typedef gfx.Event Event;
13 typedef gfx.Frame Frame;
15 subclass gadgets.InputFrame as MyInput {
18 inputExecute(const char *text)
20 stdout->show("ENTER!", text);
24 typedef int myint_t = -44;
27 main(int ac, char **av)
36 frame.createFrame("BODY", &gfx.root, 0, 0, BODY);
37 frame->setBGColor(255, 129, 0);
38 for (i = 0; i < 15; ++i) {
39 stdio.stdout->fd.write("X", 1);
40 frame1.createFrame("LEFT", frame, 0, 0, LEFT);
41 for (j = 0; j < 60; ++j) {
42 input.createInput(frame1, 0, 0, ABOVE, "Input:");
43 input->setBlinking(1);
48 Thread.waitThreads(); # wait until all threads have exited