--- AE/Installer/trunk/source/about.cpp 2009/07/06 13:20:11 389 +++ AE/Installer/trunk/source/about.cpp 2009/07/08 17:32:46 412 @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: about.cpp +// Name: about_window.cpp // Purpose: // Author: // Modified by: @@ -70,17 +70,17 @@ About::About( wxWindow* parent, wxWindow bool About::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style ) { -////@begin About creation + ////@begin About creation SetExtraStyle(wxWS_EX_BLOCK_EVENTS); wxDialog::Create( parent, id, caption, pos, size, style ); - + CreateControls(); if (GetSizer()) { GetSizer()->SetSizeHints(this); } Centre(); -////@end About creation + ////@end About creation return true; } @@ -91,8 +91,8 @@ bool About::Create( wxWindow* parent, wx About::~About() { -////@begin About destruction -////@end About destruction + ////@begin About destruction + ////@end About destruction } @@ -102,8 +102,8 @@ About::~About() void About::Init() { -////@begin About member initialisation -////@end About member initialisation + ////@begin About member initialisation + ////@end About member initialisation } @@ -113,36 +113,36 @@ void About::Init() void About::CreateControls() { -////@begin About content construction + ////@begin About content construction About* itemDialog1 = this; - + wxBoxSizer* itemBoxSizer2 = new wxBoxSizer(wxVERTICAL); itemDialog1->SetSizer(itemBoxSizer2); - + 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: Not much :)\nLoser: All his animation work\nNeo: Making OniSplit, documenting Oni, and lots of technical support\nONIrules: Additional weapons\nParadox: More documenting of Oni\nRossyMiles: Daodan DLL port to C\nSeventeen Seconds: Additional weapons\nSFeLi: Original Daodan DLL\nssg: Documenting Oni"), wxDefaultPosition, wxDefaultSize, wxNO_BORDER ); + + 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 ); 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); - - wxStaticText* itemStaticText7 = new wxStaticText( itemPanel3, wxID_STATIC, _("oni.bungie.org"), wxDefaultPosition, wxDefaultSize, 0 ); - itemBoxSizer4->Add(itemStaticText7, 0, wxALIGN_CENTER_HORIZONTAL|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); + wxStdDialogButtonSizer* itemStdDialogButtonSizer8 = new wxStdDialogButtonSizer; - + itemBoxSizer4->Add(itemStdDialogButtonSizer8, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5); wxButton* itemButton9 = new wxButton( itemPanel3, wxID_OK, _("&OK"), wxDefaultPosition, wxDefaultSize, 0 ); itemStdDialogButtonSizer8->AddButton(itemButton9); - + itemStdDialogButtonSizer8->Realize(); - -////@end About content construction + + ////@end About content construction } @@ -162,10 +162,10 @@ bool About::ShowToolTips() wxBitmap About::GetBitmapResource( const wxString& name ) { // Bitmap retrieval -////@begin About bitmap retrieval + ////@begin About bitmap retrieval wxUnusedVar(name); return wxNullBitmap; -////@end About bitmap retrieval + ////@end About bitmap retrieval } /* @@ -175,8 +175,8 @@ wxBitmap About::GetBitmapResource( const wxIcon About::GetIconResource( const wxString& name ) { // Icon retrieval -////@begin About icon retrieval + ////@begin About icon retrieval wxUnusedVar(name); return wxNullIcon; -////@end About icon retrieval + ////@end About icon retrieval }