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

📄 flu_helpers.h

📁 ncbi源码
💻 H
字号:
/* * =========================================================================== * PRODUCTION $Log: Flu_Helpers.h,v $ * PRODUCTION Revision 1000.0  2004/04/12 18:21:44  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_Helpers.h,v $ * Revision 1000.0  2004/04/12 18:21:44  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_Helpers.h,v 1000.0 2004/04/12 18:21:44 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_HELPERS_H#define _FLU_HELPERS_H#include <FL/Fl.H>#include <FL/Fl_Window.H>#include <FL/Fl_Menu_.H>#include <FL/Fl_Menu_Item.H>#include <gui/widgets/FLU/Flu_Enumerations.h>/* Return the index of the full menu entry 'fullname' in the menu 'menu', or   -1 if 'fullname' does not exist in 'menu'.*/NCBI_GUIWIDGETS_FLU_EXPORT int fl_Full_Find_In_Menu( const Fl_Menu_* menu, const char* fullname );inline int fl_Full_Find_In_Menu( const Fl_Menu_& menu, const char* fullname ){ return fl_Full_Find_In_Menu( &menu, fullname ); }/* Return the index of the menu entry 'name' in the menu 'menu', or   -1 if 'name' does not exist in 'menu'.*/NCBI_GUIWIDGETS_FLU_EXPORT int fl_Find_In_Menu( const Fl_Menu_* menu, const char* name );inline int fl_Find_In_Menu( const Fl_Menu_& menu, const char* name ){ return fl_Find_In_Menu( &menu, name ); }/* Convenience callback for an Fl_Widget to show an Fl_Window. "arg" MUST be a descendent of Fl_Window */inline static void fl_Show_Window_Callback( Fl_Widget* w, void* arg ){ ((Fl_Window*)arg)->show(); }/* Convenience callback for an Fl_Widget to hide an Fl_Window. "arg" MUST be a descendent of Fl_Window */inline static void fl_Hide_Window_Callback( Fl_Widget* w, void* arg ){ ((Fl_Window*)arg)->hide(); }/* Convenience callback for an Fl_Widget to hide an Fl_Window. "arg" MUST be a descendent of Fl_Window.   Before the window is hidden, its user_data() field is set to the widget that invoked the callback.   The user_data() can then be used to determine which widget closed the window.*/inline static void fl_Hide_Window_And_Set_User_Data_Callback( Fl_Widget* w, void* arg ){ ((Fl_Window*)arg)->user_data( w ); ((Fl_Window*)arg)->hide(); }#endif

⌨️ 快捷键说明

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