Candidate_v1.7.0
        stable
      
      
        
          | 
            Last change
 on this file since ba49d8 was             2affd1, checked in by Frederik Heber <heber@…>, 10 years ago           | 
        
        
          | 
             
Removed molecules_deprecated from World and unnecessary includes of MoleculeListClass and all insert/erase. 
 
- this goes along the lines of removing "remove me when we don't need
MoleculeCistClass anymore".
  
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            901 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | /*
 | 
|---|
| 2 |  * TextWindow.hpp
 | 
|---|
| 3 |  *
 | 
|---|
| 4 |  *  Created on: Jan 7, 2010
 | 
|---|
| 5 |  *      Author: crueger
 | 
|---|
| 6 |  */
 | 
|---|
| 7 | 
 | 
|---|
| 8 | #ifndef TEXTWINDOW_HPP_
 | 
|---|
| 9 | #define TEXTWINDOW_HPP_
 | 
|---|
| 10 | 
 | 
|---|
| 11 | // include config.h
 | 
|---|
| 12 | #ifdef HAVE_CONFIG_H
 | 
|---|
| 13 | #include <config.h>
 | 
|---|
| 14 | #endif
 | 
|---|
| 15 | 
 | 
|---|
| 16 | 
 | 
|---|
| 17 | #include "MainWindow.hpp"
 | 
|---|
| 18 | 
 | 
|---|
| 19 | #include <string>
 | 
|---|
| 20 | #include <set>
 | 
|---|
| 21 | 
 | 
|---|
| 22 | #include "Menu/TextMenu/TextMenu.hpp"
 | 
|---|
| 23 | 
 | 
|---|
| 24 | namespace MoleCuilder {
 | 
|---|
| 25 |   class Action;
 | 
|---|
| 26 | }
 | 
|---|
| 27 | class StringView;
 | 
|---|
| 28 | class TextStatusIndicator;
 | 
|---|
| 29 | class TxMenu;
 | 
|---|
| 30 | 
 | 
|---|
| 31 | 
 | 
|---|
| 32 | class TextWindow : public MainWindow
 | 
|---|
| 33 | {
 | 
|---|
| 34 | public:
 | 
|---|
| 35 |   TextWindow();
 | 
|---|
| 36 |   virtual ~TextWindow();
 | 
|---|
| 37 | 
 | 
|---|
| 38 |   virtual void display();
 | 
|---|
| 39 | 
 | 
|---|
| 40 | private:
 | 
|---|
| 41 |   TextMenu<TxMenu> *main_menu;
 | 
|---|
| 42 | 
 | 
|---|
| 43 |   /** Helper function to enumerate all molecules in the World.
 | 
|---|
| 44 |    *
 | 
|---|
| 45 |    * \param out output stream to write to
 | 
|---|
| 46 |    */
 | 
|---|
| 47 |   void Enumerate(std::ostream *out);
 | 
|---|
| 48 | 
 | 
|---|
| 49 |   MoleCuilder::Action *quitAction;
 | 
|---|
| 50 |   // all views that are contained in the main Menu
 | 
|---|
| 51 |   StringView *moleculeView;
 | 
|---|
| 52 |   TextStatusIndicator *statusIndicator;
 | 
|---|
| 53 | };
 | 
|---|
| 54 | 
 | 
|---|
| 55 | #endif /* TEXTWINDOW_HPP_ */
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.