Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ToolboxFrame.h
Go to the documentation of this file.
1 // -*- c-basic-offset: 4 -*-
10 /*
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public
13  * License as published by the Free Software Foundation; either
14  * version 2 of the License, or (at your option) any later version.
15  *
16  * This software is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19  * General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public
22  * License along with this software. If not, see
23  * <http://www.gnu.org/licenses/>.
24  *
25  */
26 
27 #ifndef TOOLBOXFRAME_H
28 #define TOOLBOXFRAME_H
29 
30 #include "panoinc_WX.h"
33 #include "base_wx/wxcms.h"
34 
35 // forward declaration
36 class EnfusePanel;
37 class PerspectivePanel;
38 
42 class ToolboxFrame:public wxFrame, public AppBase::ProgressDisplay
43 {
44 public:
45 
47  explicit ToolboxFrame(wxWindow* parent);
49  virtual ~ToolboxFrame();
50 
52  const wxString & GetXRCPath() const;
53  bool HasMonitorProfile() const;
54  cmsHPROFILE GetMonitorProfile() const;
55 protected:
57  void updateProgressDisplay();
58  // event handlers
59  void OnExit(wxCommandEvent& e);
60  void OnQueueProgress(wxCommandEvent& e);
61 
62 private:
63  wxNotebook* m_mainNotebook{ nullptr };
64  MyExecPanel* m_logPanel{ nullptr };
65  wxSplitterWindow* m_mainSplitter{ nullptr };
69  cmsHPROFILE m_monitorProfile{ nullptr };
71  bool m_hasMonitorProfile{ false };
72 };
73 
74 
75 #endif // TOOLBOXFRAME_H
cmsHPROFILE m_monitorProfile
monitor profile
Definition: ToolboxFrame.h:69
void updateProgressDisplay()
called when a progress message should be displayed
const wxString & GetXRCPath() const
get the path to the xrc directory
void OnExit(wxCommandEvent &e)
bool HasMonitorProfile() const
wxSplitterWindow * m_mainSplitter
Definition: ToolboxFrame.h:65
virtual ~ToolboxFrame()
destructor
wxNotebook * m_mainNotebook
Definition: ToolboxFrame.h:63
EnfusePanel * m_enfusePanel
Definition: ToolboxFrame.h:66
cmsHPROFILE GetMonitorProfile() const
PerspectivePanel * m_perspectivePanel
Definition: ToolboxFrame.h:67
ToolboxFrame(wxWindow *parent)
constructor
MyExecPanel * m_logPanel
Definition: ToolboxFrame.h:64
panel for enfuse GUI
Definition: EnfusePanel.h:37
include file for the hugin project
The main window frame.
Definition: ToolboxFrame.h:42
bool m_hasMonitorProfile
true, if we found a real monitor profile
Definition: ToolboxFrame.h:71
panel for enfuse GUI
void OnQueueProgress(wxCommandEvent &e)