Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
PreferencesDialog.cpp File Reference

implementation of PreferencesDialog Class More...

#include "hugin_config.h"
#include "panoinc_WX.h"
#include "wx/listbook.h"
#include <wx/stdpaths.h>
#include "panoinc.h"
#include "base_wx/wxPlatform.h"
#include "base_wx/LensTools.h"
#include "hugin/huginApp.h"
#include "hugin/config_defaults.h"
#include "hugin/PreferencesDialog.h"
#include "hugin/CPDetectorDialog.h"
#include "hugin/MainFrame.h"
#include "hugin/EditOutputIniDialog.h"
#include "base_wx/huginConfig.h"
Include dependency graph for PreferencesDialog.cpp:

Go to the source code of this file.

Macros

#define MY_STR_VAL(id, val)   { XRCCTRL(*this, id, wxTextCtrl)->SetValue(val); };
 
#define MY_SPIN_VAL(id, val)   { XRCCTRL(*this, id, wxSpinCtrl)->SetValue(val); };
 
#define MY_BOOL_VAL(id, val)   { XRCCTRL(*this, id, wxCheckBox)->SetValue(val); };
 
#define MY_CHOICE_VAL(id, val)   { XRCCTRL(*this, id, wxChoice)->SetSelection(val); };
 
#define MY_STATIC_VAL(id, val)   { XRCCTRL(*this, id, wxStaticText)->SetLabel(val); };
 
#define MY_G_STR_VAL(id)   XRCCTRL(*this, id, wxTextCtrl)->GetValue()
 
#define MY_G_SPIN_VAL(id)   XRCCTRL(*this, id, wxSpinCtrl)->GetValue()
 
#define MY_G_BOOL_VAL(id)   XRCCTRL(*this, id, wxCheckBox)->GetValue()
 
#define MY_G_CHOICE_VAL(id)   XRCCTRL(*this, id, wxChoice)->GetSelection()
 

Functions

void CreateNewArgFile (const wxString &newFilename, const wxString &sourceFile)
 

Detailed Description

implementation of PreferencesDialog Class

Author
Pablo d'Angelo pablo.nosp@m..dan.nosp@m.gelo@.nosp@m.web..nosp@m.de

$Id$

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this software. If not, see http://www.gnu.org/licenses/.

Definition in file PreferencesDialog.cpp.

Macro Definition Documentation

#define MY_BOOL_VAL (   id,
  val 
)    { XRCCTRL(*this, id, wxCheckBox)->SetValue(val); };
#define MY_CHOICE_VAL (   id,
  val 
)    { XRCCTRL(*this, id, wxChoice)->SetSelection(val); };

Definition at line 51 of file PreferencesDialog.cpp.

Referenced by PreferencesDialog::UpdateDisplayData().

#define MY_G_BOOL_VAL (   id)    XRCCTRL(*this, id, wxCheckBox)->GetValue()

Definition at line 56 of file PreferencesDialog.cpp.

Referenced by PreferencesDialog::UpdateConfigData().

#define MY_G_CHOICE_VAL (   id)    XRCCTRL(*this, id, wxChoice)->GetSelection()
#define MY_G_SPIN_VAL (   id)    XRCCTRL(*this, id, wxSpinCtrl)->GetValue()

Definition at line 55 of file PreferencesDialog.cpp.

Referenced by PreferencesDialog::UpdateConfigData().

#define MY_G_STR_VAL (   id)    XRCCTRL(*this, id, wxTextCtrl)->GetValue()

Definition at line 54 of file PreferencesDialog.cpp.

Referenced by PreferencesDialog::UpdateConfigData().

#define MY_SPIN_VAL (   id,
  val 
)    { XRCCTRL(*this, id, wxSpinCtrl)->SetValue(val); };

Definition at line 49 of file PreferencesDialog.cpp.

Referenced by PreferencesDialog::UpdateDisplayData().

#define MY_STATIC_VAL (   id,
  val 
)    { XRCCTRL(*this, id, wxStaticText)->SetLabel(val); };

Definition at line 52 of file PreferencesDialog.cpp.

#define MY_STR_VAL (   id,
  val 
)    { XRCCTRL(*this, id, wxTextCtrl)->SetValue(val); };

Definition at line 48 of file PreferencesDialog.cpp.

Referenced by PreferencesDialog::UpdateDisplayData().

Function Documentation

void CreateNewArgFile ( const wxString &  newFilename,
const wxString &  sourceFile 
)