diff options
| -rw-r--r-- | FL/Enumerations.H | 4 | ||||
| -rw-r--r-- | src/Fl_Font.H | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/FL/Enumerations.H b/FL/Enumerations.H index 2744e10c0..9c43bfc36 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -287,8 +287,8 @@ enum Fl_Align { // align() values FL_ALIGN_NOWRAP = 0 // for back compatability }; -typedef unsigned int Fl_Font; -typedef unsigned int Fl_Font_Size; +typedef int Fl_Font; +typedef int Fl_Font_Size; // standard fonts const Fl_Font FL_HELVETICA = 0; diff --git a/src/Fl_Font.H b/src/Fl_Font.H index 8ba70c905..3aa854780 100644 --- a/src/Fl_Font.H +++ b/src/Fl_Font.H @@ -70,14 +70,14 @@ public: # elif USE_XFT XftFont* font; const char* encoding; - int size; + Fl_Font_Size size; FL_EXPORT Fl_FontSize(const char* xfontname); # else XFontStruct* font; // X font information FL_EXPORT Fl_FontSize(const char* xfontname); # endif - int minsize; // smallest point size that should use this - int maxsize; // largest point size that should use this + Fl_Font_Size minsize; // smallest point size that should use this + Fl_Font_Size maxsize; // largest point size that should use this # if HAVE_GL unsigned int listbase;// base of display list, 0 = none # endif |
