Flu_Separator.h
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
- /*
- * ===========================================================================
- * PRODUCTION $Log: Flu_Separator.h,v $
- * PRODUCTION Revision 1000.0 2004/04/12 18:22:09 gouriano
- * PRODUCTION PRODUCTION: IMPORTED [CATCHUP_003] Dev-tree R1.1
- * PRODUCTION
- * ===========================================================================
- */
- /*
- * These files were imported into NCBI's CVS directly from FLU version 2.9.1.
- * Modifications to the source are listed below.
- *
- * ==========================================================================
- * $Log: Flu_Separator.h,v $
- * Revision 1000.0 2004/04/12 18:22:09 gouriano
- * PRODUCTION: IMPORTED [CATCHUP_003] Dev-tree R1.1
- *
- * Revision 1.1 2004/03/11 13:51:55 dicuccio
- * Imported FLU version 2.9.1. Altered export specifiers to match NCBI layout.
- * Altered include paths to match NCBI toolkit layout.
- *
- * ==========================================================================
- */
- // $Id: Flu_Separator.h,v 1000.0 2004/04/12 18:22:09 gouriano Exp $
- /***************************************************************
- * FLU - FLTK Utility Widgets
- * Copyright (C) 2002 Ohio Supercomputer Center, Ohio State University
- *
- * This file and its content is protected by a software license.
- * You should have received a copy of this license with this file.
- * If not, please contact the Ohio Supercomputer Center immediately:
- * Attn: Jason Bryan Re: FLU 1224 Kinnear Rd, Columbus, Ohio 43212
- *
- ***************************************************************/
- #ifndef _FLU_SEPARATOR_H
- #define _FLU_SEPARATOR_H
- /* fltk includes */
- #include <FL/Fl.H>
- #include <FL/Fl_Widget.H>
- #include <FL/fl_draw.H>
- #include <gui/widgets/FLU/Flu_Enumerations.h>
- //! A simple class that draws a separator line using the current box type
- class NCBI_GUIWIDGETS_FLU_EXPORT Flu_Separator : public Fl_Widget
- {
- public:
- enum {
- HORIZONTAL,
- VERTICAL
- };
- //! Normal FLTK constructor. Default type() is b HORIZONTAL
- Flu_Separator( int X, int Y, int W, int H, const char *l = 0 );
- //! Get the type
- inline int type() const
- { return _type; }
- //! Set the type
- inline void type( int t )
- { _type = t; }
- protected:
- int _type;
- void draw();
- };
- #endif