hit_matrix_demo_ui_.cpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:3k
- /*
- * ===========================================================================
- * PRODUCTION $Log: hit_matrix_demo_ui_.cpp,v $
- * PRODUCTION Revision 1000.2 2004/06/01 21:11:29 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.4
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- /* $Id: hit_matrix_demo_ui_.cpp,v 1000.2 2004/06/01 21:11:29 gouriano Exp $ */
- #include <ncbi_pch.hpp>
- inline void CHitMatrixDemoUI::cb_Load_i(Fl_Button*, void*) {
- x_OnLoadAccession();
- }
- void CHitMatrixDemoUI::cb_Load(Fl_Button* o, void* v) {
- ((CHitMatrixDemoUI*)(o->parent()->parent()->parent()->user_data()))->cb_Load_i(o,v);
- }
- inline void CHitMatrixDemoUI::cb_Load1_i(Fl_Button*, void*) {
- x_OnLoadFile();
- }
- void CHitMatrixDemoUI::cb_Load1(Fl_Button* o, void* v) {
- ((CHitMatrixDemoUI*)(o->parent()->parent()->parent()->user_data()))->cb_Load1_i(o,v);
- }
- Fl_Double_Window* CHitMatrixDemoUI::x_CreateWindow() {
- Fl_Double_Window* w;
- { Fl_Double_Window* o = new Fl_Double_Window(968, 589);
- w = o;
- o->user_data((void*)(this));
- { Fl_Group* o = new Fl_Group(10, 10, 955, 430);
- { CHitMatrixWidget* o = m_MatrixWidget = new CHitMatrixWidget(15, 39, 930, 401);
- o->box(FL_DOWN_BOX);
- o->color(FL_BACKGROUND2_COLOR);
- o->selection_color(FL_BACKGROUND_COLOR);
- o->labeltype(FL_NORMAL_LABEL);
- o->labelfont(0);
- o->labelsize(14);
- o->labelcolor(FL_BLACK);
- o->align(FL_ALIGN_CENTER);
- o->when(FL_WHEN_RELEASE);
- Fl_Group::current()->resizable(o);
- m_MatrixWidget->Create();
- }
- { CMenuBar* o = m_MenuBar = new CMenuBar(15, 10, 930, 30);
- o->box(FL_UP_BOX);
- o->color(FL_BACKGROUND_COLOR);
- o->selection_color(FL_SELECTION_COLOR);
- o->labeltype(FL_NORMAL_LABEL);
- o->labelfont(0);
- o->labelsize(14);
- o->labelcolor(FL_BLACK);
- o->align(FL_ALIGN_CENTER);
- o->when(FL_WHEN_RELEASE_ALWAYS);
- }
- o->end();
- Fl_Group::current()->resizable(o);
- }
- { Fl_Group* o = new Fl_Group(10, 395, 945, 240);
- { Fl_Group* o = new Fl_Group(710, 425, 245, 180);
- m_Accession = new Fl_Input(710, 460, 180, 25, "Accession to Load");
- { Fl_Button* o = new Fl_Button(895, 460, 60, 25, "Load!");
- o->callback((Fl_Callback*)cb_Load);
- }
- m_InputFile = new Fl_File_Input(710, 495, 180, 35, "File to Load");
- { Fl_Button* o = new Fl_Button(895, 505, 60, 25, "Load!");
- o->callback((Fl_Callback*)cb_Load1);
- }
- { Fl_Choice* o = m_Anchor = new Fl_Choice(710, 540, 185, 25, "Anchor on...");
- o->down_box(FL_BORDER_BOX);
- }
- o->end();
- }
- o->end();
- }
- o->end();
- }
- return w;
- }