src/gui/widgets/gl/demo/tt_demo_ui.cpp

Go to the documentation of this file.
00001 /*  $Id: tt_demo_ui.cpp 14858 2007-08-25 16:22:34Z dicuccio $
00002  * ===========================================================================
00003  *
00004  *                            PUBLIC DOMAIN NOTICE
00005  *               National Center for Biotechnology Information
00006  *
00007  *  This software / database is a "United States Government Work" under the
00008  *  terms of the United States Copyright Act.  It was written as part of
00009  *  the author's official duties as a United States Government employee and
00010  *  thus cannot be copyrighted.  This software / database is freely available
00011  *  to the public for use. The National Library of Medicine and the U.S.
00012  *  Government have not placed any restriction on its use or reproduction.
00013  *
00014  *  Although all reasonable efforts have been taken to ensure the accuracy
00015  *  and reliability of the software and data, the NLM and the U.S.
00016  *  Government do not and cannot warrant the performance or results that
00017  *  may be obtained by using this software or data. The NLM and the U.S.
00018  *  Government disclaim all warranties, express or implied, including
00019  *  warranties of performance, merchantability or fitness for any particular
00020  *  purpose.
00021  *
00022  *  Please cite the author in any work or product based on this material.
00023  *
00024  * ===========================================================================
00025  *
00026  * Authors:  Mike DiCuccio
00027  *
00028  * File Description:
00029  *
00030  */
00031 
00032 
00033 #include <ncbi_pch.hpp>
00034 #include "tt_demo_ui.hpp"
00035 
00036 BEGIN_NCBI_SCOPE
00037 
00038 #include "tt_demo_ui_.cpp"
00039 
00040 
00041 CToolTipUI::CToolTipUI()
00042 {
00043     m_Window.reset(x_CreateWindow());
00044 }
00045 
00046 
00047 int CToolTipUI::Show(int argc, char** argv)
00048 {
00049     m_Window->show(argc, argv);
00050     while (m_Window->shown()) {
00051         Fl::wait();
00052     }
00053 
00054     return 0;
00055 }
00056 
00057 
00058 END_NCBI_SCOPE
00059 
00060 

Generated on Sun Mar 15 19:32:47 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Mar 16 12:50:13 2009 by modify_doxy.py rev. 117643