Skip to content
Snippets Groups Projects
Select Git revision
  • 9218079f8cf4460cb52a0207fb11539f1a96f236
  • master default
  • cgnsUnstructured
  • partitioning
  • poppler
  • HighOrderBLCurving
  • gmsh_3_0_4
  • gmsh_3_0_3
  • gmsh_3_0_2
  • gmsh_3_0_1
  • gmsh_3_0_0
  • gmsh_2_16_0
  • gmsh_2_15_0
  • gmsh_2_14_1
  • gmsh_2_14_0
  • gmsh_2_13_2
  • gmsh_2_13_1
  • gmsh_2_12_0
  • gmsh_2_11_0
  • gmsh_2_10_1
  • gmsh_2_10_0
  • gmsh_2_9_3
  • gmsh_2_9_2
  • gmsh_2_9_1
  • gmsh_2_9_0
  • gmsh_2_8_6
26 results

ACISFace.cpp

Blame
  • Forked from gmsh / gmsh
    Source project has a limited visibility.
    graphicWindow.cpp 112.37 KiB
    // Gmsh - Copyright (C) 1997-2013 C. Geuzaine, J.-F. Remacle
    //
    // See the LICENSE.txt file for license information. Please report all
    // bugs and problems to the public mailing list <gmsh@geuz.org>.
    
    #include "GmshConfig.h"
    #include "GmshDefines.h"
    #if !defined(HAVE_NO_STDINT_H)
    #include <stdint.h>
    #elif defined(HAVE_NO_INTPTR_T)
    typedef unsigned long intptr_t;
    #endif
    #include <string.h>
    #include <stdlib.h>
    #include <stdio.h>
    #include <time.h>
    #include <FL/Fl_Box.H>
    #include <FL/fl_ask.H>
    #include <FL/filename.H>
    #include <FL/Fl_Tree.H>
    #include "FlGui.h"
    #include "mainWindow.h"
    #include "paletteWindow.h"
    #include "graphicWindow.h"
    #include "optionWindow.h"
    #include "gamepadWindow.h"
    #include "statisticsWindow.h"
    #include "contextWindow.h"
    #include "visibilityWindow.h"
    #include "highOrderToolsWindow.h"
    #include "clippingWindow.h"
    #include "manipWindow.h"
    #include "fieldWindow.h"
    #include "pluginWindow.h"
    #include "helpWindow.h"
    #include "onelabGroup.h"
    #include "gmshLocalNetworkClient.h"
    #include "fileDialogs.h"
    #include "extraDialogs.h"
    #include "partitionDialog.h"
    #include "projectionEditor.h"
    #include "classificationEditor.h"
    #include "GModel.h"
    #include "PView.h"
    #include "PViewData.h"
    #include "PViewOptions.h"
    #include "OpenFile.h"
    #include "CreateFile.h"
    #include "findLinks.h"
    #include "GeoStringInterface.h"
    #include "CommandLine.h"
    #include "Options.h"
    #include "Context.h"
    #include "StringUtils.h"
    #include "Generator.h"
    #include "HighOrder.h"
    #include "OS.h"
    #if defined(HAVE_3M)
    #include "3M.h"
    #endif
    
    static void file_new_cb(Fl_Widget *w, void *data)
    {
     test:
      if(fileChooser(FILE_CHOOSER_CREATE, "New", "",
                     GModel::current()->getFileName().c_str())) {
        std::string name = fileChooserGetName(1);
        if(!StatFile(name)){
          if(fl_choice("File '%s' already exists.\n\nDo you want to erase it?",
                       "Cancel", "Erase", 0, name.c_str()))