diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-01-10 19:29:09 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-01-10 19:29:09 +0000 |
| commit | 4bf5385fb14c5d4e0d4fb061b5ef1a79cb45389d (patch) | |
| tree | 3900fd96ea1e3c1b343a00fbc04f1bb321c5f54f /src/Fl_get_system_colors.cxx | |
| parent | 24f57a7aea2d98a47684103459170b2389f8ad5f (diff) | |
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
Diffstat (limited to 'src/Fl_get_system_colors.cxx')
| -rw-r--r-- | src/Fl_get_system_colors.cxx | 14 |
1 files changed, 3 insertions, 11 deletions
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 $". // |
