- # data file for the Fltk User Interface Designer (fluid)
- version 1.0105
- do_not_include_H_from_C
- header_name {seqgraphic_demo_ui_.hpp}
- code_name {seqgraphic_demo_ui_.cpp}
- decl {/* $Id: seqgraphic_demo_ui.fl,v 1000.1 2004/06/01 21:13:14 gouriano Exp $ */} {public
- }
- decl {/* $Id: seqgraphic_demo_ui.fl,v 1000.1 2004/06/01 21:13:14 gouriano Exp $ */} {}
- decl {#include <ncbi_pch.hpp>} {}
- class CSeqGraphicDemoUI {} {
- decl {CSeqGraphicDemoUI();} {public
- }
- decl {~CSeqGraphicDemoUI();} {public
- }
- decl {void Show (int argc, char** argv);} {public
- }
- decl {auto_ptr<Fl_Window> m_Window;} {}
- decl {CRef<CObjectManager> m_ObjMgr;} {}
- decl {CRef<CScope> m_Scope;} {}
- decl {CRef<CSeqGraphicDataSource> m_DataSource;} {}
- Function {x_CreateWindow()} {open private
- } {
- Fl_Window m_MainWindow {
- label {Graphic Sequence Widget Demo} open
- xywh {340 376 936 500} type Double resizable visible
- } {
- Fl_Box m_SeqWidget {
- private xywh {15 19 615 421} box DOWN_BOX color 7
- class CSeqGraphicWidget
- }
- Fl_Input m_Accession {
- label {Accession to Load}
- private xywh {640 35 200 25} align 5
- }
- Fl_Button {} {
- label Load
- callback {x_OnLoadAccession();}
- xywh {850 35 60 25}
- }
- Fl_File_Input m_InputFile {
- label {File to Load}
- private xywh {640 85 200 35} align 5
- }
- Fl_Button {} {
- label Load
- callback {x_OnLoadFile();}
- xywh {850 95 60 25}
- }
- Fl_Button {} {
- label Close
- callback {x_QuitApp();}
- tooltip {Click to close the window} xywh {825 460 95 25}
- }
- Fl_Box {} {
- xywh {15 450 905 5} box THIN_DOWN_FRAME labeltype NO_LABEL
- }
- Fl_Button {} {
- label {17458490 (large)}
- callback {m_Accession->value("gi|17458490");
- x_OnLoadAccession();}
- xywh {640 305 160 25}
- }
- Fl_Button {} {
- label {29798863 (huge)}
- callback {m_Accession->value("gi|29798863");
- x_OnLoadAccession();}
- xywh {640 155 160 25}
- }
- Fl_Button {} {
- label {19568015 (small)}
- callback {m_Accession->value("gi|19568015");
- x_OnLoadAccession();}
- xywh {640 245 160 25}
- }
- Fl_Button {} {
- label 1322283
- callback {m_Accession->value("gi|1322283");
- x_OnLoadAccession();}
- xywh {640 275 160 25}
- }
- Fl_Button {} {
- label {NC_000022 (huge)}
- callback {m_Accession->value("gi|29824593");
- x_OnLoadAccession();}
- xywh {640 185 160 25}
- }
- Fl_Button {} {
- label {29732996 (so-so)}
- callback {m_Accession->value("gi|29732996");
- x_OnLoadAccession();}
- xywh {640 215 160 25}
- }
- Fl_Button {} {
- label {Zoom To Fit}
- callback {x_SetZoomX(0);}
- xywh {640 125 90 25}
- }
- Fl_Button {} {
- label {Zoom 100%}
- callback {x_SetZoomX( 1 );}
- xywh {820 125 90 25}
- }
- Fl_Button {} {
- label {Zoom 50%}
- callback {x_SetZoomX( 0.5 );}
- xywh {735 125 80 25}
- }
- Fl_Button {} {
- label {TRACES (with graph)}
- callback {m_Accession->value("gnl|TRACE_ASSM|12");
- x_OnLoadAccession();}
- xywh {640 335 160 25}
- }
- }
- }
- decl {void x_OnLoadFile();} {}
- decl {void x_OnLoadAccession();} {}
- decl {void x_FillLists();} {}
- decl {void x_QuitApp();} {}
- decl {void x_SetZoomX(float);} {}
- }