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 #ifndef RENDER_FLTK_MENU_H__ 00009 #define RENDER_FLTK_MENU_H__ 00010 00011 #include "VMDFltkMenu.h" 00012 00013 class Fl_Choice; 00014 class Fl_Button; 00015 class Fl_Input; 00016 00019 class RenderFltkMenu : public VMDFltkMenu { 00020 00021 public: 00022 RenderFltkMenu(VMDApp *); 00023 00024 protected: 00025 int act_on_command(int, Command *); 00026 00027 private: 00028 void make_window(); 00029 void fill_render_choices(); 00030 00031 Fl_Choice *formatchoice; 00032 Fl_Input *filenameinput; 00033 Fl_Input *commandinput; 00034 00036 static void formatchoice_cb(Fl_Widget *, void *); 00037 00039 static void command_cb(Fl_Widget *, void *); 00040 00042 static void default_cb(Fl_Widget *, void *); 00043 00045 static void browse_cb(Fl_Widget *, void *); 00046 00048 static void render_cb(Fl_Widget *, void *); 00049 }; 00050 #endif