visible_range_dlg_.hpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
- /*
- * ===========================================================================
- * PRODUCTION $Log: visible_range_dlg_.hpp,v $
- * PRODUCTION Revision 1000.1 2004/06/01 21:01:41 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.5
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- #ifndef visible_range_dlg__hpp
- #define visible_range_dlg__hpp
- #include <FL/Fl.H>
- /* $Id: visible_range_dlg_.hpp,v 1000.1 2004/06/01 21:01:41 gouriano Exp $ */
- #include <FL/Fl_Double_Window.H>
- #include <FL/Fl_Group.H>
- #include <FL/Fl_Input.H>
- #include <FL/Fl_Return_Button.H>
- #include <FL/Fl_Button.H>
- #include <FL/Fl_Box.H>
- class CVisibleRangeDialog : public CDialog {
- public:
- CVisibleRangeDialog(TSeqPos scroll_to, TSeqPos seq_size);
- CVisibleRangeDialog(TSeqPos seq_size);
- TSeqRange GetRange();
- TSeqPos GetScrollTo();
- void SetRange(TSeqRange range);
- private:
- void x_OnToInput();
- void x_OnScrollToInput();
- string m_SeqSizeBuffer;
- Fl_Double_Window* x_CreateRangeWindow();
- public:
- Fl_Input *m_From;
- Fl_Input *m_To;
- private:
- inline void cb_m_To_i(Fl_Input*, void*);
- static void cb_m_To(Fl_Input*, void*);
- inline void cb_OK_i(Fl_Return_Button*, void*);
- static void cb_OK(Fl_Return_Button*, void*);
- inline void cb_Cancel_i(Fl_Button*, void*);
- static void cb_Cancel(Fl_Button*, void*);
- public:
- Fl_Box *m_ToErrorMsg;
- Fl_Box *m_SeqSize;
- Fl_Box *m_ToLabel;
- private:
- Fl_Double_Window* x_CreateScrollToWindow();
- public:
- Fl_Input *m_ScrollTo;
- private:
- inline void cb_m_ScrollTo_i(Fl_Input*, void*);
- static void cb_m_ScrollTo(Fl_Input*, void*);
- inline void cb_OK1_i(Fl_Return_Button*, void*);
- static void cb_OK1(Fl_Return_Button*, void*);
- inline void cb_Cancel1_i(Fl_Button*, void*);
- static void cb_Cancel1(Fl_Button*, void*);
- public:
- Fl_Box *m_ScrollToErrorMsg;
- Fl_Box *m_ScrollToSize;
- Fl_Box *m_ScrollToLabel;
- };
- #endif