📄 child.hpp
字号:
/* * =========================================================================== * PRODUCTION $Log: child.hpp,v $ * PRODUCTION Revision 1000.1 2004/06/01 19:53:36 gouriano * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.7 * PRODUCTION * =========================================================================== */#ifndef GUI_WIDGETS_TOPLEVEL___CHILD__HPP#define GUI_WIDGETS_TOPLEVEL___CHILD__HPP/* $Id: child.hpp,v 1000.1 2004/06/01 19:53:36 gouriano Exp $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" under the * terms of the United States Copyright Act. It was written as part of * the author's official duties as a United States Government employee and * thus cannot be copyrighted. This software/database is freely available * to the public for use. The National Library of Medicine and the U.S. * Government have not placed any restriction on its use or reproduction. * * Although all reasonable efforts have been taken to ensure the accuracy * and reliability of the software and data, the NLM and the U.S. * Government do not and cannot warrant the performance or results that * may be obtained by using this software or data. The NLM and the U.S. * Government disclaim all warranties, express or implied, including * warranties of performance, merchantability or fitness for any particular * purpose. * * Please cite the author in any work or product based on this material. * * =========================================================================== * * Authors: Mike DiCuccio * * File Description: * CChild -- base class for all MDI child widgets */#include <corelib/ncbistd.hpp>#include <gui/gui.hpp>#include <FL/Fl_Double_Window.H>BEGIN_NCBI_SCOPEclass CChildFrame;//// CChild is the general base class for child widgets in the top-level widget// scheme//class NCBI_GUIWIDGETS_TOPLEVEL_EXPORT CChild : public Fl_Double_Window{ friend class CTopLevel; friend class CChildFrame;public: // ctors/dtor CChild(int x, int y, int wid, int ht, const char* label = 0); ~CChild(); // FLTK overrides void label(const char* text); const char* label(void) const;private: // pointer to the frame widget that owns usp - we need this to properly set // our labels CChildFrame* m_Frame; // protected function to set the frame widget void x_SetFrame(CChildFrame* frame);};END_NCBI_SCOPE/* * =========================================================================== * $Log: child.hpp,v $ * Revision 1000.1 2004/06/01 19:53:36 gouriano * PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.7 * * Revision 1.7 2004/05/03 12:47:08 dicuccio * Added #include for gui/gui.hpp. gui/utils ->gui/objutils where needed. * * Revision 1.6 2003/09/29 15:20:09 dicuccio * Deprecated gui/scope.hpp. Merged gui/core/types.hpp into gui/types.hpp * * Revision 1.5 2003/09/24 18:22:19 dicuccio * Changed base class to Fl_Double_Window * * Revision 1.4 2003/09/16 14:37:15 dicuccio * Cleaned up and clarified export specifiers - added a new specifier for each * library * * Revision 1.3 2003/03/17 15:53:29 dicuccio * Added Win32 export specifier * * Revision 1.2 2003/03/17 14:59:22 dicuccio * Lots of clean-ups. Added more explicit destruction pathway to support * integration into Genome Workbench. * * Revision 1.1 2003/03/07 17:50:59 dicuccio * Initial revision * * =========================================================================== */#endif // GUI_WIDGETS_TOPLEVEL___CHILD__HPP
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -