buildsystem; added REPOSITORY_VER variable in crossplatform.mk for fetching repositor...
[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 = { 548, 440 };
20    text = $"About the Ecere SDK";
21    tabCycle = true;
22
23    EditBox
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       contents =
27             "Ecere Software Development Kit v" REPOSITORY_VERSION " \"Ryōan-ji\"" X64STRING "\n"
28             "Copyright © 2005-2013 Ecere Corporation\n"
29             "Copyright © 1996-2013 Jérôme Jacovella-St-Louis";
30    };
31
32    Label { this, text = $"Lead Architect and Developer", font = { $"Tahoma", 8.25f, bold = true }, position = { 16, 174 } };
33    Label { this, text = "Jérôme Jacovella-St-Louis", position = { 220, 174 } };
34    Label { this, text = $"With contributions from...", font = { $"Tahoma", 8.25f, bold = true }, position = { 16, 194 } };
35    Button licensingBtn
36    {
37       this, anchor = { left = 40, bottom = 10 }; hotKey = altL; text = "Software Licenses";
38       bool NotifyClicked(Button button, int x, int y, Modifiers mods)
39       {
40          LicensesForm { master = this }.Modal();
41          return true;
42       }
43    };
44    Button button 
45    {
46       this, text = $"OK", isDefault = true, size = { 80, 20 }, anchor = { right = 13, bottom = 10 };
47
48       bool NotifyClicked(Button button, int x, int y, Modifiers mods)
49       {
50          Destroy(0);
51          return true;
52       }
53    };
54    EditBox credits
55    {
56       this, borderStyle = none, noCaret = true, readOnly = true, anchor = { left = 16, top = 222, bottom = 48, right = 16 },
57       background = { r = 250, g = 252, b = 255 };
58       multiLine = true,
59       hasVertScroll = true,
60       contents = 
61          "Réjean Loyer\n"
62          "   Most of the additional programming on the IDE\n"
63          "   Initial EDA design\n"
64          "   Cross-platform and cross-compiler Makefile build system\n"
65          "\n"
66          "Niraj Kulkarni\n"
67          "   EditBox fixes\n"
68          "\n"
69          "Juan Sánchez\n"
70          "   Oracle EDA driver\n"
71          "   Spanish translation\n"
72          "   Finally getting us an IDE toolbar!\n"
73          "\n"
74          "Jean-François Bilodeau\n"
75          "   Initial Cocoa driver code\n"
76          "\n"
77          "Ryan Prior\n"
78          "   Initial development of the eC testing suite\n"
79          "   Ideas for an auto-layout GUI\n"
80          "   Work on debian packaging\n"
81          "\n"
82          "Joey Adams\n"
83          "   The bootstrapping system idea\n"
84          "   X driver improvements\n"
85          "   PPC Support\n"
86          "\n"
87          "Max Maton\n"
88          "   Code Editor improvements\n"
89          "\n"
90          "Ricardo Nabinger Sanchez\n"
91          "   Work on FreeBSD support\n"
92          "\n"
93          "Li Qi\n"
94          "   Internationalization, many good samples on the forums\n"
95          "\n"
96          "Gaetan Loyer\n"
97          "   Our logo and 3D art (e.g. chess set)\n"
98          "\n"
99          "Walter Charles Griffin\n"
100          "   Documentation, our mascott Ollie the Sea Otter\n"
101          "\n"
102          "Necdet Cokyazici\n"
103          "   Work on debian packaging and using Ecere in najitool\n"
104          "\n"
105          "Chinese translation Team:\n"
106          "   Ma Yanhong\n"
107          "   Li Qi\n"
108          "   Mojay Lee\n"
109          "   Loonke\n"
110          "\n"
111          "Making the Forums alive and forcing me to write good info:\n"
112          "   D. Bane\n"
113          "   Sam Hu\n"
114          "\n"
115          "Chris Goffinet and JF (_Demo_)\n"
116          "   Our work on the Dreamix Project drove us to\n"
117          "   develop eC and the Acovel Media Player\n"
118          "\n"
119          "Herbert Elwood Gilliland III\n"
120          "   Presentation art engine and OpenAL bindings\n"
121          "   Lots of feedback on the SDK\n"
122          "\n"
123          "Zou Yuan Jia\n"
124          "   Bringing Ecere to China\n"
125          "\n"
126          "Bart van der Werf\n"
127          "   Insightful discussions, testing Ecere Blokus!\n"
128          "\n"
129          "Luis Felipe Righi Flores\n"
130          "   Brazilian portuguese translation (under way)\n"
131          "\n"
132          "Special Thanks\n"
133          "\n"
134          "   Our ecere.com hosts, past and present\n"
135          "\n"
136          "   Sanyaade Adekoya\n"
137          "\n"
138          "   ##programming on FreeNode\n"
139          "\n"
140          "   All the guys on #ecere for moral support\n"
141          "\n"
142          "   Dmitrijs Ledkovs for sponsoring the SDK into Debian/Ubuntu\n"
143          "\n"
144          "   #launchpad, #ubuntu-packaging,\n"
145          "      #ubuntu-motu (tumbleweed, jtaylor, micahg...)\n"
146          "      For help with Debian/Ubuntu packaging\n"
147          "\n"
148          "   freebyte.com\n"
149          "\n"
150          "   devmaster.net\n"
151          "\n"
152          "   GitHub\n"
153          "\n"
154          "   The Software Developer's Journal\n"
155          "\n"
156          "Very Special Thanks\n"
157          "\n"
158          "   Dennis M. Ritchie (C)\n"
159          "\n"
160          "   Richard M. Stallman (Bison, GCC)\n"
161          "\n"
162          "   Linus Torvalds (Git, Linux)"
163    };
164    /*Label { this, text = "Réjean Loyer, Joey Adams, Max Maton", position = { 124, 176 } };
165    */
166    //Label { this, text = "Joey Adams", position = { 192, 190 } };
167    //Label { this, text = "Max Maton", position = { 192, 204 } };
168    Picture picture
169    {
170       this, size = { 318, 94 }, anchor = { top = 11 }, image = { ":ecere.jpg" };
171       cursor = ((GuiApplication)__thisModule).GetCursor(hand);
172
173       bool OnLeftButtonDown(int x, int y, Modifiers mods)
174       {
175          ShellOpen("http://www.ecere.com/");
176          return true;
177       }
178    };
179 }