#include <ncbi_pch.hpp>
#include <corelib/ncbistd.hpp>
#include <corelib/ncbireg.hpp>
#include "remove_header_conflicts.hpp"
#include "animation_controls.hpp"
#include <algo/structure/wx_tools/wx_tools.hpp>
#include "cn3d_tools.hpp"
#include <wx/image.h>
#include <wx/statline.h>
#include <wx/spinbutt.h>
#include <wx/spinctrl.h>
#include <wx/splitter.h>
#include <wx/listctrl.h>
#include <wx/treectrl.h>
#include <wx/notebook.h>
#include <wx/grid.h>
Include dependency graph for animation_controls.cpp:

Go to the source code of this file.
Defines | |
| #define | ID_TEXT 10000 |
| #define | ID_TEXTCTRL 10001 |
| #define | ID_SPINBUTTON 10002 |
| #define | ID_B_DONE 10003 |
| #define | DECLARE_AND_FIND_WINDOW_RETURN_ON_ERR(var, id, type) |
| #define | SET_ISPINCTRL_FROM_REGISTRY_VALUE(section, name, iSpinCtrl) |
| #define | SET_FSPINCTRL_FROM_REGISTRY_VALUE(section, name, fSpinCtrl) |
| #define | SET_INTEGER_REGISTRY_VALUE_IF_DIFFERENT(section, name, iSpinCtrl) |
| #define | SET_DOUBLE_REGISTRY_VALUE_IF_DIFFERENT(section, name, fSpinCtrl) |
Functions | |
| wxSizer * | SetupAnimationDialog (wxWindow *parent, bool call_fit=TRUE, bool set_sizer=TRUE) |
| USING_SCOPE (Cn3D) | |
Variables | |
| USING_NCBI_SCOPE | |
| static IntegerSpinCtrl * | giSpinDelay |
| static IntegerSpinCtrl * | giFrameDelay |
| static FloatingPointSpinCtrl * | gfSpinIncrement |
|
|
|
Definition at line 64 of file animation_controls.cpp. Referenced by PreferencesDialog::OnButton(), AnimationControls::OnButton(), CDDBookRefDialog::OnClick(), SetupAnimationDialog(), SetupAnnotationControlDialog(), SetupBookRefDialog(), SetupCDDSplashDialog(), SetupPreferencesNotebook(), and SetupReferencesDialog(). |
|
|
Definition at line 63 of file animation_controls.cpp. |
|
|
|
Definition at line 62 of file animation_controls.cpp. Referenced by CwxTrackSettingsDlg::CreateControls(), and CwxTrackNameDlg::CreateControls(). |
|
|
Value: do { \ double oldValue, newValue; \ if (!RegistryGetDouble((section), (name), &oldValue)) throw "RegistryGetInteger() failed"; \ if (!((fSpinCtrl)->GetDouble(&newValue))) throw "GetInteger() failed"; \ if (newValue != oldValue && !RegistrySetDouble((section), (name), newValue)) \ throw "RegistrySetInteger() failed"; \ } while (0) Definition at line 141 of file animation_controls.cpp. Referenced by PreferencesDialog::OnCloseWindow(), and AnimationControls::OnCloseWindow(). |
|
|
Value: do { \ double value; \ if (!RegistryGetDouble((section), (name), &value) || !((fSpinCtrl)->SetDouble(value))) \ WARNINGMSG("PreferencesDialog::PreferencesDialog() - error with " << (name)); \ } while (0) Definition at line 92 of file animation_controls.cpp. Referenced by AnimationControls::AnimationControls(), and PreferencesDialog::PreferencesDialog(). |
|
|
Value: do { \ int oldValue, newValue; \ if (!RegistryGetInteger((section), (name), &oldValue)) throw "RegistryGetInteger() failed"; \ if (!((iSpinCtrl)->GetInteger(&newValue))) throw "GetInteger() failed"; \ if (newValue != oldValue && !RegistrySetInteger((section), (name), newValue)) \ throw "RegistrySetInteger() failed"; \ } while (0) Definition at line 132 of file animation_controls.cpp. Referenced by PreferencesDialog::OnCloseWindow(), and AnimationControls::OnCloseWindow(). |
|
|
Value: do { \ int value; \ if (!RegistryGetInteger((section), (name), &value) || !((iSpinCtrl)->SetInteger(value))) \ WARNINGMSG("PreferencesDialog::PreferencesDialog() - error with " << (name)); \ } while (0) Definition at line 85 of file animation_controls.cpp. Referenced by AnimationControls::AnimationControls(), and PreferencesDialog::PreferencesDialog(). |
|
||||||||||||||||
|
Definition at line 198 of file animation_controls.cpp. References IntegerSpinCtrl::GetSpinButton(), FloatingPointSpinCtrl::GetSpinButton(), IntegerSpinCtrl::GetTextCtrl(), FloatingPointSpinCtrl::GetTextCtrl(), gfSpinIncrement, giFrameDelay, giSpinDelay, ID_B_DONE, ID_TEXT, and TRUE. Referenced by AnimationControls::AnimationControls(). |
|
|
|
|
|
Definition at line 75 of file animation_controls.cpp. Referenced by SetupAnimationDialog(). |
|
|
Definition at line 74 of file animation_controls.cpp. Referenced by SetupAnimationDialog(). |
|
|
Definition at line 74 of file animation_controls.cpp. Referenced by SetupAnimationDialog(). |
|
|
Definition at line 69 of file animation_controls.cpp. |
1.4.6
Modified on Mon Dec 07 16:21:41 2009 by modify_doxy.py rev. 173732