5 background = Color { 200,150,0 };
6 size = Size { 300, 200 };
12 this, text = "Push Me", position = { 100, 20 }, size = { 80, 30 };
13 bool NotifyClicked(Button button, int x, int y, Modifiers mods) { Destroy(0); return true; }
15 ScrollBar { this, direction = vertical, anchor = { left = 0, top = 0, bottom = 0 }, size = Size { 48 } };
16 EditBox { this, position = { 50, 80 }, size = { 200, 50 }, foreground = red };
21 borderStyle = sizable;
22 hasMaximize = true, hasMinimize = true, hasClose = true;
24 position = { 10, 10 };
28 BitmapResource bubbles { ":SoapBubbles.bmp", window = this, transparent = false };
30 void OnRedraw(Surface surface)
33 for(c = 0; c < 4; c ++)
35 surface.Tile(bubbles.bitmap, 0,0,clientSize.w,clientSize.h);
38 Child { this, position = { 100, 100 }, size.h = 150 };
39 Child { this, borderStyle = contour, text = "Contour", position = { 200, 300 }, size.w = 500 };
40 Child { this, borderStyle = fixed, text = "Fixed", position = { 500, 60 }; };