From 502fa72eb472382cc47964874893085fb88116f5 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 2 Sep 2023 20:56:52 +0200 Subject: #718: Fixes drawing issues for Fl_Tabs Tabs were drawn incorrectly when children's box was not FL_NO_BOX Current solution is cleaned up and always redraws tabs area without leaving breadcrumbs behind --- FL/Enumerations.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/Enumerations.H b/FL/Enumerations.H index 5b7cb493a..a13aca07e 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -1318,7 +1318,7 @@ enum Fl_Mode { enum Fl_Damage { FL_DAMAGE_CHILD = 0x01, /**< A child needs to be redrawn. */ FL_DAMAGE_EXPOSE = 0x02, /**< The window was exposed. */ - FL_DAMAGE_SCROLL = 0x04, /**< The Fl_Scroll widget was scrolled. */ + FL_DAMAGE_SCROLL = 0x04, /**< The Fl_Scroll widget was scrolled. Used by other widgets for other widget specific damages. */ FL_DAMAGE_OVERLAY = 0x08, /**< The overlay planes need to be redrawn. */ FL_DAMAGE_USER1 = 0x10, /**< First user-defined damage bit. */ FL_DAMAGE_USER2 = 0x20, /**< Second user-defined damage bit. */ -- cgit v1.2.3