X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FGUI%2FSafeTexFont.hxx;h=0e6397c8b5ceef0b1c90112856dd72533e06e35f;hb=1ae2b59333dc914d10bcc726bc94e71cbf3e411e;hp=c1ca7180134b20fe015573782bb62814bd99749c;hpb=6cd9794b0cc9a5fd8310cfff31f7c36351936000;p=flightgear.git diff --git a/src/GUI/SafeTexFont.hxx b/src/GUI/SafeTexFont.hxx index c1ca71801..0e6397c8b 100644 --- a/src/GUI/SafeTexFont.hxx +++ b/src/GUI/SafeTexFont.hxx @@ -31,7 +31,7 @@ namespace flightgear class SafeTexFont : public fntTexFont { public: - SafeTexFont() : _status(NOT_LOADED) {} + SafeTexFont() : _status(e_NOT_LOADED) {} /** Load the texture for this font. * @param mag OpenGL texture magnification; default is GL_NEAREST * @param min OpenGL texture minification; default is @@ -46,9 +46,9 @@ public: void puts(sgVec3 curpos, float pointsize, float italic, const char *s); enum FontStatus { - ERROR = -1, - NOT_LOADED = 0, - LOADED = 1 + e_ERROR = -1, + e_NOT_LOADED = 0, + e_LOADED = 1 }; FontStatus getStatus() { return _status; } std::string& fntError() { return _error; }