Changeset 327
- Timestamp:
- Jun 1, 2009, 3:51:40 AM (16 years ago)
- Location:
- AE/Installer/trunk/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/Installer/trunk/source/about_window.cpp
r325 r327 71 71 bool About::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style ) 72 72 { 73 ////@begin About creation73 ////@begin About creation 74 74 SetExtraStyle(wxWS_EX_BLOCK_EVENTS); 75 75 wxDialog::Create( parent, id, caption, pos, size, style ); 76 76 77 77 CreateControls(); 78 78 if (GetSizer()) … … 81 81 } 82 82 Centre(); 83 ////@end About creation83 ////@end About creation 84 84 return true; 85 85 } … … 92 92 About::~About() 93 93 { 94 ////@begin About destruction95 ////@end About destruction94 ////@begin About destruction 95 ////@end About destruction 96 96 } 97 97 … … 103 103 void About::Init() 104 104 { 105 ////@begin About member initialisation106 ////@end About member initialisation105 ////@begin About member initialisation 106 ////@end About member initialisation 107 107 } 108 108 … … 114 114 void About::CreateControls() 115 115 { 116 ////@begin About content construction116 ////@begin About content construction 117 117 About* itemDialog1 = this; 118 118 119 119 wxBoxSizer* itemBoxSizer2 = new wxBoxSizer(wxVERTICAL); 120 120 itemDialog1->SetSizer(itemBoxSizer2); 121 121 122 122 wxPanel* itemPanel3 = new wxPanel( itemDialog1, ID_PANEL2, wxDefaultPosition, wxDefaultSize, wxNO_BORDER|wxTAB_TRAVERSAL ); 123 123 itemBoxSizer2->Add(itemPanel3, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5); 124 124 125 125 wxBoxSizer* itemBoxSizer4 = new wxBoxSizer(wxVERTICAL); 126 126 itemPanel3->SetSizer(itemBoxSizer4); 127 128 wxStaticText* itemStaticText5 = new wxStaticText( itemPanel3, wxID_STATIC, _("Mod Installer v1.0\nby Gumby and Iritscen\n\n The AE was made possible by:\nNeo - Writing OniSplit, documenting Oni, and lots of technical support\nSsg - Documenting Oni\ngeyser - Guiding the AE work, creating original installer\nSFeLi - Writing the original Daodan DLL\nRossyMiles - Porting the Daodan DLL to C\nGumby - name any AE work you've done here or remove your name\nLoser - Fine-tuning tons of animations\nEdT - Making the BGI troops"), wxDefaultPosition, wxDefaultSize, wxNO_BORDER);127 128 wxStaticText* itemStaticText5 = new wxStaticText( itemPanel3, wxID_STATIC, _("Mod Installer v1.0\nby Gumby and Iritscen\n\nAE credited to:\nNeo - Making Onisplit, documenting Oni, and lots of technical support\ngeyser - Original creator\nIritscen - Installer and making things work on the Mac\nGumby - Not much :)\nLoser - All his Animation work\nEdT - BGI troops\nSFeLi - Original Daodan DLL\nRossyMiles - Daodan DLL port to C"), wxDefaultPosition, wxDefaultSize, wxNO_BORDER ); 129 129 itemBoxSizer4->Add(itemStaticText5, 0, wxALIGN_LEFT|wxALL, 5); 130 130 131 131 wxStaticLine* itemStaticLine6 = new wxStaticLine( itemPanel3, wxID_STATIC, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); 132 132 itemBoxSizer4->Add(itemStaticLine6, 0, wxGROW|wxALL, 5); 133 134 wx StaticText* itemStaticText7 = new wxStaticText( itemPanel3, wxID_STATIC, _("oni.bungie.org"), wxDefaultPosition, wxDefaultSize, 0);135 itemBoxSizer4->Add(item StaticText7, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);136 133 134 wxTextCtrl* itemTextCtrl7 = new wxTextCtrl( itemPanel3, wxID_STATIC, _("oni.bungie.org"), wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY ); 135 itemBoxSizer4->Add(itemTextCtrl7, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5); 136 137 137 wxStdDialogButtonSizer* itemStdDialogButtonSizer8 = new wxStdDialogButtonSizer; 138 138 139 139 itemBoxSizer4->Add(itemStdDialogButtonSizer8, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5); 140 140 wxButton* itemButton9 = new wxButton( itemPanel3, wxID_OK, _("&OK"), wxDefaultPosition, wxDefaultSize, 0 ); 141 141 itemStdDialogButtonSizer8->AddButton(itemButton9); 142 142 143 143 itemStdDialogButtonSizer8->Realize(); 144 145 ////@end About content construction144 145 ////@end About content construction 146 146 } 147 147 … … 163 163 { 164 164 // Bitmap retrieval 165 ////@begin About bitmap retrieval165 ////@begin About bitmap retrieval 166 166 wxUnusedVar(name); 167 167 return wxNullBitmap; 168 ////@end About bitmap retrieval168 ////@end About bitmap retrieval 169 169 } 170 170 … … 176 176 { 177 177 // Icon retrieval 178 ////@begin About icon retrieval178 ////@begin About icon retrieval 179 179 wxUnusedVar(name); 180 180 return wxNullIcon; 181 ////@end About icon retrieval181 ////@end About icon retrieval 182 182 } -
AE/Installer/trunk/source/main_window.cpp
r325 r327 1337 1337 { 1338 1338 //event.GetSelection 1339 titleText->Set Label(wxT(globalPackages[event.GetSelection()].name.c_str()));1340 creatorText->Set Label(globalPackages[event.GetSelection()].creator.c_str());1341 descriptionText->Set Label(globalPackages[event.GetSelection()].readme.c_str());1339 titleText->SetValue(globalPackages[event.GetSelection()].name.c_str()); 1340 creatorText->SetValue(globalPackages[event.GetSelection()].creator.c_str()); 1341 descriptionText->SetValue(globalPackages[event.GetSelection()].readme.c_str()); 1342 1342 1343 1343 creatorText->Refresh();
Note:
See TracChangeset
for help on using the changeset viewer.