diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2004-06-14 15:58:52 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2004-06-14 15:58:52 +0000 |
| commit | 5e81201a0473a5286c05164b70958fd68e77be50 (patch) | |
| tree | 47253f9f53adb0077800e3f9ea8004f2a8b1c02d /src/Fl_File_Icon.cxx | |
| parent | 849c90e53bbbe31f99b896085f5c903e04fd5072 (diff) | |
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
Diffstat (limited to 'src/Fl_File_Icon.cxx')
| -rw-r--r-- | src/Fl_File_Icon.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Fl_File_Icon.cxx b/src/Fl_File_Icon.cxx index 540b916ae..230db3c15 100644 --- a/src/Fl_File_Icon.cxx +++ b/src/Fl_File_Icon.cxx @@ -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 $". // |
