Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AboutDialog.h
Go to the documentation of this file.
1 // -*- c-basic-offset: 4 -*-
12 /* This is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU General Public
14  * License as published by the Free Software Foundation; either
15  * version 2 of the License, or (at your option) any later version.
16  *
17  * This software is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20  * Lesser General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public
23  * License along with this software. If not, see
24  * <http://www.gnu.org/licenses/>.
25  *
26  */
27 
28 #ifndef _ABOUTDIALOG_H
29 #define _ABOUTDIALOG_H
30 
31 #include "panoinc_WX.h"
32 #include "panoinc.h"
33 #include "hugin/MainFrame.h"
34 
35 
40 class AboutDialog: public wxDialog
41 {
42 public:
44  explicit AboutDialog(wxWindow *parent);
45 
46 private:
47 
48  int m_mode;
49  wxString m_logo_file;
50  wxNotebook* m_about_notebook;
51  wxStaticBitmap * m_logoImgCtrl;
52  wxBitmap m_logo;
53 
54  DECLARE_EVENT_TABLE()
55 
56 
57  void GetSystemInformation(wxFont *font);
59  void OnChangedTab(wxNotebookEvent &e);
61  void SetMode(int newMode);
63  void SetLogo(wxString newLogoFile);
64 };
65 
66 #endif // _ABOUTDIALOG_H
void SetMode(int newMode)
function to switch the logo image based on selected tab
include file for the hugin project
void OnChangedTab(wxNotebookEvent &e)
event handler for changing tab
wxNotebook * m_about_notebook
Definition: AboutDialog.h:50
wxString m_logo_file
Definition: AboutDialog.h:49
Dialog for about window.
Definition: AboutDialog.h:40
AboutDialog(wxWindow *parent)
Constructor, read from xrc ressource.
Definition: AboutDialog.cpp:57
wxBitmap m_logo
Definition: AboutDialog.h:52
include file for the hugin project
void SetLogo(wxString newLogoFile)
function to set the log image
void GetSystemInformation(wxFont *font)
retrieves the system information
wxStaticBitmap * m_logoImgCtrl
Definition: AboutDialog.h:51