From 512332670a87377ba6b705232d22a67681fba3ff Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 19 Oct 1998 17:53:09 +0000 Subject: Added Gustavo's damage() update - now use symbolic constants for all values! git-svn-id: file:///fltk/svn/fltk/trunk@18 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/Fl_Window_Type.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fluid') diff --git a/fluid/Fl_Window_Type.cxx b/fluid/Fl_Window_Type.cxx index cb52a46bb..cc3f94942 100644 --- a/fluid/Fl_Window_Type.cxx +++ b/fluid/Fl_Window_Type.cxx @@ -129,7 +129,7 @@ public: void Overlay_Window::draw() { const int CHECKSIZE = 8; // see if box is clear or a frame or rounded: - if ((damage()&128) && + if ((damage()&FL_DAMAGE_ALL) && (!box() || (box()>=4&&!(box()&2)) || box()>=_FL_ROUNDED_BOX)) { // if so, draw checkerboard so user can see what areas are clear: for (int y = 0; y < h(); y += CHECKSIZE) -- cgit v1.2.3