3 class ConnectDialog : Window
5 minClientSize = Size { 300, 100 };
6 tabCycle = true, background = activeBorder, hasClose = true, text = "Connect to server";
10 parent = this, bevel = true, isDefault = true, text = "OK",
11 size = Size { w = 80 }, anchor = Anchor { horz = -48, bottom = 10 };
13 bool NotifyClicked(Button button, int x, int y, Modifiers mods)
15 ((Chess)master).Connect(address.line.text);
23 parent = this, bevel = true, text = "Cancel", size = Size { w = 80 }, hotKey = escape;
24 anchor = Anchor { horz = 48, bottom = 10 };
26 bool NotifyClicked(Button button, int x, int y, Modifiers mods)
35 parent = this, textHorzScroll = true, size = Size { w = 200 }, anchor = Anchor { top = 10 },
36 line.text = "localhost"