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

*** empty log message ***

parent f539ba3b
No related branches found
No related tags found
No related merge requests found
......@@ -656,11 +656,6 @@ void GUI::callForSolverPlugin(int dim)
// Callbacks
void hide_cb(Fl_Widget *w, void *data)
{
if(data) ((Fl_Window*)data)->hide();
}
void redraw_cb(Fl_Widget *w, void *data)
{
Draw();
......
......@@ -107,7 +107,6 @@ class GUI{
void callForSolverPlugin(int dim);
};
void hide_cb(Fl_Widget *w, void *data);
void redraw_cb(Fl_Widget *w, void *data);
void window_cb(Fl_Widget *w, void *data);
......
......@@ -32,6 +32,11 @@ static void help_credits_cb(Fl_Widget *w, void *data)
SystemCall(cmd);
}
static void help_hide_cb(Fl_Widget *w, void *data)
{
((Fl_Window*)data)->hide();
}
aboutWindow::aboutWindow()
{
char buffer[1024];
......@@ -82,7 +87,7 @@ aboutWindow::aboutWindow()
o->add(" ");
o->add("@c@.Visit http://www.geuz.org/gmsh/ for more information");
o->add(" ");
o->callback(hide_cb, (void *)win);
o->callback(help_hide_cb, (void*)win);
}
{
......
......@@ -2401,7 +2401,7 @@ contextItem menu_mesh[] = {
#if defined(HAVE_FOURIER_MODEL)
{"Reparameterize", (Fl_Callback *)mesh_parameterize_cb} ,
#endif
{"Reclassify", (Fl_Callback *)mesh_classify_cb} ,
// {"Reclassify", (Fl_Callback *)mesh_classify_cb} ,
{"Save", (Fl_Callback *)mesh_save_cb} ,
{0}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment