⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 flu_label.h

📁 ncbi源码
💻 H
字号:
/* * =========================================================================== * PRODUCTION $Log: Flu_Label.h,v $ * PRODUCTION Revision 1000.0  2004/04/12 18:21:49  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_Label.h,v $ * Revision 1000.0  2004/04/12 18:21:49  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_Label.h,v 1000.0 2004/04/12 18:21:49 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_LABEL_H#define _FLU_LABEL_H#include <stdlib.h>#include <string.h>#include <FL/Fl_Box.H>#include <gui/widgets/FLU/Flu_Enumerations.h>//! This class just provides an easier interface to making labels in FLTK/*! All this class does is copy the label string to internal storage   since FLTK needs non-transient memory for labels. */class NCBI_GUIWIDGETS_FLU_EXPORT Flu_Label : public Fl_Box{ public:  //! Normal FLTK widget constructor  Flu_Label( int x, int y, int w, int h, const char* l = 0 );  //! Default destructor  virtual ~Flu_Label();  //! Alias for label()  inline void value( const char* l )    { label(l); }  //! \return the label  inline const char* value() const    { return _label; }  //! Set the label to \b l  void label( const char* l );  //! \return the label  inline const char* label() const    { return _label; } protected:  char* _label;  //bool _truncate;};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -