From 4088fbca71db5ee671427da023fd966ad86f0cac Mon Sep 17 00:00:00 2001 From: stoyan Date: Mon, 12 Jul 2004 21:45:33 +0000 Subject: [PATCH] NSButtonCell: Image dimming and gradient drawing added git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19722 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 249b2aacf..e55b0750d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2004-07-13 Serg Stoyan + + * Source/NSButtonCell.m: + (_init): Set default values of _gradient_type and + _image_dims_when_disabled. + (drawGradientWithFrame:inView:): Implemented. Draws gradient + according to the _gradient_type ivar value. + (drawInteriorWithFrame:inView:): Call drawGradientWithFrame:inView + if _gradient_type was set and cell is no highlighted. Dissolve + image if cell is disabled and _image_dims_when_disabled was set. + 2004-07-11 Gregory John Casamento * Source/GSNibTemplates.m: Added code to allow the switching