From 4bf5385fb14c5d4e0d4fb061b5ef1a79cb45389d Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 10 Jan 2003 19:29:09 +0000 Subject: Update Fl_Image and friends so that we don't need to include the system headers (which unfortunately are not too friendly with other code...) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2893 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_get_system_colors.cxx | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'src/Fl_get_system_colors.cxx') diff --git a/src/Fl_get_system_colors.cxx b/src/Fl_get_system_colors.cxx index 3ed77b0a2..3409161e4 100644 --- a/src/Fl_get_system_colors.cxx +++ b/src/Fl_get_system_colors.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_get_system_colors.cxx,v 1.6.2.7.2.14 2002/11/19 16:37:35 easysw Exp $" +// "$Id: Fl_get_system_colors.cxx,v 1.6.2.7.2.15 2003/01/10 19:29:09 easysw Exp $" // // System color support for the Fast Light Tool Kit (FLTK). // @@ -260,15 +260,7 @@ int Fl::reload_scheme() { sprintf(tile_cmap[2], ". c #%02x%02x%02x", 0xd8 * (int)r / 0xf0, 0xd8 * (int)g / 0xf0, 0xd8 * (int)b / 0xf0); - if (tile.id) { - fl_delete_offscreen(tile.id); - tile.id = 0; - } - - if (tile.mask) { - fl_delete_bitmask(tile.mask); - tile.mask = 0; - } + tile.uncache(); if (!scheme_bg_) scheme_bg_ = new Fl_Tiled_Image(&tile, w(), h()); @@ -317,5 +309,5 @@ int Fl::reload_scheme() { // -// End of "$Id: Fl_get_system_colors.cxx,v 1.6.2.7.2.14 2002/11/19 16:37:35 easysw Exp $". +// End of "$Id: Fl_get_system_colors.cxx,v 1.6.2.7.2.15 2003/01/10 19:29:09 easysw Exp $". // -- cgit v1.2.3