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
This commit is contained in:
Michael R Sweet 2003-04-06 12:54:57 +00:00
parent 7903799bf2
commit 67af078c9c
3 changed files with 14 additions and 7 deletions

View File

@ -1,9 +1,11 @@
CHANGES IN FLTK 1.1.4
- fl_font() and fl_size() were not implemented on MacOS
X.
- Sorted the icon menu bar in fluid.
- Fixed minor memory access complaints from Valgrind
- Compiling src/flstring.h on OS X with BSD header
would fail.
- Compiling src/flstring.h on OS X with BSD header would
fail.
- Fl_Text_Editor didn't scroll the buffer when the user
pressed Ctrl+End or Ctrl+Home.
- Fl_Text_Editor didn't show its cursor when the mouse

View File

@ -1,5 +1,5 @@
CREDITS - Fast Light Tool Kit (FLTK) Version 1.1.0
-------------------------------------------------
CREDITS - Fast Light Tool Kit (FLTK) Version 1.1.4
--------------------------------------------------
This file lists the people responsible for the toolkit you
are now using. If you've looking for your name in lights
@ -12,7 +12,7 @@ CORE DEVELOPERS
The following people do the day-to-day development of FLTK:
Craig P. Earls
Curtis Edwards (trilex@users.sourceforge.net)
Curtis Edwards (trilec@users.sourceforge.net)
Gustavo Hime (hime@users.sourceforge.net)
Talbot Hughes
Robert Kesterson (robertk@users.sourceforge.net)

View File

@ -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 $".
//