tarball: Updated for version 0.44.15
[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          "Alexis Naveros\n"
79          "   Font Outlines\n"
80          "   Modern OpenGL Guidance\n"
81          "\n"
82          "Local Ottawa eC Users Community\n"
83          "  http://www.meetup.com/eC-Programming-Language-Meetup/\n"
84          "\n"
85          "Darel Rex Finley\n"
86          "   Quick sort algorithm\n"
87          "\n"
88          "Isaac Turner\n"
89          "   Safe quick sort wrappers\n"
90          "\n"
91          "Peng Hai Jie\n"
92          "   Testing on FreeBSD\n"
93          "\n"
94          "Chinese translation Team:\n"
95          "   Peng Hai Jie\n"
96          "   Ma Yanhong\n"
97          "   Li Qi\n"
98          "   Mojay Lee\n"
99          "   Loonke\n"
100          "\n"
101          "Ricardo Nabinger Sanchez\n"
102          "   Brazilian Portuguese translation\n"
103          "   Work on FreeBSD support\n"
104          "\n"
105          "Juan Sánchez Rangel\n"
106          "   Oracle EDA driver\n"
107          "   Spanish translation\n"
108          "   Finally getting us an IDE toolbar!\n"
109          "\n"
110          "Wikipedia User:Cquest for Ryoan-ji picture in Sakura season\n"
111          "   http://en.wikipedia.org/wiki/File:Kyoto-Ryoan-Ji_MG_4512.jpg\n"
112          "\n"
113          "Niraj Kulkarni\n"
114          "   EditBox fixes\n"
115          "   Marathi translation\n"
116          "\n"
117          "Jean-François Bilodeau\n"
118          "   Initial Cocoa driver code\n"
119          "\n"
120          "Ryan Prior\n"
121          "   Initial development of the eC testing suite\n"
122          "   Ideas for an auto-layout GUI\n"
123          "   Work on debian packaging\n"
124          "\n"
125          "Joey Adams\n"
126          "   The bootstrapping system idea\n"
127          "   X driver improvements\n"
128          "   PPC Support\n"
129          "\n"
130          "Max Maton\n"
131          "   Code Editor improvements\n"
132          "   Dutch translation\n"
133          "\n"
134          "Li Qi\n"
135          "   Internationalization, many good samples on the forums\n"
136          "\n"
137          "Gaetan Loyer\n"
138          "   Our logo and 3D art (e.g. chess set)\n"
139          "\n"
140          "Walter Charles Griffin\n"
141          "   Documentation, our mascott Ollie the Sea Otter\n"
142          "\n"
143          "Ivan Rubinson\n"
144          "   Russian translation\n"
145          "   Hebrew translation\n"
146          "\n"
147          "Vu Tuan Tanh\n"
148          "   Vietnamese translation\n"
149          "\n"
150          "Meggyesházi János\n"
151          "   Hungarian translation\n"
152          "\n"
153          "Necdet Cokyazici\n"
154          "   Work on debian packaging and using Ecere in najitool\n"
155          "\n"
156          "Making the Forums alive and forcing me to write good info:\n"
157          "   D. Bane\n"
158          "   Sam Hu\n"
159          "\n"
160          "Chris Goffinet and JF (_Demo_)\n"
161          "   Our work on the Dreamix Project drove us to\n"
162          "   develop eC and the Acovel Media Player\n"
163          "\n"
164          "Herbert Elwood Gilliland III\n"
165          "   Presentation art engine and OpenAL bindings\n"
166          "   Lots of feedback on the SDK\n"
167          "\n"
168          "Zou Yuan Jia\n"
169          "   Bringing Ecere to China\n"
170          "\n"
171          "Bart van der Werf\n"
172          "   Insightful discussions, testing Ecere Blokus!\n"
173          "\n"
174          "Luis Felipe Righi Flores\n"
175          "   Brazilian portuguese translation\n"
176          "\n"
177          "Special Thanks\n"
178          "\n"
179          "   Our ecere.com hosts, past and present\n"
180          "\n"
181          "   Sanyaade Adekoya\n"
182          "\n"
183          "   ##programming on FreeNode\n"
184          "\n"
185          "   All the guys on #ecere for moral support\n"
186          "\n"
187          "   Dmitrijs Ledkovs for sponsoring the SDK into Debian/Ubuntu\n"
188          "\n"
189          "   #launchpad, #ubuntu-packaging,\n"
190          "      #ubuntu-motu (tumbleweed, jtaylor, micahg...)\n"
191          "      For help with Debian/Ubuntu packaging\n"
192          "\n"
193          "   freebyte.com\n"
194          "\n"
195          "   devmaster.net\n"
196          "\n"
197          "   GitHub\n"
198          "\n"
199          "   The Software Developer's Journal\n"
200          "\n"
201          "Very Special Thanks\n"
202          "\n"
203          "   Dennis M. Ritchie (C)\n"
204          "\n"
205          "   Richard M. Stallman (Bison, GCC)\n"
206          "\n"
207          "   Linus Torvalds (Git, Linux)"
208    };
209    /*Label { this, text = "Réjean Loyer, Joey Adams, Max Maton", position = { 124, 176 } };
210    */
211    //Label { this, text = "Joey Adams", position = { 192, 190 } };
212    //Label { this, text = "Max Maton", position = { 192, 204 } };
213    Picture picture
214    {
215       this, size = { 318, 94 }, anchor = { top = 11 }, image = { ":ecere.jpg" };
216       cursor = ((GuiApplication)__thisModule).GetCursor(hand);
217
218       bool OnLeftButtonDown(int x, int y, Modifiers mods)
219       {
220          ShellOpen("http://ecere.org/");
221          return true;
222       }
223    };
224 }