Skip to content
Snippets Groups Projects
Select Git revision
  • e361f41cffbe9eabaffb8dcf0158aa86cff79b8d
  • master default protected
  • alphashapes
  • quadMeshingTools
  • cygwin_conv_path
  • macos_arm64
  • add-transfiniteautomatic-to-geo
  • patch_releases_4_10
  • HierarchicalHDiv
  • isuruf-master-patch-63355
  • hyperbolic
  • hexdom
  • hxt_update
  • jf
  • 1618-pythonocc-and-gmsh-api-integration
  • octreeSizeField
  • hexbl
  • alignIrregularVertices
  • getEdges
  • patch_releases_4_8
  • isuruf-master-patch-51992
  • gmsh_4_11_0
  • gmsh_4_10_5
  • gmsh_4_10_4
  • gmsh_4_10_3
  • gmsh_4_10_2
  • gmsh_4_10_1
  • gmsh_4_10_0
  • gmsh_4_9_5
  • gmsh_4_9_4
  • gmsh_4_9_3
  • gmsh_4_9_2
  • gmsh_4_9_1
  • gmsh_4_9_0
  • gmsh_4_8_4
  • gmsh_4_8_3
  • gmsh_4_8_2
  • gmsh_4_8_1
  • gmsh_4_8_0
  • gmsh_4_7_1
  • gmsh_4_7_0
41 results

delaunay_refinement.cpp

Blame
  • Forked from gmsh / gmsh
    Source project has a limited visibility.
    treeIcons.h 2.30 KiB
    // Gmsh - Copyright (C) 1997-2019 C. Geuzaine, J.-F. Remacle
    //
    // See the LICENSE.txt file for license information. Please report all
    // issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
    
    #ifndef TREE_ICONS_H
    #define TREE_ICONS_H
    
    #include <FL/Fl_Pixmap.H>
    
    #define TREE_ICON_RIGHT(col)                                                   \
      "11 11 2 1", ". c None", col, "...@.......", "...@@......", "...@@@.....",   \
        "...@@@@....", "...@@@@@...", "...@@@@@@..", "...@@@@@...", "...@@@@....", \
        "...@@@.....", "...@@......", "...@......."
    
    #define TREE_ICON_DOWN(col)                                                    \
      "11 11 2 1", ".  c None", col, "...........", "...........", "...........",  \
        "@@@@@@@@@@@", ".@@@@@@@@@.", "..@@@@@@@..", "...@@@@@...", "....@@@....", \
        ".....@.....", "...........", "..........."
    
    #define TREE_ICON_PLUS(col)                                                    \
      "11 11 3 1", col, "# c #323232", "@ c #000000", "###########",               \
        "#.........#", "#.........#", "#....@....#", "#....@....#", "#..@@@@@..#", \
        "#....@....#", "#....@....#", "#.........#", "#.........#", "###########"
    
    #define TREE_ICON_MINUS(col)                                                   \
      "11 11 3 1", col, "#	c #323232", "@	c #000000", "###########",         \
        "#.........#", "#.........#", "#.........#", "#.........#", "#..@@@@@..#", \
        "#.........#", "#.........#", "#.........#", "#.........#", "###########"
    
    #if defined(__APPLE__)
    static const char *const open_xpm_light[] = {TREE_ICON_RIGHT("@ c #444444")};
    static const char *const close_xpm_light[] = {TREE_ICON_DOWN("@ c #444444")};
    static const char *const open_xpm_dark[] = {TREE_ICON_RIGHT("@ c #222222")};
    static const char *const close_xpm_dark[] = {TREE_ICON_DOWN("@ c #222222")};
    #else
    static const char *const open_xpm_light[] = {TREE_ICON_PLUS(". c #fefefe")};
    static const char *const close_xpm_light[] = {TREE_ICON_MINUS(". c #fefefe")};
    static const char *const open_xpm_dark[] = {TREE_ICON_PLUS(". c #bbbbbb")};
    static const char *const close_xpm_dark[] = {TREE_ICON_MINUS(". c #bbbbbb")};
    #endif
    
    static Fl_Pixmap open_pixmap_light(open_xpm_light);
    static Fl_Pixmap close_pixmap_light(close_xpm_light);
    static Fl_Pixmap open_pixmap_dark(open_xpm_dark);
    static Fl_Pixmap close_pixmap_dark(close_xpm_dark);
    
    #endif