score_dlg.fl
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
- # data file for the Fltk User Interface Designer (fluid)
- version 1.0105
- do_not_include_H_from_C
- header_name {../../../../include/gui/widgets/hit_matrix/score_dlg_.hpp}
- code_name {score_dlg_.cpp}
- decl {/* $Id: score_dlg.fl,v 1000.1 2004/06/01 21:11:11 gouriano Exp $ */} {public
- }
- decl {/* $Id: score_dlg.fl,v 1000.1 2004/06/01 21:11:11 gouriano Exp $ */} {}
- decl {#include <ncbi_pch.hpp>} {}
- class NCBI_GUIWIDGETS_HIT_MATRIX_EXPORT CScoreDlg {: {public CDialog}
- } {
- decl {void SetTitle(const string& title);} {public
- }
- Function {x_CreateWindow()} {open private
- } {
- Fl_Window {} {open
- xywh {751 393 314 193} type Double visible
- } {
- Fl_Button {} {
- label Cancel
- callback {x_OnCancel();}
- xywh {210 50 90 25} labelsize 12
- }
- Fl_Return_Button {} {
- label Ok
- callback {x_OnOK()}
- xywh {210 15 90 25} labelsize 12
- }
- Fl_Browser m_List {
- xywh {10 15 190 165} type Hold labelsize 12 textsize 12
- class CBrowser
- }
- }
- }
- decl {string m_TitleStr;} {}
- Function {SetItems(const vector<string>& items, int curr)} {open return_type void
- } {
- code {_ASSERT(m_List);
- int size = items.size();
- for( int i = 0; i < size; i++ ) {
- m_List->insert(size, items[i].c_str());
- }
- m_List->select(curr + 1);} {}
- }
- decl {int m_SelectedIndex;} {}
- Function {GetSelectedIndex()} {open return_type int
- } {
- code {return m_SelectedIndex;} {}
- }
- decl {CScoreDlg();} {public
- }
- decl {virtual void x_OnOK();} {}
- decl {virtual void x_OnCancel();} {}
- }