More automation in NSText -setBackgroundColor: and -setDrawsBackground:

so you don't have to manually update the enclosing scrollview and mark all
objects as needing redisplay


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11633 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2001-12-05 13:04:04 +00:00
parent 5df2192c99
commit 38236813d1

View file

@ -1,3 +1,17 @@
Wed Dec 5 10:55:13 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSClipView.m ([-setBackgroundColor:]): If the color is
changed, mark the clipview as needing redisplay.
([-setDrawsBackground:]): If the flag is changed, mark the
clipview as needing redisplay.
* Source/NSText.m ([-setBackgroundColor:]): Mark the text as
needing redisplay if the color is changed. If we are not a field
editor, change the background color of the enclosing scrollview
too.
([-setDrawsBackground:]): Mark the text as needing redisplay if
the flag is changed. If we are not a field editor, change the
flag for the enclosing scrollview too.
2001-12-02 Adam Fedor <fedor@gnu.org>
* Model/GMAppKit.m ([NSMenuItem -initWithModelUnarchiver:]): Check