Flu_Link_Button.h
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
- /*
- * ===========================================================================
- * PRODUCTION $Log: Flu_Link_Button.h,v $
- * PRODUCTION Revision 1000.0 2004/04/12 18:21:54 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_Link_Button.h,v $
- * Revision 1000.0 2004/04/12 18:21:54 gouriano
- * PRODUCTION: IMPORTED [CATCHUP_003] Dev-tree R1.1
- *
- * Revision 1.1 2004/03/11 13:51:54 dicuccio
- * Imported FLU version 2.9.1. Altered export specifiers to match NCBI layout.
- * Altered include paths to match NCBI toolkit layout.
- *
- * ==========================================================================
- */
- // $Id: Flu_Link_Button.h,v 1000.0 2004/04/12 18:21:54 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_LINK_BUTTON_H
- #define _FLU_LINK_BUTTON_H
- #include <gui/widgets/FLU/Flu_Button.h>
- //! This class extends Flu_Button to make a button that looks like a hyperlink
- class NCBI_GUIWIDGETS_FLU_EXPORT Flu_Link_Button : public Flu_Button
- {
- public:
- //! Normal FLTK widget constructor
- Flu_Link_Button( int X,int Y,int W,int H,const char *l = 0 );
- //! Default destructor
- ~Flu_Link_Button();
- //! Set whether the link underline appears only when the mouse is over the button. Default is c false
- inline void overlink( bool b )
- { overLink = b; }
- //! Get whether the link underline appears only when the mouse is over the button
- inline bool overlink() const
- { return overLink; }
- };
- #endif