From b7805d3d156a4d366a197d261f66908b85e24571 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sun, 5 Dec 2010 11:04:15 +0000 Subject: [PATCH] cleanup --- Fltk/FlGui.cpp | 6 ++++++ Graphics/Camera.cpp | 9 --------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/Fltk/FlGui.cpp b/Fltk/FlGui.cpp index 7fc4630808..ae562182d6 100644 --- a/Fltk/FlGui.cpp +++ b/Fltk/FlGui.cpp @@ -41,6 +41,7 @@ #include "CommandLine.h" #include "Context.h" #include "StringUtils.h" +#include "Generator.h" #include "gl2ps.h" class drawContextFltk : public drawContextGlobal{ @@ -330,6 +331,11 @@ int FlGui::testGlobalShortcuts(int event) mod_mesh_cb(0, 0); status = 1; } + // FIXME TEST + else if(Fl::test_shortcut('4') || Fl::test_shortcut(FL_F + 4)) { + RecombineMesh(GModel::current()); + status = 2; + } else if(Fl::test_shortcut(FL_CTRL + 'q') || Fl::test_shortcut(FL_META + 'q')){ // only necessary when using the system menu bar, but hey, it // cannot hurt... diff --git a/Graphics/Camera.cpp b/Graphics/Camera.cpp index 38463dce72..8458d915e1 100644 --- a/Graphics/Camera.cpp +++ b/Graphics/Camera.cpp @@ -10,15 +10,6 @@ #include "Context.h" #include "drawContext.h" -#if defined(HAVE_FLTK) -#include <FL/Fl_JPEG_Image.H> -#include <FL/Fl_PNG_Image.H> -#endif - -using namespace std; - - - Camera::~Camera(){}; void Camera::init(){ -- GitLab