Skip to content

Commit

Permalink
pcsx2-gui: Update About window.
Browse files Browse the repository at this point in the history
Add forum and license links.
Remove Developers and Contributors names, replaced with:
"Big thanks to everyone who contributed to the project throughout the years."
  • Loading branch information
lightningterror committed Dec 19, 2019
1 parent bbc3e36 commit 18fe943
Showing 1 changed file with 22 additions and 59 deletions.
81 changes: 22 additions & 59 deletions pcsx2/gui/Dialogs/AboutBoxDialog.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -37,69 +37,32 @@ Dialogs::AboutBoxDialog::AboutBoxDialog(wxWindow* parent)
wxDefaultPosition, wxDefaultSize wxDefaultPosition, wxDefaultSize
) )
{ {
// [TODO] : About box should be upgraded to use scrollable read-only text boxes.

wxString developsString = wxsFormat(
L"avih, Refraction, rama, pseudonym, gregory.hainaut, turtleli"
L"\n\n"
L"%s: \n"
L"Arcum42, Aumatt, drk||raziel, "
L"cottonvibes, gigaherz, saqib, "
L"\n"
L"Alexey Silinov, Florin, "
L"goldfinger, Linuzappz, loser, "
L"Nachbrenner, shadow, Zerofrog, tmkk, Jake.Stine"
L"\n\n"
L"%s:\n"
L"Falcon4ever, Bositman, Akasha",
_("Previous versions"), _("Webmasters"));

wxString contribsString = wxsFormat(
L"ssakash, FlatOut, CK1, lightningterror, atomic83github, Pandubz, Prafull, Blyss Sarania, Nobbs66, Alessandro Vetere"
L"\n\n"
L"%s: \n"
L"ChickenLiver (Lilypad), Gabest (GSdx, Cdvdolio, Xpad), Ckemu, "
L"General Plot, KrossX, Devina, micove, black_wd, Belmont, "
L"\n"
L"BGome, _Demo_, Dreamtime, Hiryu and Sjeep, nneeve, F|RES, "
L"Shadow Lady, MrBrown, razorblade, Seta-san, Skarmeth, feal87, Athos"
L"\n",
_("Previous versions"));

wxFlexGridSizer& boxesContainer = *new wxFlexGridSizer(2, 0, StdPadding);
boxesContainer.AddGrowableCol(0, 1);
boxesContainer.AddGrowableCol(1, 1);

wxStaticBoxSizer& developsBox = *new wxStaticBoxSizer(wxVERTICAL, this);
wxStaticBoxSizer& contribsBox = *new wxStaticBoxSizer(wxVERTICAL, this);

pxStaticText& developsText = Text(developsString).SetMinWidth(350);
pxStaticText& contribsText = Text(contribsString).SetMinWidth(350);

developsBox += Heading(_("Developers")).Bold() | StdExpand();
developsBox += developsText | StdExpand();
contribsBox += Heading(_("Contributors")).Bold() | StdExpand();
contribsBox += contribsText | StdExpand();

boxesContainer += developsBox | StdExpand();
boxesContainer += contribsBox | StdExpand();

// Main layout // Main layout
*this += m_bitmap_logo | StdCenter();


*this += Text(_("PlayStation 2 Emulator")); SetMinWidth(460);


*this += new wxHyperlinkCtrl(this, wxID_ANY, *this += m_bitmap_logo | StdCenter();
_("PCSX2 Official Website and Forums"), L"https://pcsx2.net"
) | pxProportion(1).Center().Border(wxALL, 3);

*this += new wxHyperlinkCtrl(this, wxID_ANY,
_("PCSX2 Official Git Repository at GitHub"), L"https://github.com/PCSX2/pcsx2"
) | pxProportion(1).Center().Border(wxALL, 3);

*this += boxesContainer | StdCenter();


wxButton& closeButton = *new wxButton(this, wxID_OK, _("I've seen enough")); #ifdef _WIN32
const int padding = 15;
#else
const int padding = 8;
#endif

wxBoxSizer& general(*new wxBoxSizer(wxHORIZONTAL));
general += new wxHyperlinkCtrl(this, wxID_ANY, _("Website"), L"https://pcsx2.net");
general += padding;
general += new wxHyperlinkCtrl(this, wxID_ANY, _("Support Forums"), L"https://forums.pcsx2.net");
general += padding;
general += new wxHyperlinkCtrl(this, wxID_ANY, _("GitHub Repository"), L"https://github.com/PCSX2/pcsx2");
general += padding;
general += new wxHyperlinkCtrl(this, wxID_ANY, _("License"), L"https://github.com/PCSX2/pcsx2/blob/master/pcsx2/Docs/License.txt");

*this += Text(_("PlayStation 2 Emulator:"));
*this += general | StdCenter();
*this += Text(_("Big thanks to everyone who contributed to the project throughout the years."));

wxButton& closeButton = *new wxButton(this, wxID_OK, _("Close"));
closeButton.SetFocus(); closeButton.SetFocus();
*this += closeButton | StdCenter(); *this += closeButton | StdCenter();


Expand Down

0 comments on commit 18fe943

Please sign in to comment.