installer: Updated LICENSE, NEWS, README, i18n, templates for 0.44.14
[sdk] / ide / src / about.ec
1 #ifdef ECERE_STATIC
2 import static "ecere"
3 #else
4 import "ecere"
5 #endif
6
7 import "licensing"
8
9 #if (defined(__WORDSIZE) && __WORDSIZE == 8) || defined(__x86_64__)
10 #define X64STRING " (64 bit)"
11 #else
12 #define X64STRING " (32 bit)"
13 #endif
14
15 class AboutIDE : Window
16 {
17    borderStyle = sizable;
18    hasClose = true;
19    minClientSize = { 462, 450 };
20    text = $"About the Ecere SDK";
21    tabCycle = true;
22
23    EditBox versionCopyright
24    {
25       this, font = { $"Tahoma", 8.25f, bold = true }, borderStyle = none, background = white, readOnly = true, noCaret = true, multiLine = true, autoSize = true, position = { 13, 128 };
26    };
27
28    bool OnPostCreate()
29    {
30       char * shortVersion = CopyString(REPOSITORY_VERSION);
31       char * message;
32       char * occ;
33       StripQuotes(shortVersion, shortVersion);
34       occ = strpbrk(shortVersion, "-+( ");
35       if(occ) *occ = '\0';
36       message = PrintString(
37             "Ecere Software Development Kit ", strcmp(shortVersion, "unknown") ? "v" : "", shortVersion, " \"Ryōan-ji\"" X64STRING "\n"
38             "Build " REPOSITORY_VERSION "\n"
39             "Copyright © 2005-2016 Ecere Corporation\n"
40             "Copyright © 1996-2016 Jérôme Jacovella-St-Louis");
41       versionCopyright.contents = message;
42       delete message;
43       delete shortVersion;
44       return true;
45    }
46
47    Label { this, text = $"Lead Architect and Developer", font = { $"Tahoma", 8.25f, bold = true }, position = { 16, 194 } };
48    Label { this, text = "Jérôme Jacovella-St-Louis", position = { 250, 194 } };
49    Label { this, text = $"Developer (IDE, build system, EDA)", font = { $"Tahoma", 8.25f, bold = true }, position = { 16, 214 } };
50    Label { this, text = "Réjean Loyer", position = { 250, 214 } };
51    Label { this, text = $"With contributions from...", font = { $"Tahoma", 8.25f, bold = true }, position = { 16, 234 } };
52    Button licensingBtn
53    {
54       this, anchor = { left = 40, bottom = 10 }; hotKey = altL; text = $"Software Licenses";
55       bool NotifyClicked(Button button, int x, int y, Modifiers mods)
56       {
57          LicensesForm { master = this }.Modal();
58          return true;
59       }
60    };
61    Button button
62    {
63       this, text = $"OK", isDefault = true, size = { 80, 20 }, anchor = { right = 13, bottom = 10 };
64
65       bool NotifyClicked(Button button, int x, int y, Modifiers mods)
66       {
67          Destroy(0);
68          return true;
69       }
70    };
71    EditBox credits
72    {
73       this, borderStyle = none, noCaret = true, readOnly = true, anchor = { left = 16, top = 252, bottom = 38, right = 16 },
74       background = { r = 250, g = 252, b = 255 };
75       multiLine = true,
76       hasVertScroll = true,
77       contents =
78          "Peng Hai Jie\n"
79          "   Testing on FreeBSD\n"
80          "\n"
81          "Chinese translation Team:\n"
82          "   Peng Hai Jie\n"
83          "   Ma Yanhong\n"
84          "   Li Qi\n"
85          "   Mojay Lee\n"
86          "   Loonke\n"
87          "\n"
88          "Ricardo Nabinger Sanchez\n"
89          "   Brazilian Portuguese translation\n"
90          "   Work on FreeBSD support\n"
91          "\n"
92          "Juan Sánchez Rangel\n"
93          "   Oracle EDA driver\n"
94          "   Spanish translation\n"
95          "   Finally getting us an IDE toolbar!\n"
96          "\n"
97          "Wikipedia User:Cquest for Ryoan-ji picture in Sakura season\n"
98          "   http://en.wikipedia.org/wiki/File:Kyoto-Ryoan-Ji_MG_4512.jpg\n"
99          "\n"
100          "Niraj Kulkarni\n"
101          "   EditBox fixes\n"
102          "   Marathi translation\n"
103          "\n"
104          "Jean-François Bilodeau\n"
105          "   Initial Cocoa driver code\n"
106          "\n"
107          "Ryan Prior\n"
108          "   Initial development of the eC testing suite\n"
109          "   Ideas for an auto-layout GUI\n"
110          "   Work on debian packaging\n"
111          "\n"
112          "Joey Adams\n"
113          "   The bootstrapping system idea\n"
114          "   X driver improvements\n"
115          "   PPC Support\n"
116          "\n"
117          "Max Maton\n"
118          "   Code Editor improvements\n"
119          "   Dutch translation\n"
120          "\n"
121          "Li Qi\n"
122          "   Internationalization, many good samples on the forums\n"
123          "\n"
124          "Gaetan Loyer\n"
125          "   Our logo and 3D art (e.g. chess set)\n"
126          "\n"
127          "Walter Charles Griffin\n"
128          "   Documentation, our mascott Ollie the Sea Otter\n"
129          "\n"
130          "Ivan Rubinson\n"
131          "   Russian translation\n"
132          "   Hebrew translation\n"
133          "\n"
134          "Vu Tuan Tanh\n"
135          "   Vietnamese translation\n"
136          "\n"
137          "Meggyesházi János\n"
138          "   Hungarian translation\n"
139          "\n"
140          "Necdet Cokyazici\n"
141          "   Work on debian packaging and using Ecere in najitool\n"
142          "\n"
143          "Making the Forums alive and forcing me to write good info:\n"
144          "   D. Bane\n"
145          "   Sam Hu\n"
146          "\n"
147          "Chris Goffinet and JF (_Demo_)\n"
148          "   Our work on the Dreamix Project drove us to\n"
149          "   develop eC and the Acovel Media Player\n"
150          "\n"
151          "Herbert Elwood Gilliland III\n"
152          "   Presentation art engine and OpenAL bindings\n"
153          "   Lots of feedback on the SDK\n"
154          "\n"
155          "Zou Yuan Jia\n"
156          "   Bringing Ecere to China\n"
157          "\n"
158          "Bart van der Werf\n"
159          "   Insightful discussions, testing Ecere Blokus!\n"
160          "\n"
161          "Luis Felipe Righi Flores\n"
162          "   Brazilian portuguese translation\n"
163          "\n"
164          "Special Thanks\n"
165          "\n"
166          "   Our ecere.com hosts, past and present\n"
167          "\n"
168          "   Sanyaade Adekoya\n"
169          "\n"
170          "   ##programming on FreeNode\n"
171          "\n"
172          "   All the guys on #ecere for moral support\n"
173          "\n"
174          "   Dmitrijs Ledkovs for sponsoring the SDK into Debian/Ubuntu\n"
175          "\n"
176          "   #launchpad, #ubuntu-packaging,\n"
177          "      #ubuntu-motu (tumbleweed, jtaylor, micahg...)\n"
178          "      For help with Debian/Ubuntu packaging\n"
179          "\n"
180          "   freebyte.com\n"
181          "\n"
182          "   devmaster.net\n"
183          "\n"
184          "   GitHub\n"
185          "\n"
186          "   The Software Developer's Journal\n"
187          "\n"
188          "Very Special Thanks\n"
189          "\n"
190          "   Dennis M. Ritchie (C)\n"
191          "\n"
192          "   Richard M. Stallman (Bison, GCC)\n"
193          "\n"
194          "   Linus Torvalds (Git, Linux)"
195    };
196    /*Label { this, text = "Réjean Loyer, Joey Adams, Max Maton", position = { 124, 176 } };
197    */
198    //Label { this, text = "Joey Adams", position = { 192, 190 } };
199    //Label { this, text = "Max Maton", position = { 192, 204 } };
200    Picture picture
201    {
202       this, size = { 318, 94 }, anchor = { top = 11 }, image = { ":ecere.jpg" };
203       cursor = ((GuiApplication)__thisModule).GetCursor(hand);
204
205       bool OnLeftButtonDown(int x, int y, Modifiers mods)
206       {
207          ShellOpen("http://ecere.org/");
208          return true;
209       }
210    };
211 }