score_dlg_.hpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:1k
- /*
- * ===========================================================================
- * PRODUCTION $Log: score_dlg_.hpp,v $
- * PRODUCTION Revision 1000.1 2004/06/01 19:52:52 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.2
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- #ifndef score_dlg__hpp
- #define score_dlg__hpp
- #include <FL/Fl.H>
- /* $Id: score_dlg_.hpp,v 1000.1 2004/06/01 19:52:52 gouriano Exp $ */
- #include <FL/Fl_Double_Window.H>
- #include <FL/Fl_Button.H>
- #include <FL/Fl_Return_Button.H>
- class NCBI_GUIWIDGETS_HIT_MATRIX_EXPORT CScoreDlg : public CDialog {
- public:
- void SetTitle(const string& title);
- private:
- Fl_Double_Window* x_CreateWindow();
- inline void cb_Cancel_i(Fl_Button*, void*);
- static void cb_Cancel(Fl_Button*, void*);
- inline void cb_Ok_i(Fl_Return_Button*, void*);
- static void cb_Ok(Fl_Return_Button*, void*);
- public:
- CBrowser *m_List;
- private:
- string m_TitleStr;
- public:
- void SetItems(const vector<string>& items, int curr);
- private:
- int m_SelectedIndex;
- public:
- int GetSelectedIndex();
- CScoreDlg();
- private:
- virtual void x_OnOK();
- virtual void x_OnCancel();
- };
- #endif