Commit graph

75 commits

Author SHA1 Message Date
fredkiefer
8eb4a42ce6 Clean up NSClipView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24711 72102866-910b-0410-8b05-ffd578937521
2007-02-27 18:08:11 +00:00
rfm
30182a3f19 documentation cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24035 72102866-910b-0410-8b05-ffd578937521
2006-11-06 13:58:37 +00:00
ratmice
9317defea6 * Source/NSTableView.m (-setFrame:,-setFrameSize:): Use
documentVisibleRect. Shrink if table is larger than needed height.
        fixes bug #18117.
        (-drawBackgroundInClipRect:): Draw the background.
        * Source/NSClipView.m (-documentVisibleRect:): Return the clip views
        visible rect converted to the document views coordinate system.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23972 72102866-910b-0410-8b05-ffd578937521
2006-10-27 17:48:54 +00:00
rfm
cc3cafa874 tidyups and minor theme tiling updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23871 72102866-910b-0410-8b05-ffd578937521
2006-10-15 08:34:47 +00:00
gcasa
fc2108ac05 * Source/GSNibCompatibility.m: In [NSIBObjectData initWithCoder:]
clean up the buildMap calls.  In NSCustomResource retain the resource
	that is returned to prevent a crash.  Add dealloc method to 
	NSCustomObject.
	* Source/NSClipView.m: In initWithCoder: retain and release
	documentView before removing it from the view and resetting
	it as the document view.   This ensures that the view will
	not be deallocated.
	* Source/NSScrollView.m: Retain the contentView before exchanging
	it and then release to prevent the view from being deallocated in
	initWithCoder:
	* Source/NSTableView.m: Replace call to "new" with alloc/init for
	NSTableHeaderView in initWithCoder:
	* Source/NSView.m: in initWithCoder: keyed coding don't release
	the subs array since it's already autoreleased.  This was causing
	a crash.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23336 72102866-910b-0410-8b05-ffd578937521
2006-08-26 14:10:18 +00:00
gcasa
f6fb00fad1 Prevent initWithCoder: from calling initWithFrame: in NSView. According to the documentation, initWithFrame: should not be called when the view is unarchiving itself. Similar changes were needed in other classes since they depended on this call to initialize themselves, so some init code was added to initWithCoder:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23143 72102866-910b-0410-8b05-ffd578937521
2006-07-07 01:39:16 +00:00
gcasa
d5e4858a60 Nib compatibility code merge.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22957 72102866-910b-0410-8b05-ffd578937521
2006-05-20 22:12:46 +00:00
Fabien_
78ccd6c023 Improved docuentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22135 72102866-910b-0410-8b05-ffd578937521
2005-12-04 19:12:12 +00:00
Fabien_
a97c10d438 Improved documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22064 72102866-910b-0410-8b05-ffd578937521
2005-11-21 15:40:50 +00:00
fedor
db3c52eab8 Update FSF Address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21259 72102866-910b-0410-8b05-ffd578937521
2005-05-26 02:52:46 +00:00
FredKiefer
5f72e933d1 Added keyed decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18510 72102866-910b-0410-8b05-ffd578937521
2004-01-30 19:49:00 +00:00
alexm
759ed191da (-autoscroll:): Reimplement correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18092 72102866-910b-0410-8b05-ffd578937521
2003-11-19 02:21:07 +00:00
FredKiefer
aea2927168 Removed new GCC 3.4 warnings from Alexander Malmbergs list.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17601 72102866-910b-0410-8b05-ffd578937521
2003-09-01 18:17:52 +00:00
ayers
9732999fd8 Header reorganization - Please refer to ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17408 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:52:10 +00:00
fedor
fc402789db Include <> -> ""
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16917 72102866-910b-0410-8b05-ffd578937521
2003-06-13 15:01:12 +00:00
FredKiefer
c5ce3a7932 Use method calls in [initWithCoder:] so opaque flag is set
correctly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15549 72102866-910b-0410-8b05-ffd578937521
2003-01-08 16:37:01 +00:00
fedor
dd5595fee8 Change so rint is only defined when needed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13464 72102866-910b-0410-8b05-ffd578937521
2002-04-12 02:15:51 +00:00
fedor
a7bf31db3f Update docs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13335 72102866-910b-0410-8b05-ffd578937521
2002-04-03 16:59:43 +00:00
pyr
843cdfb3b8 Source/NSMatrix.m
Source/NSBox.m
Source/NSClipView.m
Source/NSTableView.m
Source/NSOutlineView.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13276 72102866-910b-0410-8b05-ffd578937521
2002-03-31 15:46:19 +00:00
fedor
c51f4265da Markup for autogsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11788 72102866-910b-0410-8b05-ffd578937521
2001-12-17 16:51:51 +00:00
nico
c23acc7a91 Automatically mark the NSClipView as needing redisplay when the background
color - or the drawsBackground flag - changes


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11631 72102866-910b-0410-8b05-ffd578937521
2001-12-05 13:01:43 +00:00
fedor
46cd34f22b View coding fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11553 72102866-910b-0410-8b05-ffd578937521
2001-11-27 21:40:05 +00:00
pyr
14dadd09a6 -dealloc and -setDocumentView:
Support for NSTableView superviewFrameChanged method


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11277 72102866-910b-0410-8b05-ffd578937521
2001-10-29 12:30:35 +00:00
nico
d80d068759 Fixed bug in deallocation process where we were not removign us from
observing the document view notificatiosn


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11203 72102866-910b-0410-8b05-ffd578937521
2001-10-18 15:28:05 +00:00
nico
03ebf1803c Make the rectangle to copy in device space integral before copying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9155 72102866-910b-0410-8b05-ffd578937521
2001-02-18 15:09:15 +00:00
nico
0e9438aeb4 Fixed handling of first responder status to the document view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9151 72102866-910b-0410-8b05-ffd578937521
2001-02-17 20:39:38 +00:00
nico
33c6f48699 Update bounds origin upon setting frame
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8865 72102866-910b-0410-8b05-ffd578937521
2001-01-28 22:57:55 +00:00
nico
7372657ad6 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8864 72102866-910b-0410-8b05-ffd578937521
2001-01-28 22:35:48 +00:00
nico
245c8f0800 Fixed updating scrollers when the frame of the displayed view changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8862 72102866-910b-0410-8b05-ffd578937521
2001-01-28 21:53:53 +00:00
nico
07fb8d7d83 Fixed replacing a non-flipped document view (such as nil) with a flipped
one (such as a matrix)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8844 72102866-910b-0410-8b05-ffd578937521
2001-01-28 03:11:57 +00:00
nico
63d0cbd47e Rewritten scrolling not to attempt to copy non visible bits
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8726 72102866-910b-0410-8b05-ffd578937521
2001-01-21 16:35:44 +00:00
nico
b768800c21 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8723 72102866-910b-0410-8b05-ffd578937521
2001-01-21 14:55:07 +00:00
nico
3fb755f4b1 Cache whether it's opaque or not; minor changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8613 72102866-910b-0410-8b05-ffd578937521
2001-01-16 12:31:22 +00:00
fedor
c21aee678f Fix translation of scrolling document bounds
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8042 72102866-910b-0410-8b05-ffd578937521
2000-11-06 05:00:17 +00:00
FredKiefer
da6659b518 Added dealloc method. Implemented
[drawsBackground] and [setDrawsBackground:]. In [setDocumentView:]
get the background drawing from the document view. [drawRect:] and
[isOpaque] check the background drawing. Corrected [constrainScrollPoint:]
to respect the documentFrame origin. Implemented [autoscroll:]


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8037 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:29:32 +00:00
richard
c95e77dadb Clipview redisplay fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7854 72102866-910b-0410-8b05-ffd578937521
2000-10-20 04:19:22 +00:00
fedor
38d4cf35ba Implementation of deferred windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7623 72102866-910b-0410-8b05-ffd578937521
2000-09-27 22:18:34 +00:00
nico
d3f3e00f40 Implemented encoding/decoding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7375 72102866-910b-0410-8b05-ffd578937521
2000-09-04 22:59:23 +00:00
nico
5bff381e43 Indented comment at 80
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6675 72102866-910b-0410-8b05-ffd578937521
2000-06-13 17:34:13 +00:00
nico
990749f06d Fix for document view more little than us - fill the remaining space
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6339 72102866-910b-0410-8b05-ffd578937521
2000-03-19 23:26:56 +00:00
nico
475b802dee Updated for change in NSView ivars
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5719 72102866-910b-0410-8b05-ffd578937521
2000-01-10 02:04:25 +00:00
fedor
5caf79a568 Merge from dawn
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4853 72102866-910b-0410-8b05-ffd578937521
1999-09-09 02:56:20 +00:00
richard
178e4956bd Access superclass ivars directly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4786 72102866-910b-0410-8b05-ffd578937521
1999-09-01 08:35:16 +00:00
richard
a0c915eeb0 Fixes for system colors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4777 72102866-910b-0410-8b05-ffd578937521
1999-08-31 09:19:39 +00:00
richard
d888b218dd Major optimisation effort.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4228 72102866-910b-0410-8b05-ffd578937521
1999-05-07 20:08:51 +00:00
richard
2d554ab9d7 Various minor fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3929 72102866-910b-0410-8b05-ffd578937521
1999-03-16 16:38:26 +00:00
richard
3085e90faa Misc Bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3866 72102866-910b-0410-8b05-ffd578937521
1999-03-08 09:32:09 +00:00
richard
7efd28bd8b Fix for nil document view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3853 72102866-910b-0410-8b05-ffd578937521
1999-03-04 13:21:46 +00:00
richard
7808d177f4 Misc bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3758 72102866-910b-0410-8b05-ffd578937521
1999-02-19 20:31:07 +00:00
richard
772881652e Coordinate system fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3691 72102866-910b-0410-8b05-ffd578937521
1999-02-11 14:56:30 +00:00