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
This commit is contained in:
parent
04f1ab054b
commit
349a1d9034
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user