summaryrefslogtreecommitdiff
path: root/FL/fl_draw.H
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2008-04-23 19:09:28 +0000
committerMatthias Melcher <fltk@matthiasm.com>2008-04-23 19:09:28 +0000
commit7c8f5cc888725d061bcae9d0d5c53ff912639ac4 (patch)
tree407d6027b29f1cf30a4a56bd72d2ddb79fd37709 /FL/fl_draw.H
parent88c0d727aa89b650611ce8c677d4ed26e2fc1f4a (diff)
First attempt at consistently using Fl_Font as a type for the font index and Fl_Font_Size as a type to measure font height (or rather size).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/fl_draw.H')
-rw-r--r--FL/fl_draw.H10
1 files changed, 5 insertions, 5 deletions
diff --git a/FL/fl_draw.H b/FL/fl_draw.H
index 509826ef4..99a3e984a 100644
--- a/FL/fl_draw.H
+++ b/FL/fl_draw.H
@@ -136,11 +136,11 @@ FL_EXPORT double fl_transform_dy(double x, double y);
FL_EXPORT void fl_transformed_vertex(double x, double y);
// current font:
-FL_EXPORT void fl_font(int face, int size);
-extern FL_EXPORT int fl_font_;
-inline int fl_font() {return fl_font_;}
-extern FL_EXPORT int fl_size_;
-inline int fl_size() {return fl_size_;}
+FL_EXPORT void fl_font(Fl_Font face, Fl_Font_Size size);
+extern FL_EXPORT Fl_Font fl_font_;
+inline Fl_Font fl_font() {return fl_font_;}
+extern FL_EXPORT Fl_Font_Size fl_size_;
+inline Fl_Font_Size fl_size() {return fl_size_;}
// information you can get about the current font:
FL_EXPORT int fl_height(); // using "size" should work ok