[7df43b] | 1 | /** \file menu.hpp
|
---|
| 2 | * The class in this file is responsible for displaying the menu and enabling choices.
|
---|
| 3 | *
|
---|
| 4 | * This class is currently being refactored. Functions were copied from builder.cpp and are
|
---|
| 5 | * to be imported into the menu class.
|
---|
| 6 | *
|
---|
| 7 | */
|
---|
| 8 |
|
---|
| 9 | #ifndef MENU_H_
|
---|
| 10 | #define MENU_H_
|
---|
| 11 |
|
---|
| 12 |
|
---|
| 13 | class MoleculeListClass;
|
---|
| 14 | class periodentafel;
|
---|
| 15 | class config;
|
---|
| 16 | class molecule;
|
---|
| 17 |
|
---|
[d20ed5] | 18 | class oldmenu
|
---|
[7df43b] | 19 | {
|
---|
| 20 | public:
|
---|
[d20ed5] | 21 | oldmenu();
|
---|
| 22 | virtual ~oldmenu();
|
---|
[7df43b] | 23 |
|
---|
[381df6] | 24 | void notImplementedYet();
|
---|
[7df43b] | 25 | void perform(MoleculeListClass *, config *, periodentafel *, char *);
|
---|
| 26 |
|
---|
[70c4aa6] | 27 | // methods taken from ManipulateMoleculse submenu
|
---|
| 28 | void duplicateCell(MoleculeListClass *molecules, config *configuration);
|
---|
| 29 |
|
---|
| 30 | // methods taken from MergeMolecules submenu
|
---|
| 31 | void SimpleAddMolecules(MoleculeListClass *molecules);
|
---|
| 32 | void embeddMolecules(MoleculeListClass *molecules);
|
---|
| 33 | void multiMergeMolecules(MoleculeListClass *molecules);
|
---|
| 34 | void simpleMergeMolecules(MoleculeListClass *molecules);
|
---|
| 35 |
|
---|
[7df43b] | 36 | protected:
|
---|
| 37 | void AddAtoms(periodentafel *, molecule *);
|
---|
| 38 | void AlignAtoms(periodentafel *, molecule *);
|
---|
| 39 | void CenterAtoms(molecule *);
|
---|
| 40 | void FragmentAtoms(molecule *, config *);
|
---|
| 41 | void ManipulateAtoms(periodentafel *, MoleculeListClass *, config *);
|
---|
| 42 | void MeasureAtoms(periodentafel *, molecule *, config *);
|
---|
| 43 | void MergeMolecules(periodentafel *, MoleculeListClass *);
|
---|
| 44 | void ManipulateMolecules(periodentafel *, MoleculeListClass *, config *);
|
---|
| 45 | void MirrorAtoms(molecule *);
|
---|
| 46 | void RemoveAtoms(molecule *);
|
---|
| 47 | void testroutine(MoleculeListClass *);
|
---|
| 48 | };
|
---|
| 49 |
|
---|
| 50 | #endif /* MENU_H_ */
|
---|