view_alntable_.cpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:3k
- /*
- * ===========================================================================
- * PRODUCTION $Log: view_alntable_.cpp,v $
- * PRODUCTION Revision 1000.1 2004/06/01 21:01:14 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.4
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- /* $Id: view_alntable_.cpp,v 1000.1 2004/06/01 21:01:14 gouriano Exp $ */
- #include <ncbi_pch.hpp>
- inline void CViewAlnTable::cb__i(Fl_Window*, void*) {
- OnExit();
- }
- void CViewAlnTable::cb_(Fl_Window* o, void* v) {
- ((CViewAlnTable*)(o->user_data()))->cb__i(o,v);
- }
- inline void CViewAlnTable::cb_Close_i(Fl_Menu_*, void*) {
- Hide();
- }
- void CViewAlnTable::cb_Close(Fl_Menu_* o, void* v) {
- ((CViewAlnTable*)(o->parent()->user_data()))->cb_Close_i(o,v);
- }
- Fl_Menu_Item CViewAlnTable::menu_m_Menu[] = {
- {"&File", 0, 0, 0, 64, 0, 0, 14, 56},
- {"&Close", 0, (Fl_Callback*)CViewAlnTable::cb_Close, 0, 0, 0, 0, 14, 56},
- {0},
- {"&Tools", 0, 0, 0, 64, 0, 0, 14, 56},
- {0},
- {"&View", 0, 0, 0, 64, 0, 0, 14, 56},
- {"&New View", 0, 0, 0, 64, 0, 0, 14, 56},
- {0},
- {"&Active Views", 0, 0, 0, 64, 0, 0, 14, 56},
- {0},
- {0},
- {0}
- };
- Fl_Window* CViewAlnTable::x_CreateWindow() {
- Fl_Window* w;
- { Fl_Window* o = new Fl_Window(595, 628);
- 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);
- { Fl_Menu_Bar* o = m_Menu = new Fl_Menu_Bar(0, 0, 595, 25);
- o->box(FL_FLAT_BOX);
- o->textsize(12);
- o->menu(menu_m_Menu);
- }
- { Fl_Group* o = new Fl_Group(0, 25, 595, 580);
- o->box(FL_THIN_DOWN_BOX);
- o->color(FL_BACKGROUND2_COLOR);
- { CAlnTableWidget* o = m_AlnTable = new CAlnTableWidget(1, 26, 593, 578);
- o->box(FL_THIN_DOWN_FRAME);
- o->color(FL_BACKGROUND2_COLOR);
- o->selection_color((Fl_Color)177);
- o->labeltype(FL_NORMAL_LABEL);
- o->labelfont(0);
- o->labelsize(10);
- o->labelcolor(FL_BLACK);
- o->align(FL_ALIGN_TOP);
- o->when(FL_WHEN_RELEASE);
- o->end();
- Fl_Group::current()->resizable(o);
- }
- o->end();
- Fl_Group::current()->resizable(o);
- }
- { CStatusBar* o = m_StatusBar = new CStatusBar(0, 607, 595, 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();
- }
- return w;
- }