view_hit_matrix_.cpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
- /*
- * ===========================================================================
- * PRODUCTION $Log: view_hit_matrix_.cpp,v $
- * PRODUCTION Revision 1000.1 2004/06/01 20:59:24 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.6
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- /* $Id: view_hit_matrix_.cpp,v 1000.1 2004/06/01 20:59:24 gouriano Exp $ */
- #include <ncbi_pch.hpp>
- inline void CHitMatrixView::cb__i(Fl_Window*, void*) {
- OnExit();
- }
- void CHitMatrixView::cb_(Fl_Window* o, void* v) {
- ((CHitMatrixView*)(o->user_data()))->cb__i(o,v);
- }
- Fl_Window* CHitMatrixView::x_CreateWindow() {
- Fl_Window* w;
- { Fl_Window* o = new Fl_Window(800, 600);
- 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_TOP);
- o->when(FL_WHEN_RELEASE);
- { CMenuBar* o = m_MenuBar = new CMenuBar(0, 0, 800, 25);
- o->box(FL_FLAT_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);
- }
- { Fl_Group* o = new Fl_Group(0, 25, 800, 575);
- o->box(FL_THIN_DOWN_FRAME);
- { CHitMatrixWidget* o = m_AlnView = new CHitMatrixWidget(1, 26, 798, 573);
- o->box(FL_FLAT_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_AlnView->Create();
- }
- o->end();
- Fl_Group::current()->resizable(o);
- }
- o->end();
- }
- return w;
- }