FOX/ObjCryst++  1.10.X (development)
wxScatteringPower.h
1 /* ObjCryst++ Object-Oriented Crystallographic Library
2  (c) 2000-2002 Vincent Favre-Nicolin vincefn@users.sourceforge.net
3  2000-2001 University of Geneva (Switzerland)
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program; if not, write to the Free Software
17  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19 
20 #ifndef _VFN_WX_SCATTERINGPOWER_OBJ_H_
21 #define _VFN_WX_SCATTERINGPOWER_OBJ_H_
22 
23 #include "ObjCryst/wxCryst/wxRefinableObj.h"
24 #include "ObjCryst/ObjCryst/ScatteringPower.h"
25 
26 namespace ObjCryst
27 {
30 {
31  public:
32  WXScatteringPowerAtom(wxWindow *parent, ScatteringPowerAtom*);
33  virtual bool OnChangeName(const int id);
34  void OnChangeColour(wxCommandEvent & event);
35  virtual void UpdateUI(const bool mutexlock=false);
36  protected:
37  ScatteringPowerAtom* mpScatteringPowerAtom;
38  WXFieldName *mpFieldSymbol;
39  DECLARE_EVENT_TABLE()
40 };
41 
42 } //namespace
43 
44 #endif //_VFN_WX_SCATTERINGPOWER_OBJ_H_
virtual void UpdateUI(const bool mutexlock=false)
Update the User Interface, if necessary.
A field with the name of a WXCrystObj.
Definition: wxCryst.h:371
virtual bool OnChangeName(const int id)
When a WXFieldName has been changed by the user, it is handled here.
The base wxCryst class for all RefinableObj objects.
wxCryst class for ScatteringPowerAtom
The namespace which includes all objects (crystallographic and algorithmic) in ObjCryst++.
Definition: Atom.cpp:47
The Scattering Power for an Atom.