summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2005-11-02 11:30:41 +0000
committerMatthias Melcher <fltk@matthiasm.com>2005-11-02 11:30:41 +0000
commit349a1d9034c796a60a7372becbb7d6ce949a5a08 (patch)
treed6f1c65d1698514b27b5cb7dd09edc1050146926
parent04f1ab054ba42f596f122d7095d9397d2db8703d (diff)
STR #1052: The outline drawing of not existing images is now in foreground color instead of black
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4621 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/Fl_Image.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Image.cxx b/src/Fl_Image.cxx
index 01f7bcbbc..329a71288 100644
--- a/src/Fl_Image.cxx
+++ b/src/Fl_Image.cxx
@@ -55,7 +55,7 @@ void Fl_Image::draw(int XP, int YP, int, int, int, int) {
void Fl_Image::draw_empty(int X, int Y) {
if (w() > 0 && h() > 0) {
- fl_color(FL_BLACK);
+ fl_color(FL_FOREGROUND_COLOR);
fl_rect(X, Y, w(), h());
fl_line(X, Y, X + w() - 1, Y + h() - 1);
fl_line(X, Y + h() - 1, X + w() - 1, Y);