extern pixelscale in togl

This commit is contained in:
Joachim Schöberl 2018-05-23 21:32:17 +02:00
parent 39d4231850
commit 9d0ffac0eb
3 changed files with 7 additions and 2 deletions

View File

@ -4044,7 +4044,7 @@ Togl_Height(const Togl *togl)
return togl->Height;
}
EXTERN int
int
Togl_PixelScale(const Togl *togl)
{
return togl->PixelScale;

View File

@ -50,6 +50,11 @@ EXTERN int Togl_Width(const Togl *togl);
/* 6 */
EXTERN int Togl_Height(const Togl *togl);
#endif
#ifndef Togl_PixelScale_TCL_DECLARED
#define Togl_PixelScale_TCL_DECLARED
/* 6 */
EXTERN int Togl_PixelScale(const Togl *togl);
#endif
#ifndef Togl_Interp_TCL_DECLARED
#define Togl_Interp_TCL_DECLARED
/* 7 */

View File

@ -25,7 +25,7 @@ The interface between the GUI and the netgen library
// to be sure to include the 'right' togl-version
#include "Togl2.1/togl.h"
EXTERN int Togl_PixelScale (const Togl * togl);
// EXTERN int Togl_PixelScale (const Togl * togl);
#include "fonts.hpp"