From ebe6aa70f3d0f314ba94aa4109ffe59bdd37b554 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sat, 4 Nov 2006 15:21:32 +0000 Subject: [PATCH] polish gui for navy demonstrator --- Fltk/Callbacks.cpp | 26 +++++++++++++------------- Fltk/GUI.cpp | 4 ++-- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Fltk/Callbacks.cpp b/Fltk/Callbacks.cpp index cfd040d0b6..5f7eecdb5e 100644 --- a/Fltk/Callbacks.cpp +++ b/Fltk/Callbacks.cpp @@ -1,4 +1,4 @@ -// $Id: Callbacks.cpp,v 1.470 2006-11-04 15:12:50 geuzaine Exp $ +// $Id: Callbacks.cpp,v 1.471 2006-11-04 15:21:32 geuzaine Exp $ // // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // @@ -3611,7 +3611,17 @@ void mesh_delete_parts_cb(CALLBACK_ARGS) void mesh_parameterize_cb(CALLBACK_ARGS) { - printf("LAUNCH REPARAMETERIZATION WINDOW!\n"); + Msg(GERROR, "Reparameterize not implemented yet"); +} + +void mesh_update_edges_cb(CALLBACK_ARGS) +{ + Msg(GERROR, "Update edges not implemented yet"); +} + +void mesh_remesh_cb(CALLBACK_ARGS) +{ + Msg(GERROR, "Remesh not implemented yet"); } void mesh_inspect_cb(CALLBACK_ARGS) @@ -3640,7 +3650,7 @@ void mesh_inspect_cb(CALLBACK_ARGS) Msg(DIRECT, " Dimension: %d", elements[0]->getDim()); Msg(DIRECT, " Order: %d", elements[0]->getPolynomialOrder()); Msg(DIRECT, " Partition: %d", elements[0]->getPartition()); - char tmp1[256], tmp2[256]; + char tmp1[32], tmp2[512]; sprintf(tmp2, " Vertices:"); for(int i = 0; i < elements[0]->getNumVertices(); i++){ sprintf(tmp1, " %d", elements[0]->getVertex(i)->getNum()); @@ -3694,16 +3704,6 @@ void mesh_optimize_cb(CALLBACK_ARGS) Msg(STATUS2N, " "); } -void mesh_remesh_cb(CALLBACK_ARGS) -{ - Msg(GERROR, "Surface ReMeshing must be reinterfaced"); -} - -void mesh_update_edges_cb(CALLBACK_ARGS) -{ - Msg(GERROR, "BDS->classify() must be reinterfaced"); -} - void mesh_define_length_cb(CALLBACK_ARGS) { _action_point_line_surface_volume(8, 0, "Point"); diff --git a/Fltk/GUI.cpp b/Fltk/GUI.cpp index f299f5a7e4..17f7ff5f08 100644 --- a/Fltk/GUI.cpp +++ b/Fltk/GUI.cpp @@ -1,4 +1,4 @@ -// $Id: GUI.cpp,v 1.558 2006-11-04 14:14:12 geuzaine Exp $ +// $Id: GUI.cpp,v 1.559 2006-11-04 15:21:32 geuzaine Exp $ // // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // @@ -338,8 +338,8 @@ Context_Item menu_mesh[] = { Context_Item menu_mesh_edit[] = { {"1Mesh>Edit", NULL} , {"Delete", (Fl_Callback *)mesh_delete_cb} , - {"Parameterize", (Fl_Callback *)mesh_parameterize_cb} , //{"Update edges", (Fl_Callback *)mesh_update_edges_cb} , + //{"Reparameterize", (Fl_Callback *)mesh_parameterize_cb} , //{"Remesh", (Fl_Callback *)mesh_remesh_cb} , {0} }; -- GitLab