2002-01-21 23:39:30 +03:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
Program: Insight Segmentation & Registration Toolkit
|
|
|
|
Module: $RCSfile$
|
|
|
|
Language: C++
|
|
|
|
Date: $Date$
|
|
|
|
Version: $Revision$
|
|
|
|
|
|
|
|
Copyright (c) 2002 Insight Consortium. All rights reserved.
|
|
|
|
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
|
|
|
|
|
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
PURPOSE. See the above copyright notices for more information.
|
|
|
|
|
|
|
|
=========================================================================*/
|
2001-06-11 02:21:55 +04:00
|
|
|
|
|
|
|
#include "CMakeSetupGUIImplementation.h"
|
|
|
|
#include "FL/Fl.h"
|
|
|
|
#include "FL/fl_ask.H"
|
|
|
|
|
2001-06-15 15:51:55 +04:00
|
|
|
int main(int argc, char * argv[] )
|
2001-06-11 02:21:55 +04:00
|
|
|
{
|
|
|
|
|
|
|
|
fl_message_font(FL_HELVETICA,11);
|
|
|
|
|
|
|
|
CMakeSetupGUIImplementation * gui
|
|
|
|
= new CMakeSetupGUIImplementation;
|
|
|
|
|
2001-06-15 15:51:55 +04:00
|
|
|
gui->SetPathToExecutable( argv[0] );
|
2001-06-11 02:21:55 +04:00
|
|
|
gui->Show();
|
2001-07-19 22:31:24 +04:00
|
|
|
gui->LoadRecentDirectories();
|
2001-06-11 02:21:55 +04:00
|
|
|
gui->LoadCacheFromDiskToGUI();
|
|
|
|
|
|
|
|
Fl::run();
|
|
|
|
|
|
|
|
delete gui;
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
}
|