From 87160b6eb9143e044926827b82a2df021cff9c83 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 3 Dec 2025 23:33:08 +0100 Subject: Remove boxtype linke trick. By defining boxtypes with underscores, box drawing cod ethat was not used was not linked, but with the introduction of themes, all boxes are available at all times. Reducing complexity. --- fluid/nodes/Window_Node.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fluid/nodes/Window_Node.cxx') diff --git a/fluid/nodes/Window_Node.cxx b/fluid/nodes/Window_Node.cxx index 412a04804..e63debebe 100644 --- a/fluid/nodes/Window_Node.cxx +++ b/fluid/nodes/Window_Node.cxx @@ -157,7 +157,7 @@ void Overlay_Window::draw() { const int CHECKSIZE = 8; // see if box is clear or a frame or rounded: if ((damage()&FL_DAMAGE_ALL) && - (!box() || (box()>=4&&!(box()&2)) || box()>=_FL_ROUNDED_BOX)) { + (!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) for (int X = 0; X < w(); X += CHECKSIZE) { -- cgit v1.2.3