4
* GChemPaint bonds plugin
7
* Copyright (C) 2012 Jean Bréfort <jean.brefort@normalesup.org>
9
* This program is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU General Public License as
11
* published by the Free Software Foundation; either version 3 of the
12
* License, or (at your option) any later version.
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
19
* You should have received a copy of the GNU General Public License
20
* along with this program; if not, write to the Free Software
21
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
25
#ifndef GCHEMPAINT_NEWMAN_TOOL_H
26
#define GCHEMPAINT_NEWMAN_TOOL_H
30
class gcpNewmanTool: public gcp::Tool
32
friend class gcpNewmanToolPrivate;
34
gcpNewmanTool (gcp::Application *App);
35
virtual ~gcpNewmanTool ();
40
GtkWidget *GetPropertyPage ();
42
char const *GetHelpTag () {return "newman";}
45
GtkSpinButton *m_LengthBtn, *m_OrderBtn, *m_ForeBondsBtn, *m_RearBondsBtn,
46
*m_ForeFirstAngleBtn, *m_RearFirstAngleBtn,
47
*m_ForeBondAngleBtn, *m_RearBondAngleBtn;
48
double m_ForeFirstAngle, m_RearFirstAngle, m_ForeBondAngle, m_RearBondAngle;
49
int m_ForeBonds, m_RearBonds, m_Order;
52
#endif // GCHEMPAINT_NEWMAN_TOOL_H