summaryrefslogtreecommitdiffstats
path: root/Source/FLTKDialog/FLTKDialog.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-09-23 21:47:46 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-09-23 21:47:46 (GMT)
commit46521aef8cf2523990dfbf90dbdf435a94f8e5c4 (patch)
tree7da33dc6434184423e86b635357cfda4632e5d38 /Source/FLTKDialog/FLTKDialog.cxx
parentf7d926d072a6582237282ef9a3302c8a1e8e94b1 (diff)
downloadCMake-46521aef8cf2523990dfbf90dbdf435a94f8e5c4.zip
CMake-46521aef8cf2523990dfbf90dbdf435a94f8e5c4.tar.gz
CMake-46521aef8cf2523990dfbf90dbdf435a94f8e5c4.tar.bz2
ENH: try to find a gui for the Mac
Diffstat (limited to 'Source/FLTKDialog/FLTKDialog.cxx')
-rw-r--r--Source/FLTKDialog/FLTKDialog.cxx41
1 files changed, 41 insertions, 0 deletions
diff --git a/Source/FLTKDialog/FLTKDialog.cxx b/Source/FLTKDialog/FLTKDialog.cxx
new file mode 100644
index 0000000..dedb2e4
--- /dev/null
+++ b/Source/FLTKDialog/FLTKDialog.cxx
@@ -0,0 +1,41 @@
+/*=========================================================================
+
+ 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.
+
+=========================================================================*/
+
+#include "CMakeSetupGUIImplementation.h"
+#include "FL/Fl.H"
+#include "FL/fl_ask.H"
+
+int main(int argc, char * argv[] )
+{
+
+ fl_message_font(FL_HELVETICA,11);
+
+ CMakeSetupGUIImplementation * gui
+ = new CMakeSetupGUIImplementation;
+
+ gui->SetPathToExecutable( argv[0] );
+ gui->Show();
+ gui->LoadRecentDirectories();
+ gui->LoadCacheFromDiskToGUI();
+
+ Fl::run();
+
+ delete gui;
+
+ return 0;
+
+}