view_taxplot_.cpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:4k
- /*
- * ===========================================================================
- * PRODUCTION $Log: view_taxplot_.cpp,v $
- * PRODUCTION Revision 1000.1 2004/06/01 21:01:57 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.4
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- /* $Id: view_taxplot_.cpp,v 1000.1 2004/06/01 21:01:57 gouriano Exp $ */
- #include <ncbi_pch.hpp>
- inline void CTaxplotView::cb__i(Fl_Window*, void*) {
- OnExit();
- }
- void CTaxplotView::cb_(Fl_Window* o, void* v) {
- ((CTaxplotView*)(o->user_data()))->cb__i(o,v);
- }
- inline void CTaxplotView::cb_Exit_i(Fl_Menu_*, void*) {
- x_OnFileClose();
- }
- void CTaxplotView::cb_Exit(Fl_Menu_* o, void* v) {
- ((CTaxplotView*)(o->parent()->user_data()))->cb_Exit_i(o,v);
- }
- inline void CTaxplotView::cb_Taxplot_i(Fl_Menu_*, void*) {
- x_OnHelp();
- }
- void CTaxplotView::cb_Taxplot(Fl_Menu_* o, void* v) {
- ((CTaxplotView*)(o->parent()->user_data()))->cb_Taxplot_i(o,v);
- }
- Fl_Menu_Item CTaxplotView::menu_m_Menu[] = {
- {"&File", 0, 0, 0, 64, 0, 0, 14, 56},
- {"&Exit", 0, (Fl_Callback*)CTaxplotView::cb_Exit, 0, 0, 0, 0, 14, 56},
- {0},
- {"&Help", 0, 0, 0, 64, 0, 0, 14, 56},
- {"&Taxplot View Help", 0, (Fl_Callback*)CTaxplotView::cb_Taxplot, 0, 0, 0, 0, 14, 56},
- {"&About Taxplot View", 0, 0, 0, 0, 0, 0, 14, 56},
- {0},
- {0}
- };
- Fl_Window* CTaxplotView::x_CreateWindow() {
- Fl_Window* w;
- { Fl_Window* o = new Fl_Window(601, 707);
- w = o;
- o->box(FL_FLAT_BOX);
- o->color(FL_BACKGROUND_COLOR);
- o->selection_color(FL_BACKGROUND_COLOR);
- o->labeltype(FL_NO_LABEL);
- o->labelfont(0);
- o->labelsize(14);
- o->labelcolor(FL_BLACK);
- o->callback((Fl_Callback*)cb_, (void*)(this));
- o->align(FL_ALIGN_CENTER);
- o->when(FL_WHEN_RELEASE);
- { Fl_Menu_Bar* o = m_Menu = new Fl_Menu_Bar(-5, -2, 612, 26);
- o->box(FL_THIN_UP_BOX);
- o->labelcolor((Fl_Color)48);
- o->menu(menu_m_Menu);
- }
- { Fl_Group* o = new Fl_Group(0, 46, 600, 44, "Choose three species for comparison");
- o->box(FL_BORDER_FRAME);
- o->color(FL_DARK3);
- o->labelsize(12);
- o->labelcolor((Fl_Color)178);
- o->align(FL_ALIGN_TOP_LEFT);
- { Fl_Choice* o = m_xCombo = new Fl_Choice(5, 55, 190, 25, "choice:");
- o->down_box(FL_FLAT_BOX);
- o->labeltype(FL_NO_LABEL);
- }
- { Fl_Choice* o = m_yCombo = new Fl_Choice(205, 55, 190, 25, "choice:");
- o->down_box(FL_BORDER_BOX);
- o->labeltype(FL_NO_LABEL);
- }
- { Fl_Choice* o = m_zCombo = new Fl_Choice(405, 55, 190, 25, "choice:");
- o->down_box(FL_BORDER_BOX);
- o->labeltype(FL_NO_LABEL);
- }
- o->end();
- }
- { Fl_Group* o = new Fl_Group(0, 109, 600, 571, "4-Way View of Genome Similarities");
- o->box(FL_BORDER_FRAME);
- o->color(FL_DARK3);
- o->labelsize(12);
- o->labelcolor((Fl_Color)178);
- o->align(FL_ALIGN_TOP_LEFT);
- { CTaxplot3dWidget4x* o = m_AlnInfo = new CTaxplot3dWidget4x(7, 118, 586, 556, "4-Way View of Genome Similarities");
- o->box(FL_NO_BOX);
- o->color(FL_DARK3);
- o->selection_color((Fl_Color)178);
- o->labeltype(FL_NO_LABEL);
- o->labelfont(0);
- o->labelsize(12);
- o->labelcolor((Fl_Color)178);
- o->align(FL_ALIGN_TOP_LEFT);
- o->when(FL_WHEN_RELEASE);
- Fl_Group::current()->resizable(o);
- }
- o->end();
- Fl_Group::current()->resizable(o);
- }
- { Fl_Group* o = new Fl_Group(0, 685, 600, 22, "Status");
- o->box(FL_BORDER_FRAME);
- o->color(FL_DARK3);
- o->labeltype(FL_NO_LABEL);
- { Fl_Text_Display* o = new Fl_Text_Display(0, 685, 600, 22);
- o->box(FL_NO_BOX);
- o->color(FL_DARK3);
- o->align(FL_ALIGN_TOP_LEFT);
- }
- o->end();
- }
- o->end();
- }
- return w;
- }