source: trunk/src/about.h @ 182

Last change on this file since 182 was 182, checked in by guyru, 5 years ago

about dialog rewrite - part 1

File size: 2.2 KB
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#include "wxDynamicBitmap.h"
27
28#include <wx/notebook.h>
29
30namespace about {
31
32class AboutDialog: public wxDialog {
33public:
34    AboutDialog(wxWindow* parent);
35
36private:
37    void set_properties();
38    void do_layout();
39
40protected:
41    wxDynamicBitmap* bitmap_1;
42    wxStaticText* app_label;
43    wxStaticText* label_desc;
44    wxStaticText* label_copyright;
45    wxStaticText* label_1;
46    wxPanel* notebook_main_pane_about;
47    wxStaticText* label_7;
48    wxScrolledWindow* notebook_main_pane_authors;
49    wxStaticText* label_6;
50    wxScrolledWindow* notebook_main_pane_thanks;
51    wxStaticText* label_15;
52    wxScrolledWindow* notebook_main_pane_license;
53    wxNotebook* notebook_main;
54    wxButton* close_button;
55};
56
57static const wxString OY_URL = wxT("http://www.openyahtzee.org/");
58
59}
60
61
62
63#endif // ABOUT_H
Note: See TracBrowser for help on using the repository browser.