7 class LicenseBox : Window
9 text = "Ecere SDK License Agreement";
12 borderStyle = sizable;
13 background = activeBorder;
15 font = { "Verdana", 10 };
24 anchor = { 10, 10, 10, 40 };
28 property char * sourceFile
32 File f = FileOpen(value, read);
40 Button dontAgreeButton
43 text = "I don't agree";
45 anchor = { bottom = 10, right = 14 };
47 bool NotifyClicked(Button button, int x, int y, Modifiers mods)
49 ((GuiApplication)__thisModule).desktop.Destroy(0);
59 anchor = { bottom = 10 };
60 NotifyClicked = ButtonCloseDialog;