📄 about_dlg.cpp
字号:
/* * =========================================================================== * PRODUCTION $Log: about_dlg.cpp,v $ * PRODUCTION Revision 1000.2 2004/06/01 20:47:29 gouriano * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.8 * PRODUCTION * =========================================================================== *//* $Id: about_dlg.cpp,v 1000.2 2004/06/01 20:47:29 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: * User-modifiable implementation file for the extension of the About dialog */#include <ncbi_pch.hpp>#include "about_dlg.hpp"#include <gui/core/version.hpp>BEGIN_NCBI_SCOPE// We include the generated _.cpp file here. This avoids a nasty bug in some// versions of gcc in which inline functions are not intantiated.#include "about_dlg_.cpp"CAboutDlg::CAboutDlg(){ m_Window.reset(x_CreateWindow()); // m_VersionStr and m_BuildStr must either be static or member variables // (FLTK doesn't copy the contents, it just stores a pointer) m_VersionStr = "version "; m_VersionStr += NStr::IntToString(CPluginVersion::eMajor) + "."; m_VersionStr += NStr::IntToString(CPluginVersion::eMinor); m_Version->label(m_VersionStr.c_str()); m_BuildStr = "build "; m_BuildStr += __DATE__; m_BuildStr += " "; m_BuildStr += __TIME__; m_BuildDate->label(m_BuildStr.c_str());}END_NCBI_SCOPE/* * =========================================================================== * $Log: about_dlg.cpp,v $ * Revision 1000.2 2004/06/01 20:47:29 gouriano * PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.8 * * Revision 1.8 2004/05/21 22:27:42 gorelenk * Added PCH ncbi_pch.hpp * * Revision 1.7 2003/11/24 15:40:25 dicuccio * Renamed CVersion to CPluginVersion * * Revision 1.6 2003/09/29 15:32:43 dicuccio * Inherit dialog from CDialog * * Revision 1.5 2003/04/29 14:51:52 dicuccio * Reworked FLUID-generated code: more explicit control over constructor, better * memeory management * * Revision 1.4 2003/01/13 13:10:10 dicuccio * Namespace clean-up. Retired namespace gui -> converted all to namespace ncbi. * Moved all FLUID-generated code into namespace ncbi. * * Revision 1.3 2002/12/13 13:18:53 dicuccio * Added work-around for inlining problems in some versions of gcc: directly * include a FLUID-generated '*_.cpp' file in the corresponding '*.cpp' and * remove this file from the build. Thanks Aaron! * * Revision 1.2 2002/11/29 16:13:43 dicuccio * Use USING_SCOPE insteadl of BEGIN/END_SCOPE for out-of-scope classes. * * Revision 1.1 2002/11/06 18:23:43 dicuccio * Initial revision * * =========================================================================== */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -