FLTKDialog.cxx 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*=========================================================================
  2. Program: Insight Segmentation & Registration Toolkit
  3. Module: $RCSfile$
  4. Language: C++
  5. Date: $Date$
  6. Version: $Revision$
  7. Copyright (c) 2002 Insight Consortium. All rights reserved.
  8. See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
  9. This software is distributed WITHOUT ANY WARRANTY; without even
  10. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  11. PURPOSE. See the above copyright notices for more information.
  12. =========================================================================*/
  13. #include "CMakeSetupGUIImplementation.h"
  14. #include "FL/Fl.H"
  15. #include "FL/fl_ask.H"
  16. int main(int argc, char * argv[] )
  17. {
  18. fl_message_font(FL_HELVETICA,11);
  19. CMakeSetupGUIImplementation * gui
  20. = new CMakeSetupGUIImplementation;
  21. gui->SetPathToExecutable( argv[0] );
  22. gui->Show();
  23. gui->LoadRecentDirectories();
  24. gui->LoadCacheFromDiskToGUI();
  25. Fl::run();
  26. delete gui;
  27. return 0;
  28. }