Visual Studio 2017 support
[clinton/Virtual-Jaguar-Rx.git] / src / gui / about.cpp
1 //
2 // about.cpp - Credits
3 //
4 // by James Hammons
5 // (C) 2010 Underground Software
6 //
7 // JLH = James Hammons <jlhamm@acm.org>
8 // JPM = Jean-Paul Mari <djipi.mari@gmail.com>
9 //
10 // Who When What
11 // --- ---------- -------------------------------------------------------------
12 // JLH 01/21/2010 Created this file
13 // JLH 01/22/2010 Fleshed out the credits a bit more
14 // JLH 01/22/2010 Fixed centering and decorating of window
15 // JLH 10/08/2011 Updated credits, added Esc & Return as exit keys
16 // JPM 08/14/2017 Updated credits, added flynn
17 // JPM 09/06/2017 Updated flynn credit line to be more specific about the work
18 //
19
20 // STILL TO DO:
21 //
22
23 #include "about.h"
24 #include "version.h"
25
26
27 AboutWindow::AboutWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt::Dialog)
28 {
29 setWindowTitle(tr("About Virtual Jaguar..."));
30
31 layout = new QVBoxLayout();
32 layout->setSizeConstraint(QLayout::SetFixedSize);
33 setLayout(layout);
34
35 QString s;
36 s.append(tr(
37 "<img src=':/res/vj_title_small.png' style='float: right'>"
38 "<table>"
39 "<tr><td align='right'><b>Version: </b></td><td>"
40 VJ_RELEASE_VERSION " (" VJ_RELEASE_SUBVERSION ") Rx"
41 "</td></tr>"
42 "<tr><td align='right'><b>Coders: </b></td><td>James Hammons (shamus)<br>Niels Wagenaar (nwagenaar)<br>Carwin Jones (Caz)<br>Adam Green</td></tr>"
43 "<tr><td align='right'><b>Testers: </b></td><td>Cyrano Jones, LinkoVitch, partycle, ggn,<br>neo-rg, Robert R, TheUMan, Dissection,<br>overridex, geormetal</td></tr>"
44 "<tr><td align='right'><b>Build Team: </b></td><td>shamus (win32)<br>goldenegg (MacOS)</td></tr>"
45 "<tr><td align='right'><b>Homepage: </b></td><td>http://icculus.org/virtualjaguar/</td></tr>"
46 "</table>"
47 "<br><br>"
48 "<i>Rx version:<i>"
49 "<br>"
50 "<b>Flynn</b> for the debugger integration, ELF/DWARF format, Win64 & Visual Studio 2015 support"
51 "<br><br>"
52 "<i>The Virtual Jaguar team would like to express their gratitude to:</i>"
53 "<br><br>"
54 "<b>Aaron Giles</b> for the original CoJag sources<br>"
55 "<b>David Raingeard</b> for the original Virtual Jaguar sources<br>"
56 "<b>Bernd Schmidt</b> for his UAE 68K emulator<br>"
57 "<b>Sam Lantinga</b> for his amazing SDL libraries<br>"
58 "<b>Ryan C. Gordon</b> for Virtual Jaguar's web presence<br>"
59 "<b>Curt Vendel</b> for various Jaguar & other goodies<br>"
60 "<b>Reboot</b> for reasons too numerous to mention<br>"
61 "The guys over at <b>Atari Age</b> :-)<br>"
62 "<b>byuu</b> for <s>BSNES</s> Higan and showing us what was possible<br>"
63 ));
64 text = new QLabel(s);
65 layout->addWidget(text);
66 }
67
68
69 void AboutWindow::keyPressEvent(QKeyEvent * e)
70 {
71 if (e->key() == Qt::Key_Escape || e->key() == Qt::Key_Return)
72 hide();
73 }