Implement Fl::set_font(Fl_Font, Fl_Font)...

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
2001-12-14 16:54:31 +00:00
parent 5c3b2f74bc
commit 67bbab358f
2 changed files with 7 additions and 2 deletions
+1
View File
@@ -11,6 +11,7 @@ CHANGES IN FLTK 1.1.0b8
focus (the parent redraw clears the focus box.)
- Fixed the example program makefile - wasn't building
the mandelbrot and shiny demos right.
- Fl::set_font(Fl_Font, Fl_Font) was not implemented.
CHANGES IN FLTK 1.1.0b7
+6 -2
View File
@@ -1,5 +1,5 @@
//
// "$Id: fl_set_font.cxx,v 1.5.2.3.2.2 2001/11/27 17:44:08 easysw Exp $"
// "$Id: fl_set_font.cxx,v 1.5.2.3.2.3 2001/12/14 16:54:31 easysw Exp $"
//
// Font utilities for the Fast Light Tool Kit (FLTK).
//
@@ -68,8 +68,12 @@ void Fl::set_font(Fl_Font fnum, const char* name) {
s->first = 0;
}
void Fl::set_font(Fl_Font fnum, Fl_Font from) {
Fl::set_font(fnum, get_font(from));
}
const char* Fl::get_font(Fl_Font fnum) {return fl_fonts[fnum].name;}
//
// End of "$Id: fl_set_font.cxx,v 1.5.2.3.2.2 2001/11/27 17:44:08 easysw Exp $".
// End of "$Id: fl_set_font.cxx,v 1.5.2.3.2.3 2001/12/14 16:54:31 easysw Exp $".
//