Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

SaveTrajectoryFltkMenu.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *cr
00003  *cr            (C) Copyright 1995-2019 The Board of Trustees of the
00004  *cr                        University of Illinois
00005  *cr                         All Rights Reserved
00006  *cr
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  * RCS INFORMATION:
00011  *
00012  *      $RCSfile: SaveTrajectoryFltkMenu.h,v $
00013  *      $Author: johns $        $Locker:  $             $State: Exp $
00014  *      $Revision: 1.17 $       $Date: 2019/01/17 21:21:01 $
00015  *
00016  ***************************************************************************
00017  * DESCRIPTION:
00018  *  Window to allow the user to save trajectory frames etc.
00019  ***************************************************************************/
00020 #ifndef SAVE_TRAJECTORY_FLTK_MENU_H 
00021 #define SAVE_TRAJECTORY_FLTK_MENU_H 
00022 
00023 #include "VMDFltkMenu.h"
00024 
00025 class Fl_Browser;
00026 class Fl_Button;
00027 class Fl_Return_Button;
00028 class Fl_Choice;
00029 class Fl_Widget;
00030 class Fl_Input;
00031 
00034 class SaveTrajectoryFltkMenu : public VMDFltkMenu {
00035 public:
00036   SaveTrajectoryFltkMenu(VMDApp *);
00037   int selectmol(int molindex);
00038     
00039   void do_save();
00040 
00043   void molchooser_activate_selection();
00044 
00045   // set the selected atoms text
00046   void select_atoms(const char *);
00047 
00048 protected:
00049   int act_on_command(int, Command *);
00050   int selected_molid;
00051          
00052 private:
00053   Fl_Choice *filetypechooser;
00054   Fl_Return_Button *savebutton;
00055   Fl_Button *closebutton;
00056   Fl_Choice *molchooser;
00057 
00058   Fl_Input *selectinput;
00059   Fl_Choice *repchooser;
00060 
00062   Fl_Group *timestepgroup;
00063   Fl_Button *allatoncebutton;
00064   Fl_Button *saveinbackgroundbutton;
00065   Fl_Input *firstinput;
00066   Fl_Input *lastinput;
00067   Fl_Input *strideinput;
00068 
00069   Fl_Browser *datasetbrowser;
00070   
00073   void update_molchooser(int type);
00074   
00075 };
00076 #endif

Generated on Fri Nov 8 02:45:31 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002