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

better "zoom"

parent fd1a024c
Branches
Tags
No related merge requests found
...@@ -772,7 +772,7 @@ void window_cb(Fl_Widget *w, void *data) ...@@ -772,7 +772,7 @@ void window_cb(Fl_Widget *w, void *data)
#ifndef FS #ifndef FS
FlGui::instance()->graph[0]->getWindow()->resize(Fl::x(), Fl::y(), Fl::w(), Fl::h()); FlGui::instance()->graph[0]->getWindow()->resize(Fl::x(), Fl::y(), Fl::w(), Fl::h());
FlGui::instance()->graph[0]->hideMessages(); FlGui::instance()->graph[0]->hideMessages();
FlGui::check(); FlGui::instance()->graph[0]->getWindow()->redraw();
#else #else
FlGui::instance()->graph[0]->getWindow()->fullscreen(); FlGui::instance()->graph[0]->getWindow()->fullscreen();
#endif #endif
...@@ -781,6 +781,7 @@ void window_cb(Fl_Widget *w, void *data) ...@@ -781,6 +781,7 @@ void window_cb(Fl_Widget *w, void *data)
else{ else{
#ifndef FS #ifndef FS
FlGui::instance()->graph[0]->getWindow()->resize(oldx, oldy, oldw, oldh); FlGui::instance()->graph[0]->getWindow()->resize(oldx, oldy, oldw, oldh);
FlGui::instance()->graph[0]->getWindow()->redraw();
#else #else
FlGui::instance()->graph[0]->getWindow()->fullscreen_off(); FlGui::instance()->graph[0]->getWindow()->fullscreen_off();
#endif #endif
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment