source: trunk/src/about.h @ 183

Revision 183, 1.9 KB checked in by guyru, 3 years ago (diff)

about dialog rewrite - part 2

Line 
1/***************************************************************************
2 *   Copyright (C) 2006-2008 by Guy Rutenberg   *
3 *   guyrutenberg@gmail.com   *
4 *                                                                         *
5 *   This program is free software; you can redistribute it and/or modify  *
6 *   it under the terms of the GNU General Public License as published by  *
7 *   the Free Software Foundation; either version 2 of the License, or     *
8 *   (at your option) any later version.                                   *
9 *                                                                         *
10 *   This program is distributed in the hope that it will be useful,       *
11 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
12 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
13 *   GNU General Public License for more details.                          *
14 *                                                                         *
15 *   You should have received a copy of the GNU General Public License     *
16 *   along with this program; if not, write to the                         *
17 *   Free Software Foundation, Inc.,                                       *
18 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
19 ***************************************************************************/
20
21#ifndef OPENYAHTZEE_ABOUT_INC
22#define OPENYAHTZEE_ABOUT_INC
23
24#include <wx/wx.h>
25#include <wx/image.h>
26
27#include <wx/notebook.h>
28
29namespace about {
30
31class AboutDialog: public wxDialog {
32public:
33        AboutDialog(wxWindow* parent);
34
35private:
36        void addControlsAndLayout();
37        void notebookAboutTab(wxNotebook *notebook);
38        void notebookAuthorTab(wxNotebook *notebook);
39        void notebookThanksTab(wxNotebook *notebook);
40        void notebookLicenseTab(wxNotebook *notebook);
41};
42
43static const wxString OY_URL = wxT("http://www.openyahtzee.org/");
44
45}
46
47
48
49#endif // ABOUT_H
Note: See TracBrowser for help on using the repository browser.