colselect_dlg_.cpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:5k
- /*
- * ===========================================================================
- * PRODUCTION $Log: colselect_dlg_.cpp,v $
- * PRODUCTION Revision 1000.1 2004/06/01 21:08:54 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.2
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- /* $Id: colselect_dlg_.cpp,v 1000.1 2004/06/01 21:08:54 gouriano Exp $ */
- #include <ncbi_pch.hpp>
- inline void CColumnSelectDlg::cb__i(Fl_Button*, void*) {
- x_OnHide();
- }
- void CColumnSelectDlg::cb_(Fl_Button* o, void* v) {
- ((CColumnSelectDlg*)(o->parent()->parent()->parent()->parent()->parent()->user_data()))->cb__i(o,v);
- }
- inline void CColumnSelectDlg::cb_1_i(Fl_Button*, void*) {
- x_OnShow();
- }
- void CColumnSelectDlg::cb_1(Fl_Button* o, void* v) {
- ((CColumnSelectDlg*)(o->parent()->parent()->parent()->parent()->parent()->user_data()))->cb_1_i(o,v);
- }
- inline void CColumnSelectDlg::cb_8_i(Fl_Button*, void*) {
- x_OnDown();
- }
- void CColumnSelectDlg::cb_8(Fl_Button* o, void* v) {
- ((CColumnSelectDlg*)(o->parent()->parent()->parent()->parent()->parent()->user_data()))->cb_8_i(o,v);
- }
- inline void CColumnSelectDlg::cb_2_i(Fl_Button*, void*) {
- x_OnUp();
- }
- void CColumnSelectDlg::cb_2(Fl_Button* o, void* v) {
- ((CColumnSelectDlg*)(o->parent()->parent()->parent()->parent()->parent()->user_data()))->cb_2_i(o,v);
- }
- inline void CColumnSelectDlg::cb_OK_i(Fl_Return_Button*, void*) {
- x_OnOK();
- }
- void CColumnSelectDlg::cb_OK(Fl_Return_Button* o, void* v) {
- ((CColumnSelectDlg*)(o->parent()->parent()->user_data()))->cb_OK_i(o,v);
- }
- inline void CColumnSelectDlg::cb_Cancel_i(Fl_Button*, void*) {
- x_OnCancel();
- }
- void CColumnSelectDlg::cb_Cancel(Fl_Button* o, void* v) {
- ((CColumnSelectDlg*)(o->parent()->parent()->user_data()))->cb_Cancel_i(o,v);
- }
- CColumnSelectDlg::CColumnSelectDlg() {
- Fl_Double_Window* w;
- { Fl_Double_Window* o = m_MainWin = new Fl_Double_Window(415, 210, "Select Columns to Show");
- w = o;
- o->labelsize(12);
- o->user_data((void*)(this));
- { Fl_Group* o = new Fl_Group(5, 5, 405, 170);
- o->labelsize(12);
- { Fl_Group* o = new Fl_Group(5, 5, 405, 25);
- o->labelsize(12);
- { Fl_Box* o = new Fl_Box(5, 5, 185, 25, "Hidden");
- o->labelsize(12);
- }
- { Fl_Box* o = new Fl_Box(225, 5, 185, 25, "Shown");
- o->labelsize(12);
- }
- o->end();
- }
- { Fl_Group* o = new Fl_Group(5, 35, 405, 140);
- o->labelsize(12);
- { Fl_Group* o = new Fl_Group(5, 35, 220, 140);
- o->labelsize(12);
- { Fl_Browser* o = m_HiddenList = new Fl_Browser(5, 35, 185, 140);
- o->type(3);
- o->labelsize(12);
- o->textsize(12);
- Fl_Group::current()->resizable(o);
- }
- { Fl_Group* o = new Fl_Group(195, 35, 25, 140);
- o->labelsize(12);
- { Fl_Button* o = new Fl_Button(195, 35, 25, 25, "@<-");
- o->labelsize(12);
- o->callback((Fl_Callback*)cb_);
- }
- { Fl_Button* o = new Fl_Button(195, 60, 25, 25, "@->");
- o->labelsize(12);
- o->callback((Fl_Callback*)cb_1);
- }
- { Fl_Group* o = new Fl_Group(195, 85, 25, 40);
- o->labelsize(12);
- o->end();
- Fl_Group::current()->resizable(o);
- }
- { Fl_Button* o = new Fl_Button(195, 150, 25, 25, "@8<");
- o->labelsize(12);
- o->callback((Fl_Callback*)cb_8);
- }
- { Fl_Button* o = new Fl_Button(195, 125, 25, 25, "@2<");
- o->labelsize(12);
- o->callback((Fl_Callback*)cb_2);
- }
- o->end();
- }
- o->end();
- }
- { Fl_Browser* o = m_ShownList = new Fl_Browser(225, 35, 185, 140);
- o->type(3);
- o->labelsize(12);
- o->textsize(12);
- }
- o->end();
- Fl_Group::current()->resizable(o);
- }
- o->end();
- Fl_Group::current()->resizable(o);
- }
- { Fl_Group* o = new Fl_Group(5, 180, 405, 25);
- o->labelsize(12);
- { Fl_Return_Button* o = new Fl_Return_Button(255, 180, 75, 25, "OK");
- o->labelsize(12);
- o->callback((Fl_Callback*)cb_OK);
- }
- { Fl_Button* o = new Fl_Button(335, 180, 75, 25, "Cancel");
- o->labelsize(12);
- o->callback((Fl_Callback*)cb_Cancel);
- }
- { Fl_Group* o = new Fl_Group(5, 180, 250, 25);
- o->labelsize(12);
- o->end();
- Fl_Group::current()->resizable(o);
- }
- o->end();
- }
- o->end();
- }
- }