featgroup_config_panel_.cpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:6k
源码类别:
生物技术
开发平台:
C/C++
- /*
- * ===========================================================================
- * PRODUCTION $Log: featgroup_config_panel_.cpp,v $
- * PRODUCTION Revision 1000.0 2004/06/01 21:15:43 gouriano
- * PRODUCTION PRODUCTION: IMPORTED [GCC34_MSVC7] Dev-tree R1.2
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- /* $Id: featgroup_config_panel_.cpp,v 1000.0 2004/06/01 21:15:43 gouriano Exp $ */
- #include <ncbi_pch.hpp>
- inline void CFeatGroupConfigPanel::cb_m_FeatGroups_i(Fl_Browser*, void*) {
- x_OnFeatGroupClick();
- }
- void CFeatGroupConfigPanel::cb_m_FeatGroups(Fl_Browser* o, void* v) {
- ((CFeatGroupConfigPanel*)(o->parent()->parent()->user_data()))->cb_m_FeatGroups_i(o,v);
- }
- inline void CFeatGroupConfigPanel::cb_8_i(Fl_Button*, void*) {
- x_OnUp();
- }
- void CFeatGroupConfigPanel::cb_8(Fl_Button* o, void* v) {
- ((CFeatGroupConfigPanel*)(o->parent()->parent()->parent()->user_data()))->cb_8_i(o,v);
- }
- inline void CFeatGroupConfigPanel::cb_2_i(Fl_Button*, void*) {
- x_OnDown();
- }
- void CFeatGroupConfigPanel::cb_2(Fl_Button* o, void* v) {
- ((CFeatGroupConfigPanel*)(o->parent()->parent()->parent()->user_data()))->cb_2_i(o,v);
- }
- inline void CFeatGroupConfigPanel::cb_6_i(Fl_Button*, void*) {
- x_OutofGroup();
- }
- void CFeatGroupConfigPanel::cb_6(Fl_Button* o, void* v) {
- ((CFeatGroupConfigPanel*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_6_i(o,v);
- }
- inline void CFeatGroupConfigPanel::cb_4_i(Fl_Button*, void*) {
- x_IntoGroup();
- }
- void CFeatGroupConfigPanel::cb_4(Fl_Button* o, void* v) {
- ((CFeatGroupConfigPanel*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_4_i(o,v);
- }
- Fl_Group* CFeatGroupConfigPanel::x_MakeWidgets() {
- Fl_Group* w;
- { Fl_Group* o = m_ConfigPanel = new Fl_Group(0, 0, 694, 432);
- 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(12);
- o->labelcolor(FL_BLACK);
- o->user_data((void*)(this));
- o->align(FL_ALIGN_TOP);
- o->when(FL_WHEN_RELEASE);
- { Fl_Group* o = m_FeatWidgetGroup = new Fl_Group(0, 0, 694, 432);
- o->box(FL_UP_BOX);
- o->labelsize(12);
- { Fl_Browser* o = m_FeatGroups = new Fl_Browser(2, 21, 172, 322, "Layout/Feature Groups");
- o->type(2);
- o->labelsize(12);
- o->textsize(12);
- o->callback((Fl_Callback*)cb_m_FeatGroups);
- o->align(FL_ALIGN_TOP);
- }
- { Fl_Group* o = m_FeatGroupBtns = new Fl_Group(175, 35, 65, 174);
- o->labelsize(12);
- { Fl_Button* o = new Fl_Button(178, 131, 31, 34, "@#8->");
- o->labelsize(12);
- o->callback((Fl_Callback*)cb_8);
- }
- { Fl_Button* o = new Fl_Button(179, 171, 31, 34, "@#2->");
- o->labelsize(12);
- o->callback((Fl_Callback*)cb_2);
- }
- { Fl_Button* o = new Fl_Button(178, 44, 58, 31, "@#4-> Save");
- o->labelsize(12);
- }
- { Fl_Button* o = new Fl_Button(178, 82, 58, 31, "Delete");
- o->labelsize(12);
- }
- o->resizable(NULL);
- o->end();
- }
- { Fl_Group* o = new Fl_Group(246, 9, 438, 413);
- o->box(FL_DOWN_BOX);
- o->labelsize(12);
- { Fl_Group* o = new Fl_Group(265, 17, 163, 107);
- o->labelsize(12);
- { Fl_Input* o = m_CurrentGroupName = new Fl_Input(266, 35, 162, 25, "Group Name:");
- o->labelsize(12);
- o->textsize(12);
- o->align(FL_ALIGN_TOP_LEFT);
- }
- { Fl_Round_Button* o = new Fl_Round_Button(271, 64, 93, 19, "Features");
- o->type(102);
- o->down_box(FL_ROUND_DOWN_BOX);
- o->labelsize(12);
- o->when(FL_WHEN_CHANGED);
- }
- { Fl_Round_Button* o = new Fl_Round_Button(271, 82, 93, 19, "Alignments");
- o->type(102);
- o->down_box(FL_ROUND_DOWN_BOX);
- o->labelsize(12);
- }
- { Fl_Round_Button* o = new Fl_Round_Button(271, 100, 93, 19, "Graphs");
- o->type(102);
- o->down_box(FL_ROUND_DOWN_BOX);
- o->labelsize(12);
- }
- o->resizable(NULL);
- o->end();
- }
- { Fl_Browser* o = m_FeatGroupItems = new Fl_Browser(264, 127, 171, 209);
- o->type(2);
- o->labelsize(12);
- o->textsize(12);
- Fl_Group::current()->resizable(o);
- }
- { Fl_Check_Button* o = new Fl_Check_Button(268, 343, 163, 23, "If Not Used Previously");
- o->down_box(FL_DOWN_BOX);
- o->labelsize(12);
- }
- { Fl_Check_Button* o = new Fl_Check_Button(268, 364, 163, 23, "Link Gene, RNA, CDS");
- o->down_box(FL_DOWN_BOX);
- o->labelsize(12);
- }
- { Fl_Check_Button* o = new Fl_Check_Button(268, 385, 163, 23, "Show Protein Product w/CDS");
- o->down_box(FL_DOWN_BOX);
- o->labelsize(12);
- }
- { Fl_Group* o = new Fl_Group(500, 18, 177, 400);
- o->box(FL_UP_FRAME);
- o->labelsize(12);
- { CTreeBrowser* o = m_Tree = new CTreeBrowser(500, 18, 177, 399);
- o->box(FL_DOWN_FRAME);
- o->color(FL_BACKGROUND2_COLOR);
- o->selection_color((Fl_Color)4);
- o->labeltype(FL_NO_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* o = new Fl_Group(446, 127, 48, 84);
- o->labelsize(12);
- { Fl_Button* o = new Fl_Button(451, 170, 36, 29, "@#6->");
- o->labelsize(12);
- o->callback((Fl_Callback*)cb_6);
- }
- { Fl_Button* o = new Fl_Button(451, 131, 36, 29, "@#4->");
- o->labelsize(12);
- o->callback((Fl_Callback*)cb_4);
- }
- o->resizable(NULL);
- o->end();
- }
- o->end();
- }
- o->end();
- Fl_Group::current()->resizable(o);
- }
- o->end();
- }
- return w;
- }