--- AE/Installer/trunk/source/about.cpp 2009/07/08 17:32:46 412 +++ AE/Installer/trunk/source/about.cpp 2010/04/25 03:44:19 512 @@ -1,34 +1,19 @@ -///////////////////////////////////////////////////////////////////////////// -// Name: about_window.cpp -// Purpose: -// Author: -// Modified by: -// Created: 08/05/2009 11:10:32 -// RCS-ID: -// Copyright: -// Licence: -///////////////////////////////////////////////////////////////////////////// - -// For compilers that support precompilation, includes "wx/wx.h". -#include "wx/wxprec.h" - -#ifdef __BORLANDC__ -#pragma hdrstop -#endif - -#ifndef WX_PRECOMP -#include "wx/wx.h" -#endif +/***************************************************************************\ +| Project: AE Installer | +| By: Gumby & Iritscen | +| File: About.cpp | +| Function: Handles the About window! | +| Created: 08/05/2009 11:10:32 | +\***************************************************************************/ ////@begin includes ////@end includes - +#include "globals.h" #include "about.h" ////@begin XPM images ////@end XPM images - /* * About type definition */ @@ -119,20 +104,36 @@ void About::CreateControls() wxBoxSizer* itemBoxSizer2 = new wxBoxSizer(wxVERTICAL); itemDialog1->SetSizer(itemBoxSizer2); - wxPanel* itemPanel3 = new wxPanel( itemDialog1, ID_PANEL2, wxDefaultPosition, wxDefaultSize, wxNO_BORDER|wxTAB_TRAVERSAL ); + wxPanel* itemPanel3 = new wxPanel( itemDialog1, ID_PANEL2, wxDefaultPosition, wxDefaultSize, wxNO_BORDER|wxTAB_TRAVERSAL ); itemBoxSizer2->Add(itemPanel3, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5); wxBoxSizer* itemBoxSizer4 = new wxBoxSizer(wxVERTICAL); itemPanel3->SetSizer(itemBoxSizer4); - wxStaticText* itemStaticText5 = new wxStaticText( itemPanel3, wxID_STATIC, _("Mod Installer v1.0\nby Gumby and Iritscen\n\nAE credited to:\nEdT: BGI troops, additional weapons\ngeyser: Original creator\nGumby: Installer and Framework\nIritscen: Installer (Mac)\nLoser: Improved animation and AI\nNeo: OniSplit, documenting Oni, tech support\nONIrules: Additional weapons\nParadox: Documenting of Oni\nRossyMiles: Daodan DLL port to C\nSFeLi: Original Daodan DLL\nssg: Documenting Oni"), wxDefaultPosition, wxDefaultSize, wxNO_BORDER ); + string aboutText = "AE/Mod Installer v"; + aboutText = aboutText + INSTALLER_VERSION; + aboutText = aboutText + "\nby Gumby and Iritscen\n\n" + + "AE credited to:\n" + + "EdT: BGI troops, additional weapons\n" + + "geyser: Original AE framework\n" + + "Gumby: General AE framework, Windows Installer, add'l Daodan DLL coding\n" + + "Iritscen: Mac port of Installer & add'l Installer coding\n" + + "Loser: Improved combat animation and AI\n" + + "Neo: OniSplit, documenting Oni, tech support\n" + + "ONIrules: Additional weapons\n" + + "Paradox: Documenting of Oni\n" + + "RossyMiles: Daodan DLL port to C\n" + + "SFeLi: Original asm Daodan DLL\n" + + "ssg: Documenting Oni's game data"; + wxStaticText* itemStaticText5 = new wxStaticText( itemPanel3, wxID_STATIC, _(aboutText.c_str()), wxDefaultPosition, wxDefaultSize, wxNO_BORDER ); itemBoxSizer4->Add(itemStaticText5, 0, wxALIGN_LEFT|wxALL, 5); wxStaticLine* itemStaticLine6 = new wxStaticLine( itemPanel3, wxID_STATIC, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); itemBoxSizer4->Add(itemStaticLine6, 0, wxGROW|wxALL, 5); - wxTextCtrl* itemTextCtrl7 = new wxTextCtrl( itemPanel3, wxID_STATIC, _("oni.bungie.org"), wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY ); - itemBoxSizer4->Add(itemTextCtrl7, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5); + wxHyperlinkCtrl* oniUrl = new wxHyperlinkCtrl( itemPanel3, wxID_STATIC, "http://oni.bungie.org", "http://oni.bungie.org", + wxDefaultPosition, wxDefaultSize, wxHL_DEFAULT_STYLE); + itemBoxSizer4->Add(oniUrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5); wxStdDialogButtonSizer* itemStdDialogButtonSizer8 = new wxStdDialogButtonSizer;