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

*** empty log message ***

parent 4b61db25
No related branches found
No related tags found
No related merge requests found
// $Id: Callbacks.cpp,v 1.11 2001-01-10 20:14:34 geuzaine Exp $ // $Id: Callbacks.cpp,v 1.12 2001-01-10 21:28:18 geuzaine Exp $
#include "Gmsh.h" #include "Gmsh.h"
#include "GmshUI.h" #include "GmshUI.h"
...@@ -1026,6 +1026,8 @@ void view_options_timestep_cb(CALLBACK_ARGS){ ...@@ -1026,6 +1026,8 @@ void view_options_timestep_cb(CALLBACK_ARGS){
STARTVIEWMOD STARTVIEWMOD
v->TimeStep = (int)((Fl_Value_Input*)w)->value() ; v->TimeStep = (int)((Fl_Value_Input*)w)->value() ;
ENDVIEWMOD ENDVIEWMOD
Init();
Draw();
} }
void view_options_vector_line_cb(CALLBACK_ARGS){ void view_options_vector_line_cb(CALLBACK_ARGS){
STARTVIEWMOD STARTVIEWMOD
......
// $Id: Opengl_Window.cpp,v 1.4 2001-01-10 20:23:36 geuzaine Exp $ // $Id: Opengl_Window.cpp,v 1.5 2001-01-10 21:28:18 geuzaine Exp $
#include "Gmsh.h" #include "Gmsh.h"
#include "GmshUI.h" #include "GmshUI.h"
...@@ -317,6 +317,13 @@ int Opengl_Window::handle(int event) { ...@@ -317,6 +317,13 @@ int Opengl_Window::handle(int event) {
Process_SelectionBuffer(Fl::event_x(), Fl::event_y(), &hits, ii, jj); Process_SelectionBuffer(Fl::event_x(), Fl::event_y(), &hits, ii, jj);
ov = v; oc = c; os = s; v = NULL; c = NULL; s = NULL; ov = v; oc = c; os = s; v = NULL; c = NULL; s = NULL;
Filter_SelectionBuffer(hits,ii,jj,&v,&c,&s,&M); Filter_SelectionBuffer(hits,ii,jj,&v,&c,&s,&M);
BeginHighlight();
HighlightEntity(v,c,s,0);
EndHighlight(0);
#if 0 #if 0
// l'overlay ne marche pas, meme dans les demos de fltk! // l'overlay ne marche pas, meme dans les demos de fltk!
// soumettre un bug ? // soumettre un bug ?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment