| 1 |
< |
///////////////////////////////////////////////////////////////////////////// |
| 2 |
< |
// Name: about_window.cpp |
| 3 |
< |
// Purpose: |
| 4 |
< |
// Author: |
| 5 |
< |
// Modified by: |
| 6 |
< |
// Created: 08/05/2009 11:10:32 |
| 7 |
< |
// RCS-ID: |
| 8 |
< |
// Copyright: |
| 9 |
< |
// Licence: |
| 10 |
< |
///////////////////////////////////////////////////////////////////////////// |
| 11 |
< |
|
| 12 |
< |
// For compilers that support precompilation, includes "wx/wx.h". |
| 13 |
< |
#include "wx/wxprec.h" |
| 14 |
< |
|
| 15 |
< |
#ifdef __BORLANDC__ |
| 16 |
< |
#pragma hdrstop |
| 17 |
< |
#endif |
| 18 |
< |
|
| 19 |
< |
#ifndef WX_PRECOMP |
| 20 |
< |
#include "wx/wx.h" |
| 21 |
< |
#endif |
| 1 |
> |
/***************************************************************************\ |
| 2 |
> |
| Project: AE Installer | |
| 3 |
> |
| By: Gumby & Iritscen | |
| 4 |
> |
| File: About.cpp | |
| 5 |
> |
| Function: Handles the About window! | |
| 6 |
> |
| Created: 08/05/2009 11:10:32 | |
| 7 |
> |
\***************************************************************************/ |
| 8 |
|
|
| 9 |
|
////@begin includes |
| 10 |
|
////@end includes |
| 11 |
< |
|
| 11 |
> |
#include "globals.h" |
| 12 |
|
#include "about.h" |
| 13 |
|
|
| 14 |
|
////@begin XPM images |
| 15 |
|
////@end XPM images |
| 16 |
|
|
| 31 |
– |
|
| 17 |
|
/* |
| 18 |
|
* About type definition |
| 19 |
|
*/ |
| 104 |
|
wxBoxSizer* itemBoxSizer2 = new wxBoxSizer(wxVERTICAL); |
| 105 |
|
itemDialog1->SetSizer(itemBoxSizer2); |
| 106 |
|
|
| 107 |
< |
wxPanel* itemPanel3 = new wxPanel( itemDialog1, ID_PANEL2, wxDefaultPosition, wxDefaultSize, wxNO_BORDER|wxTAB_TRAVERSAL ); |
| 107 |
> |
wxPanel* itemPanel3 = new wxPanel( itemDialog1, ID_PANEL2, wxDefaultPosition, wxDefaultSize, wxNO_BORDER|wxTAB_TRAVERSAL ); |
| 108 |
|
itemBoxSizer2->Add(itemPanel3, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5); |
| 109 |
|
|
| 110 |
|
wxBoxSizer* itemBoxSizer4 = new wxBoxSizer(wxVERTICAL); |
| 111 |
|
itemPanel3->SetSizer(itemBoxSizer4); |
| 112 |
|
|
| 113 |
< |
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 ); |
| 113 |
> |
string aboutText = "AE Installer v"; |
| 114 |
> |
aboutText = aboutText + gInstallerVersion; |
| 115 |
> |
aboutText = aboutText + "\nby Gumby and Iritscen\n\n" + |
| 116 |
> |
"AE Credits:\n" + |
| 117 |
> |
"demos_kratos: OniSplit GUI (Windows)\n" + |
| 118 |
> |
"EdT: OniSplit GUI (Mac)\n" + |
| 119 |
> |
"geyser: Original creator of the Edition\n" + |
| 120 |
> |
"Gumby: Installer (Win), AE Framework\n" + |
| 121 |
> |
"Iritscen: Installer (Mac)\n" + |
| 122 |
> |
"Loser: Documenting Oni's game data\n" + |
| 123 |
> |
"Neo: OniSplit, documenting Oni, tech support\n" + |
| 124 |
> |
"Paradox: Documenting Oni's game data\n" + |
| 125 |
> |
"RossyMiles: Daodan DLL port to C\n" + |
| 126 |
> |
"SFeLi: Original Daodan DLL\n" + |
| 127 |
> |
"ssg: Documenting Oni's game data"; |
| 128 |
> |
wxStaticText* itemStaticText5 = new wxStaticText( itemPanel3, wxID_STATIC, _(aboutText.c_str()), wxDefaultPosition, wxDefaultSize, wxNO_BORDER ); |
| 129 |
> |
|
| 130 |
|
itemBoxSizer4->Add(itemStaticText5, 0, wxALIGN_LEFT|wxALL, 5); |
| 131 |
|
|
| 132 |
|
wxStaticLine* itemStaticLine6 = new wxStaticLine( itemPanel3, wxID_STATIC, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); |
| 133 |
|
itemBoxSizer4->Add(itemStaticLine6, 0, wxGROW|wxALL, 5); |
| 134 |
|
|
| 135 |
< |
wxTextCtrl* itemTextCtrl7 = new wxTextCtrl( itemPanel3, wxID_STATIC, _("oni.bungie.org"), wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY ); |
| 136 |
< |
itemBoxSizer4->Add(itemTextCtrl7, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5); |
| 135 |
> |
wxHyperlinkCtrl* oniUrl = new wxHyperlinkCtrl( itemPanel3, wxID_STATIC, "http://oni.bungie.org", "http://oni.bungie.org", |
| 136 |
> |
wxDefaultPosition, wxDefaultSize, wxHL_DEFAULT_STYLE); |
| 137 |
> |
itemBoxSizer4->Add(oniUrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5); |
| 138 |
|
|
| 139 |
|
wxStdDialogButtonSizer* itemStdDialogButtonSizer8 = new wxStdDialogButtonSizer; |
| 140 |
|
|