From 25ec796c88130bb0f715ba109e29f70a3f10d83e Mon Sep 17 00:00:00 2001 From: lazarus Date: Sat, 17 Aug 2002 23:41:24 +0000 Subject: [PATCH] AJ: added IsNullBrush checks to reduce pointless color allocations & GDK function calls git-svn-id: trunk@2483 - --- lcl/interfaces/gtk/gtkdef.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lcl/interfaces/gtk/gtkdef.pp b/lcl/interfaces/gtk/gtkdef.pp index f1b507b69a..d92ebc2a6e 100644 --- a/lcl/interfaces/gtk/gtkdef.pp +++ b/lcl/interfaces/gtk/gtkdef.pp @@ -80,6 +80,7 @@ type ); gdiBrush: ( // ToDo: add bitmap mask + IsNullBrush : Boolean; GDIBrushColor : TGDIColor; GDIBrushFill: TGdkFill; GDIBrushPixMap: PGdkPixmap; @@ -427,6 +428,9 @@ end. { ============================================================================= $Log$ + Revision 1.29 2002/10/30 17:43:35 lazarus + AJ: added IsNullBrush checks to reduce pointless color allocations & GDK function calls + Revision 1.28 2002/10/20 21:54:03 lazarus MG: fixes for 1.1