Changeset 182 for trunk/src/about.cpp
- Timestamp:
- 10/23/2008 07:58:28 AM (4 years ago)
- File:
-
- 1 moved
-
trunk/src/about.cpp (moved) (moved from trunk/src/About.cpp) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/about.cpp
r175 r182 1 1 // $Header: $ 2 2 /*************************************************************************** 3 * Copyright (C) 2006-200 7by Guy Rutenberg *3 * Copyright (C) 2006-2008 by Guy Rutenberg * 4 4 * guyrutenberg@gmail.com * 5 5 * * … … 19 19 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 20 20 ***************************************************************************/ 21 // -*- C++ -*- generated by wxGlade 0.4.1cvs on Tue Feb 27 17:58:29 2007 from /home/guy/about.wgt22 21 23 #include "About.h" 22 #include "about.h" 23 #include <wx/hyperlink.h> 24 24 #include "icon64.xpm" 25 #include "../config.h" 25 26 26 27 AboutDialog::AboutDialog(wxWindow* parent , int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style):28 wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxMINIMIZE_BOX)27 using namespace about; 28 AboutDialog::AboutDialog(wxWindow* parent): 29 wxDialog(parent, wxID_ANY, wxT("About " PACKAGE_NAME), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE) 29 30 { 30 //wxString temp= wxT(DATA_DIR);31 //temp += wxT("/OpenYahtzee/icon.gif");32 33 //wxBitmap *logo = new wxBitmap(temp, wxBITMAP_TYPE_GIF);34 35 //scale logo36 //wxImage tempimage = logo->ConvertToImage();37 31 wxBitmap *logo = new wxBitmap; 38 32 *logo = wxBitmap(icon64_xpm); … … 50 44 bitmap_1 = new wxDynamicBitmap((wxWindow*)this, (wxWindowID)wxID_ANY,logo); 51 45 #ifdef PORTABLE 52 app_label = new wxStaticText(this, -1, wxT("Open Yahtzee Portable Edition 1.8.0"));46 app_label = new wxStaticText(this, -1, wxT("Open Yahtzee Portable Edition " VERSION)); 53 47 #else 54 app_label = new wxStaticText(this, -1, wxT("Open Yahtzee 1.8.0"));48 app_label = new wxStaticText(this, -1, wxT("Open Yahtzee " VERSION)); 55 49 #endif 56 50 label_desc = new wxStaticText(notebook_main_pane_about, -1, wxT("A full-featured wxWidgets version of\nthe classic dice game Yahtzee.")); 57 label_copyright = new wxStaticText(notebook_main_pane_about, -1, wxT("( c) 2006-2007Guy Rutenberg"));58 label_1 = new wxStaticText(notebook_main_pane_about, -1, wxT("http://openyahtzee.sourceforge.net/"));51 label_copyright = new wxStaticText(notebook_main_pane_about, -1, wxT("(C) 2006-2008 Guy Rutenberg")); 52 //label_1 = new wxStaticText(notebook_main_pane_about, -1, wxT("http://openyahtzee.sourceforge.net/")); 59 53 label_7 = new wxStaticText(notebook_main_pane_authors, -1, wxT("Please report bugs to openyahtzee-users@lists.sourceforge.net.\n\nGuy Rutenberg\n\tguyrutenberg@gmail.com\n\tAuthor, maintainer")); 60 54 label_6 = new wxStaticText(notebook_main_pane_thanks, -1, wxT("Seamous McGill\n\tjohndoe@gmail.com\n\tLogo and dice design\n\nNeil Gierman\n\tngierman@roadrunn.com\n\tRPM packages")); … … 91 85 sizer_3->Add(label_desc, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 10); 92 86 sizer_3->Add(label_copyright, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 10); 93 sizer_3->Add(label_1, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 10); 87 //sizer_3->Add(label_1, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 10); 88 sizer_3->Add(new wxHyperlinkCtrl(notebook_main_pane_about,wxID_ANY,OY_URL,OY_URL),0,wxALL|wxALIGN_CENTER_HORIZONTAL,10); 94 89 notebook_main_pane_about->SetSizer(sizer_3); 95 90 sizer_4->Add(label_7, 0, wxALL, 10);
Note: See TracChangeset
for help on using the changeset viewer.
