summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2003-04-06 12:54:57 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2003-04-06 12:54:57 +0000
commit67af078c9c470dfc1bac3d5105a0b5cc4f1c63e5 (patch)
tree1745eb87a41b994f31ac6c024b562bb36e390161 /src
parent7903799bf2ece8f5fdb760c507c1e64ce8418b97 (diff)
Fix fl_font/fl_size on MacOS X.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2968 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/fl_font_mac.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/fl_font_mac.cxx b/src/fl_font_mac.cxx
index 619488f03..285981e8e 100644
--- a/src/fl_font_mac.cxx
+++ b/src/fl_font_mac.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: fl_font_mac.cxx,v 1.1.2.11 2003/01/30 21:43:48 easysw Exp $"
+// "$Id: fl_font_mac.cxx,v 1.1.2.12 2003/04/06 12:54:57 easysw Exp $"
//
// MacOS font selection routines for the Fast Light Tool Kit (FLTK).
//
@@ -127,7 +127,12 @@ static Fl_FontSize* find(int fnum, int size) {
////////////////////////////////////////////////////////////////
// Public interface:
+int fl_font_ = 0;
+int fl_size_ = 0;
+
void fl_font(int fnum, int size) {
+ fl_font_ = fnum;
+ fl_size_ = size;
fl_font(find(fnum, size));
}
@@ -154,5 +159,5 @@ void fl_draw(const char* str, int n, int x, int y) {
}
//
-// End of "$Id: fl_font_mac.cxx,v 1.1.2.11 2003/01/30 21:43:48 easysw Exp $".
+// End of "$Id: fl_font_mac.cxx,v 1.1.2.12 2003/04/06 12:54:57 easysw Exp $".
//