Commit graph

92 commits

Author SHA1 Message Date
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
rfm
d3238ba31b Add cheange missed from last commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23590 72102866-910b-0410-8b05-ffd578937521
2006-09-22 13:38:12 +00:00
rfm
8bf3cdc94e theme reorganisation/tidy up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23586 72102866-910b-0410-8b05-ffd578937521
2006-09-22 11:53:40 +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
d24ee43d13 * Source/NSBrowserCell.m: Improved encoding and decoding in
encodeWithCoder: and initWithCoder:
	* Source/NSBrowser.m: Improved encoding and decoding in
	encodeWithCoder: and initWithCoder:
	* Source/NSScrollView.m: Improved encoding and decoding in
	encodeWithCoder: and initWithCoder:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23315 72102866-910b-0410-8b05-ffd578937521
2006-08-19 14:34:52 +00:00
gcasa
2c0aad513e Implement encoding for these objects and correct issue with font size encoding. It was encoded/decoded as an int when it should have been a float.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23226 72102866-910b-0410-8b05-ffd578937521
2006-08-09 05:48:54 +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_
ab1144f11b Improved documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22092 72102866-910b-0410-8b05-ffd578937521
2005-11-24 10:49:32 +00:00
CaS
c4ffc4f0c7 Fix bug #13310
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21370 72102866-910b-0410-8b05-ffd578937521
2005-06-28 10:09:14 +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
ratmice
c7ebd6a334 2004-09-25 Matt Rice <ratmice@yahoo.com>
* Source/NSScrollView.m: Remove corner view when we have one, but no
        vertical scroller. (Fixes #10501).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20147 72102866-910b-0410-8b05-ffd578937521
2004-09-26 12:49:32 +00:00
ratmice
9db35b22b2 2004-09-13 Matt Rice <ratmice@yahoo.com>
* NSScrollView.h: Declare new ivar _cornerView and private method
        -_synchronizeCornerAndHeaderView
        * NSScrollView.m (tile): Call _synchronizeCornerAndHeaderView method
        from here. Replace local cornerView variable with _cornerView.
        (-setDocumentView:): Remove code to set the corner and header views.
        (-_synchronizeCornerAndHeaderView): Implement new method.
        * NSTableView.m (-setHeaderView:, -setCornerView:): call tile on the
        scroll view we're in. Remove comments and warnings for cases which are
        now implemented.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20049 72102866-910b-0410-8b05-ffd578937521
2004-09-13 19:57:44 +00:00
FredKiefer
2e5ad2655d Use GSDrawingFunctions instead of Function.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19483 72102866-910b-0410-8b05-ffd578937521
2004-06-07 23:54:25 +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
1aa652975e Indentation fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18361 72102866-910b-0410-8b05-ffd578937521
2004-01-10 15:39:30 +00:00
stoyan
e4d3dd3486 remove missed NSLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18358 72102866-910b-0410-8b05-ffd578937521
2004-01-09 17:05:19 +00:00
stoyan
2dbb2ee268 (drawRect): Calculate separator line usning scoller frame. Remove header view counting cases
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18343 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:26:41 +00:00
FredKiefer
f2b2969e20 Small graphics cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18103 72102866-910b-0410-8b05-ffd578937521
2003-11-22 16:14:01 +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
CaS
bbe694fe43 Enable horizontal scrolling with shift key.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16584 72102866-910b-0410-8b05-ffd578937521
2003-04-30 05:03:50 +00:00
fedor
441fb9b0bd * Source/NSPrintOperation.m (-_print): Remove locale change (now
handled correctly in backend stream context.
* Source/NSScrollView.m (-initWithFrame:): Change default border
to none.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16020 72102866-910b-0410-8b05-ffd578937521
2003-02-20 03:12:29 +00:00
alexm
e5a9ba8496 (-setBorderType:): Call -tile to make the change visible.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15939 72102866-910b-0410-8b05-ffd578937521
2003-02-11 16:56:54 +00:00
nico
98413373e6 Small reorganization of code: scroll header view and rulers in reflectedScrolledClipView:
method, rather than when generating the scroll command to the clipview


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15763 72102866-910b-0410-8b05-ffd578937521
2003-01-30 02:15:02 +00:00
fedor
6ccbf6b20b Add dragging of ruler markers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14907 72102866-910b-0410-8b05-ffd578937521
2002-11-02 23:17:23 +00:00
fedor
9f39142905 Document. Fix up NSDebugLogs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14727 72102866-910b-0410-8b05-ffd578937521
2002-10-12 03:14:22 +00:00
nico
558d7e964e Implemented pageUp: and pageDown:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14709 72102866-910b-0410-8b05-ffd578937521
2002-10-10 19:05:02 +00:00
nico
c87007f3f8 Added missing #includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13442 72102866-910b-0410-8b05-ffd578937521
2002-04-11 23:17:42 +00:00
pyr
5947f65588 Source/NSScrollView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13241 72102866-910b-0410-8b05-ffd578937521
2002-03-26 16:39:20 +00:00
pyr
087f994a95 Source/NSBundleAdditions.m
Source/NSTableView.m
Source/NSScrollView.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13240 72102866-910b-0410-8b05-ffd578937521
2002-03-26 16:24:42 +00:00
CaS
72eebb581f Avoid crashing from removal of subview.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13051 72102866-910b-0410-8b05-ffd578937521
2002-03-08 17:38:23 +00:00
nico
097ce2e806 Fixed segmentation fault on deallocating
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13032 72102866-910b-0410-8b05-ffd578937521
2002-03-07 10:41:36 +00:00
pyr
db98f96fca Source/NSEvent.h
Headers/gnustep/gui/NSEvent.h
Source/NSResponder.m
Source/NSScrollView.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12908 72102866-910b-0410-8b05-ffd578937521
2002-02-28 21:45:38 +00:00
nico
f4a588e1b1 Set up the rulers in -tile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11930 72102866-910b-0410-8b05-ffd578937521
2002-01-01 23:20:37 +00:00
nico
82856119c6 Rewritten the -tile method to be simpler
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11928 72102866-910b-0410-8b05-ffd578937521
2002-01-01 23:06:01 +00:00
nico
1cea03788b Added better support for adding/removing rulers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11897 72102866-910b-0410-8b05-ffd578937521
2001-12-25 14:03:06 +00:00
nico
a60b40383b Some indentation tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11890 72102866-910b-0410-8b05-ffd578937521
2001-12-24 01:25:04 +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
FredKiefer
930556e006 Implemented [setRulerViewClass:] and preset to NSRulerView. Cache
the scrollerWidth in a class var, use this in all methods.
Use _sizeForBorderType() from NSCell to determine the border size
in all methods that handle borderType. Replaced all uses of
AUTORELEASE with explicit RELEASE calls. In [setContentView:]
don't RETAIN the content view, as this is handled by the normal
subview mechanism. (Don't RELEASE it in [dealloc] and
[removeSubview:]) Added dummy method [scrollWheel:].
Implemented the ruler methods, but this are still not handled in
[tile] and [drawRect:].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11210 72102866-910b-0410-8b05-ffd578937521
2001-10-21 23:29:29 +00:00
nico
2f58abfbdc Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8867 72102866-910b-0410-8b05-ffd578937521
2001-01-28 23:01:25 +00:00
nico
0dcc16b044 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8854 72102866-910b-0410-8b05-ffd578937521
2001-01-28 20:26:55 +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
e9375388ab Remove scroller update in excess
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8614 72102866-910b-0410-8b05-ffd578937521
2001-01-16 12:31:49 +00:00
fedor
bd3383cc13 Check id
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8116 72102866-910b-0410-8b05-ffd578937521
2000-11-15 05:02:06 +00:00
FredKiefer
517a060220 Hand on background drawing to content view. In [setContentView:] call setDocumentView:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8036 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:28:50 +00:00
nico
902bfb76fb Fixed decoding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7376 72102866-910b-0410-8b05-ffd578937521
2000-09-04 23:00:28 +00:00
nico
616dad1cea Scroll header view too as a consequence of clip view scrolled (if needed)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6682 72102866-910b-0410-8b05-ffd578937521
2000-06-15 18:03:53 +00:00
nico
cf07e906fa Fixed problem with positioning of table components
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6628 72102866-910b-0410-8b05-ffd578937521
2000-06-01 19:57:54 +00:00
nico
8d001cd7fd Added support for table view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6310 72102866-910b-0410-8b05-ffd578937521
2000-03-18 00:29:34 +00:00
richard
3a723df362 Tidyup - make new method public
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6247 72102866-910b-0410-8b05-ffd578937521
2000-03-10 10:34:58 +00:00