Skip to content
Snippets Groups Projects
Commit a54d1007 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

GmshSetOption now also changes the gui

parent f60cc834
Branches
Tags
No related merge requests found
......@@ -89,17 +89,17 @@ int GmshSetBoundingBox(double xmin, double xmax,
int GmshSetOption(std::string category, std::string name, std::string value, int index)
{
return StringOption(GMSH_SET, category.c_str(), index, name.c_str(), value);
return StringOption(GMSH_SET|GMSH_GUI, category.c_str(), index, name.c_str(), value);
}
int GmshSetOption(std::string category, std::string name, double value, int index)
{
return NumberOption(GMSH_SET, category.c_str(), index, name.c_str(), value);
return NumberOption(GMSH_SET|GMSH_GUI, category.c_str(), index, name.c_str(), value);
}
int GmshSetOption(std::string category, std::string name, unsigned int value, int index)
{
return ColorOption(GMSH_SET, category.c_str(), index, name.c_str(), value);
return ColorOption(GMSH_SET|GMSH_GUI, category.c_str(), index, name.c_str(), value);
}
int GmshGetOption(std::string category, std::string name, std::string &value, int index)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment