[85bc8e] | 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 |
|
---|
[65b6e0] | 18 | class oldmenu
|
---|
[85bc8e] | 19 | {
|
---|
| 20 | public:
|
---|
[65b6e0] | 21 | oldmenu();
|
---|
| 22 | virtual ~oldmenu();
|
---|
[85bc8e] | 23 |
|
---|
[21c246] | 24 | void notImplementedYet();
|
---|
[85bc8e] | 25 | void perform(MoleculeListClass *, config *, periodentafel *, char *);
|
---|
| 26 | void SaveConfig(char *, config *, periodentafel *, MoleculeListClass *);
|
---|
| 27 |
|
---|
[1020f0] | 28 | // Methods extracted from EditMolecules. Probably to be moved to moleculeListClass
|
---|
| 29 | void createNewMolecule(periodentafel *periode,MoleculeListClass *molecules);
|
---|
| 30 | void loadFromXYZ(periodentafel *periode,MoleculeListClass *molecules);
|
---|
| 31 | void changeName(MoleculeListClass *molecules);
|
---|
| 32 | void setMoleculeFilename(MoleculeListClass *molecules);
|
---|
| 33 | void parseXYZIntoMolecule(MoleculeListClass *molecules);
|
---|
| 34 | void eraseMolecule(MoleculeListClass *molecules);
|
---|
| 35 |
|
---|
[85bc8e] | 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_ */
|
---|