29#include <wx/stdpaths.h>
48#if wxUSE_ON_FATAL_EXCEPTION
52#if defined __WXMSW__ && wxCHECK_VERSION(3,3,0)
68#elif defined __WXMAC__ && defined MAC_SELF_CONTAINED_BUNDLE
77#elif defined UNIX_SELF_CONTAINED_BUNDLE
84 m_xrcPrefix =
huginRoot +
"share/hugin/xrc/";
85 locale.AddCatalogLookupPathPrefix(
huginRoot +
"share/locale");
93 if ( ! wxFile::Exists(m_xrcPrefix +
"/toolbox_panel.xrc") )
102 config->SetRecordDefaults(
false);
125 locale.AddCatalog(
"hugin");
131 wxXmlResource::Get()->InitAllHandlers();
133 wxXmlResource::Get()->Load(m_xrcPrefix +
"toolbox_panel.xrc");
147#if wxUSE_ON_FATAL_EXCEPTION
148void ToolboxApp::OnFatalException()
void registerPTWXDlgFcn()
functions for interaction with the hugin configuration file
int HuginMessageBox(const wxString &message, const wxString &caption, int style, wxWindow *parent)
include file for the hugin project
include file for the hugin project
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.