Fl_File_Icon::draw() did not support drawing of complex polygons

in icon descriptions.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3457 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
2004-06-14 15:58:52 +00:00
parent 849c90e53b
commit 5e81201a04
2 changed files with 8 additions and 6 deletions
+2
View File
@@ -1,6 +1,8 @@
CHANGES IN FLTK 1.1.5rc2
- Documentation updates (STR #365, STR #399, STR #412)
- Fl_File_Icon::draw() did not support drawing of complex
polygons in icon descriptions (STR #???)
- The configure script now offers options for JPEG, PNG,
and ZLIB libraries (STR #416)
- The first menu item in a list would not go invisible
+6 -6
View File
@@ -1,5 +1,5 @@
//
// "$Id: Fl_File_Icon.cxx,v 1.1.2.16 2004/04/11 04:38:57 easysw Exp $"
// "$Id: Fl_File_Icon.cxx,v 1.1.2.17 2004/06/14 15:58:52 easysw Exp $"
//
// Fl_File_Icon routines.
//
@@ -298,11 +298,11 @@ Fl_File_Icon::draw(int x, // I - Upper-lefthand X
break;
case POLYGON :
fl_end_polygon();
fl_end_complex_polygon();
break;
case OUTLINEPOLYGON :
fl_end_polygon();
fl_end_complex_polygon();
oc = (Fl_Color)((((unsigned short *)prim)[1] << 16) |
((unsigned short *)prim)[2]);
@@ -368,13 +368,13 @@ Fl_File_Icon::draw(int x, // I - Upper-lefthand X
case POLYGON :
prim = d;
d ++;
fl_begin_polygon();
fl_begin_complex_polygon();
break;
case OUTLINEPOLYGON :
prim = d;
d += 3;
fl_begin_polygon();
fl_begin_complex_polygon();
break;
case VERTEX :
@@ -477,5 +477,5 @@ Fl_File_Icon::labeltype(const Fl_Label *o, // I - Label data
//
// End of "$Id: Fl_File_Icon.cxx,v 1.1.2.16 2004/04/11 04:38:57 easysw Exp $".
// End of "$Id: Fl_File_Icon.cxx,v 1.1.2.17 2004/06/14 15:58:52 easysw Exp $".
//