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

*** empty log message ***

parent 04795814
No related branches found
No related tags found
No related merge requests found
// $Id: Box.cpp,v 1.21 2001-01-29 08:43:44 geuzaine Exp $ // $Id: Box.cpp,v 1.22 2001-02-03 21:20:32 geuzaine Exp $
#include <signal.h> #include <signal.h>
...@@ -121,18 +121,27 @@ void Msg(int level, char *fmt, ...){ ...@@ -121,18 +121,27 @@ void Msg(int level, char *fmt, ...){
switch(level){ switch(level){
case FATAL : case FATAL :
case FATAL1 :
case FATAL2 :
case FATAL3 :
fprintf(stderr, FATAL_STR); fprintf(stderr, FATAL_STR);
vfprintf(stderr, fmt, args); fprintf(stderr, "\n"); vfprintf(stderr, fmt, args); fprintf(stderr, "\n");
abort = 1 ; abort = 1 ;
break ; break ;
case ERROR : case GERROR :
case GERROR1 :
case GERROR2 :
case GERROR3 :
fprintf(stderr, ERROR_STR); fprintf(stderr, ERROR_STR);
vfprintf(stderr, fmt, args); fprintf(stderr, "\n"); vfprintf(stderr, fmt, args); fprintf(stderr, "\n");
abort = 1 ; abort = 1 ;
break ; break ;
case WARNING : case WARNING :
case WARNING1 :
case WARNING2 :
case WARNING3 :
fprintf(stderr, WARNING_STR); fprintf(stderr, WARNING_STR);
vfprintf(stderr, fmt,args); fprintf(stderr, "\n"); vfprintf(stderr, fmt,args); fprintf(stderr, "\n");
break; break;
...@@ -149,11 +158,7 @@ void Msg(int level, char *fmt, ...){ ...@@ -149,11 +158,7 @@ void Msg(int level, char *fmt, ...){
} }
break ; break ;
case DEBUG : default :
case INFOS :
case INFO :
case SELECT :
case STATUS :
if(CTX.verbosity == 5){ if(CTX.verbosity == 5){
fprintf(stderr, INFO_STR); fprintf(stderr, INFO_STR);
vfprintf(stderr, fmt, args); fprintf(stderr, "\n"); vfprintf(stderr, fmt, args); fprintf(stderr, "\n");
......
// $Id: Opengl.cpp,v 1.15 2001-02-03 13:10:26 geuzaine Exp $ // $Id: Opengl.cpp,v 1.16 2001-02-03 21:20:32 geuzaine Exp $
#include "Gmsh.h" #include "Gmsh.h"
#include "GmshUI.h" #include "GmshUI.h"
...@@ -52,8 +52,8 @@ void Draw_String(char *s){ ...@@ -52,8 +52,8 @@ void Draw_String(char *s){
} }
gl_font(FL_HELVETICA, CTX.gl_fontsize); gl_font(FL_HELVETICA, CTX.gl_fontsize);
//CTX.gl_fontheight = gl_height() ; CTX.gl_fontheight = gl_height() ;
//CTX.gl_fontascent = gl_height()-gl_descent() ; CTX.gl_fontascent = gl_height()-gl_descent() ;
gl_draw(s); gl_draw(s);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment