plugin_dlg_.cpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:3k
- /*
- * ===========================================================================
- * PRODUCTION $Log: plugin_dlg_.cpp,v $
- * PRODUCTION Revision 1000.0 2004/06/01 21:17:28 gouriano
- * PRODUCTION PRODUCTION: IMPORTED [GCC34_MSVC7] Dev-tree R1.1
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- /* $Id: plugin_dlg_.cpp,v 1000.0 2004/06/01 21:17:28 gouriano Exp $ */
- #include <ncbi_pch.hpp>
- inline void CPluginDlg::cb_m_PluginList_i(Fl_Browser*, void*) {
- x_OnPluginChanged();
- }
- void CPluginDlg::cb_m_PluginList(Fl_Browser* o, void* v) {
- ((CPluginDlg*)(o->parent()->user_data()))->cb_m_PluginList_i(o,v);
- }
- inline void CPluginDlg::cb_Cancel_i(Fl_Button*, void*) {
- x_OnCancel();
- }
- void CPluginDlg::cb_Cancel(Fl_Button* o, void* v) {
- ((CPluginDlg*)(o->parent()->parent()->user_data()))->cb_Cancel_i(o,v);
- }
- inline void CPluginDlg::cb_OK_i(Fl_Return_Button*, void*) {
- x_OnOK();
- }
- void CPluginDlg::cb_OK(Fl_Return_Button* o, void* v) {
- ((CPluginDlg*)(o->parent()->parent()->user_data()))->cb_OK_i(o,v);
- }
- Fl_Double_Window* CPluginDlg::x_CreateWindow() {
- Fl_Double_Window* w;
- { Fl_Double_Window* o = new Fl_Double_Window(673, 304);
- w = o;
- o->user_data((void*)(this));
- { Fl_Browser* o = m_PluginList = new Fl_Browser(5, 5, 160, 240);
- o->type(2);
- o->labelsize(12);
- o->textsize(12);
- o->callback((Fl_Callback*)cb_m_PluginList);
- }
- { CPluginArgForm* o = m_Form = new CPluginArgForm(170, 5, 500, 240);
- o->box(FL_NO_BOX);
- o->color(FL_BACKGROUND_COLOR);
- o->selection_color(FL_BACKGROUND_COLOR);
- o->labeltype(FL_NORMAL_LABEL);
- o->labelfont(0);
- o->labelsize(12);
- o->labelcolor(FL_BLACK);
- o->align(FL_ALIGN_TOP);
- o->when(FL_WHEN_RELEASE);
- o->end();
- Fl_Group::current()->resizable(o);
- }
- { Fl_Group* o = new Fl_Group(5, 275, 665, 25);
- o->labelsize(12);
- { Fl_Button* o = new Fl_Button(585, 275, 85, 25, "Cancel");
- o->labelsize(12);
- o->callback((Fl_Callback*)cb_Cancel);
- }
- { Fl_Return_Button* o = new Fl_Return_Button(495, 275, 85, 25, "OK");
- o->labelsize(12);
- o->callback((Fl_Callback*)cb_OK);
- }
- { Fl_Group* o = new Fl_Group(5, 275, 490, 25);
- o->labelsize(12);
- o->end();
- Fl_Group::current()->resizable(o);
- }
- o->end();
- }
- { CStatusBar* o = m_StatusBar = new CStatusBar(5, 250, 665, 20);
- o->box(FL_THIN_DOWN_BOX);
- o->color(FL_BACKGROUND_COLOR);
- o->selection_color(FL_BACKGROUND_COLOR);
- o->labeltype(FL_NORMAL_LABEL);
- o->labelfont(0);
- o->labelsize(12);
- o->labelcolor(FL_BLACK);
- o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
- o->when(FL_WHEN_RELEASE);
- o->end();
- }
- o->end();
- }
- return w;
- }