Hugin trunk
0.1
Loading...
Searching...
No Matches
hugin1
toolbox
ToolboxApp.h
Go to the documentation of this file.
1
// -*- c-basic-offset: 4 -*-
10
/*
11
* This 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
* Lesser 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 TOOLBOXAPP_H
28
#define TOOLBOXAPP_H
29
30
#include "
ToolboxFrame.h
"
31
#include "
base_wx/wxImageCache.h
"
32
35
class
ToolboxApp
:
public
ImageCacheApp
36
{
37
public
:
38
bool
OnInit
()
override
;
39
#if wxUSE_ON_FATAL_EXCEPTION
40
void
OnFatalException
()
override
;
41
#endif
42
44
wxLocale
&
GetLocale
()
45
{
46
return
locale
;
47
}
49
const
wxString
&
GetXRCPath
()
50
{
51
return
m_xrcPrefix
;
52
}
54
ToolboxFrame
*
GetToolboxFrame
()
55
{
56
return
m_frame
;
57
}
58
59
private
:
61
wxLocale
locale
;
62
wxString
m_xrcPrefix
;
63
ToolboxFrame
*
m_frame
;
64
};
65
66
DECLARE_APP
(
ToolboxApp
)
67
68
#endif
// TOOLBOXAPP_H
ToolboxFrame.h
declaration of main frame class for toolbox GUI
ImageCacheApp
Definition
wxImageCache.h:65
ToolboxApp
The application class for toolbox app.
Definition
ToolboxApp.h:36
ToolboxApp::m_xrcPrefix
wxString m_xrcPrefix
Definition
ToolboxApp.h:62
ToolboxApp::OnInit
bool OnInit() override
Definition
ToolboxApp.cpp:46
ToolboxApp::GetLocale
wxLocale & GetLocale()
return currently active locale
Definition
ToolboxApp.h:44
ToolboxApp::GetToolboxFrame
ToolboxFrame * GetToolboxFrame()
returns pointer to main frame
Definition
ToolboxApp.h:54
ToolboxApp::locale
wxLocale locale
locale for internationalisation
Definition
ToolboxApp.h:61
ToolboxApp::m_frame
ToolboxFrame * m_frame
Definition
ToolboxApp.h:63
ToolboxApp::GetXRCPath
const wxString & GetXRCPath()
return the current xrc path
Definition
ToolboxApp.h:49
ToolboxFrame
The main window frame.
Definition
ToolboxFrame.h:44
threshold
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.
Definition
threshold.h:41
wxImageCache.h
Generated on Sun Oct 4 2026 02:50:04 for Hugin trunk by
1.9.8