source: molecuilder/src/menu.hpp@ 34ff5e6

Last change on this file since 34ff5e6 was 70c4aa6, checked in by Tillmann Crueger <crueger@…>, 16 years ago

Extracted all methods from MergeMolecules Menu

  • Added new action that only displays an errorMessage
  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[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
13class MoleculeListClass;
14class periodentafel;
15class config;
16class molecule;
17
[d20ed5]18class oldmenu
[7df43b]19{
20public:
[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]36protected:
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_ */
Note: See TracBrowser for help on using the repository browser.