From 110d9e0673224be5d9bfb32189a9e0fad9420ecf Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sun, 30 Aug 2009 15:20:29 +0000 Subject: [PATCH] *** empty log message *** --- Common/CreateFile.cpp | 1 - Common/OpenFile.cpp | 1 - Common/Options.cpp | 1 - utils/api_demos/mainAntTweakBar.cpp | 3 ++- utils/api_demos/mainGlut.cpp | 3 ++- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Common/CreateFile.cpp b/Common/CreateFile.cpp index d4b9673c8c..fce23b8271 100644 --- a/Common/CreateFile.cpp +++ b/Common/CreateFile.cpp @@ -14,7 +14,6 @@ #if defined(HAVE_FLTK) #include <FL/gl.h> #include "FlGui.h" -#include "drawContext.h" #include "graphicWindow.h" #include "gl2ps.h" #include "gl2gif.h" diff --git a/Common/OpenFile.cpp b/Common/OpenFile.cpp index 61fa8ea8a1..6db55cc2bc 100644 --- a/Common/OpenFile.cpp +++ b/Common/OpenFile.cpp @@ -10,7 +10,6 @@ #include "GModel.h" #include "Numeric.h" #include "HighOrder.h" - #include "Context.h" #include "OpenFile.h" #include "CommandLine.h" diff --git a/Common/Options.cpp b/Common/Options.cpp index 0d2b68c093..286a8b9600 100644 --- a/Common/Options.cpp +++ b/Common/Options.cpp @@ -27,7 +27,6 @@ #if defined(HAVE_FLTK) #include <FL/Fl_Tooltip.H> -#include "drawContext.h" #include "FlGui.h" #include "Solvers.h" #include "menuWindow.h" diff --git a/utils/api_demos/mainAntTweakBar.cpp b/utils/api_demos/mainAntTweakBar.cpp index 3454d79d3d..0c6eb9b654 100644 --- a/utils/api_demos/mainAntTweakBar.cpp +++ b/utils/api_demos/mainAntTweakBar.cpp @@ -27,7 +27,8 @@ class drawContextTw : public drawContextGlobal{ } int getStringHeight(){ return 18; } int getStringDescent(){ return 6; } - void drawString(const char *str){ + void drawString(const char *str) + { for (int i = 0; i < strlen(str); i++) glutBitmapCharacter(GLUT_BITMAP_HELVETICA_18, str[i]); } diff --git a/utils/api_demos/mainGlut.cpp b/utils/api_demos/mainGlut.cpp index 0894672103..8fcaa5bc37 100644 --- a/utils/api_demos/mainGlut.cpp +++ b/utils/api_demos/mainGlut.cpp @@ -25,7 +25,8 @@ class drawContextGlut : public drawContextGlobal{ } int getStringHeight(){ return 18; } int getStringDescent(){ return 6; } - void drawString(const char *str){ + void drawString(const char *str) + { for (int i = 0; i < strlen(str); i++) glutBitmapCharacter(GLUT_BITMAP_HELVETICA_18, str[i]); } -- GitLab