2 public import static "ecere"
10 font = { "Courier New", 10 };
18 anchor = { 10, 10, 10, 10 };
22 property const char * sourceFile
26 File f = FileOpen(value, read);
36 class LicensesForm : Window
38 caption = $"License Agreements";
39 background = formColor;
40 borderStyle = sizable;
42 minClientSize = { 940, 556 };
48 anchor = { 10, 60, 10, 40 };
52 this, anchor = { top = 16 }, font = { "Tahoma", 10, true };
53 caption = $"This program is based on these free open source software components.";
57 this, anchor = { top = 32 }, font = { "Tahoma", 10, true };
58 caption = $"By using it you agree to the terms and conditions of their individual licenses.";
62 caption = "Ecere SDK";
63 sourceFile = ":licenses/LICENSE";
64 tabControl = tabControl;
69 sourceFile = ":licenses/png.LICENSE";
70 tabControl = tabControl;
75 sourceFile = ":licenses/jpg.LICENSE";
76 tabControl = tabControl;
78 LicenseTab freetypeTab
81 sourceFile = ":licenses/freetype.LICENSE";
82 tabControl = tabControl;
84 LicenseTab harfbuzzTab
87 sourceFile = ":licenses/harfbuzz.LICENSE";
88 tabControl = tabControl;
93 sourceFile = ":licenses/ungif.LICENSE";
94 tabControl = tabControl;
99 sourceFile = ":licenses/zlib.README";
100 tabControl = tabControl;
105 sourceFile = ":licenses/sqlite.LICENSE";
106 tabControl = tabControl;
111 sourceFile = ":licenses/ffi.LICENSE";
112 tabControl = tabControl;
116 caption = "Tango Icons";
117 sourceFile = ":licenses/tango.COPYING";
118 tabControl = tabControl;
123 sourceFile = ":licenses/upx.LICENSE";
124 tabControl = tabControl;
126 #if defined(__WIN32__)
129 caption = "GCC, GDB";
130 sourceFile = ":licenses/tdm-gcc.LICENSE";
131 tabControl = tabControl;
135 caption = "MinGW-w64";
136 sourceFile = ":licenses/MinGW-w64.LICENSE";
137 tabControl = tabControl;
144 anchor = { bottom = 10 };
147 NotifyClicked = ButtonCloseDialog;
150 Button dontAgreeButton
153 caption = $"I don't agree";
154 minClientSize = { 100, 20 };
155 anchor = { bottom = 10, right = 14 };
157 bool NotifyClicked(Button button, int x, int y, Modifiers mods)
159 ((GuiApplication)__thisModule).desktop.Destroy(0);
166 caption = $"I agree";
167 font = { "Verdana", 10, bold = true };
169 minClientSize = { 80, 21 };
170 anchor = { bottom = 10 };
171 NotifyClicked = ButtonCloseDialog;