Commit graph

409 commits

Author SHA1 Message Date
Fred Kiefer
5fd580f117 * Source/NSView.m (-initWithFrame:, -initWithCoder:) Set
_post_frame_changes and _post_bounds_changes to YES by default.
  Patch by Quentin Mathe <qmathe@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28465 72102866-910b-0410-8b05-ffd578937521
2009-08-15 22:34:13 +00:00
Fred Kiefer
fc5a042401 * Source/NSView.m (-_setNeedsDisplayInRect_real:) Set the window
views as needing display, even when the invalidated rectangle
didn't change.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28382 72102866-910b-0410-8b05-ffd578937521
2009-07-06 14:18:16 +00:00
Gregory John Casamento
cdbc241fc0 * Source/NSSplitView.m: Set subviews to resize when loaded from
the nib. 
	* Source/NSView.m: Partial revert of previous change.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28201 72102866-910b-0410-8b05-ffd578937521
2009-04-10 19:00:20 +00:00
Gregory John Casamento
92efd93b0c Minor correction to previous commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28200 72102866-910b-0410-8b05-ffd578937521
2009-04-10 18:30:19 +00:00
Gregory John Casamento
f3df11134c * Source/NSView.m: Autoresize subviews since it is not pulling it
from the nib correctly.  Will come back and fix this issue.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28199 72102866-910b-0410-8b05-ffd578937521
2009-04-10 18:29:22 +00:00
Fred Kiefer
5215126ca7 Fix a differnace to Cocoa and warn about another one.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28135 72102866-910b-0410-8b05-ffd578937521
2009-03-26 22:37:47 +00:00
Fred Kiefer
bc7a00e00b Add parentheses to stop compiler from complaining.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28091 72102866-910b-0410-8b05-ffd578937521
2009-03-18 09:21:51 +00:00
Gregory John Casamento
83e65b773e * Source/NSPrintOperation.m: Correct issues with handling of
rectangle passed back from rectForPage: callback in NSView 
	subclasses.  This rect should override existing calculations 
	when it is passed in.
	* Source/NSView.m: Change to use NSPrintPaperBounds if and only if
	aRect is passed in as a blank rect.  Previously the code was
	using the NSPrintPaperBounds value and ignoring the passed in
	value.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28071 72102866-910b-0410-8b05-ffd578937521
2009-03-12 23:50:23 +00:00
Xavier Glattard
74bcdbdd94 Some improvements and bux fix related to OpenGL
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28032 72102866-910b-0410-8b05-ffd578937521
2009-03-03 20:12:43 +00:00
Richard Frith-MacDonald
d611e97561 Invalidate tracking rects when removed from view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27734 72102866-910b-0410-8b05-ffd578937521
2009-01-30 14:42:26 +00:00
Richard Frith-MacDonald
ab54f4450e per-window menu setting tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27686 72102866-910b-0410-8b05-ffd578937521
2009-01-25 13:47:30 +00:00
Gregory John Casamento
69d27431a9 * Source/GSNibLoading.m: Correct issue with setting next key view and
previous key view.
	* Source/NSView.m: Comment out frame/bounds matrix calculation since they
	are done when needed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27317 72102866-910b-0410-8b05-ffd578937521
2008-12-17 00:36:12 +00:00
Gregory John Casamento
1ecd731b02 * Source/NSView.m: Add back in matrix initialization.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27315 72102866-910b-0410-8b05-ffd578937521
2008-12-16 21:56:47 +00:00
Gregory John Casamento
05bec8c892 * Headers/Additions/GNUstepGUI/GSNibLoading.h: Added new method
nibInstantiateWithCoder: to do the initialization normally done
        in NSView when not in IB/Gorm.
        * Source/GSNibLoading.m: Added implementation of new method and
        also re-wrote part of NSCustomView.
        * Source/NSView.m: Added an NSAssert to assure that no subview
        ever decoded is an NSCustomView.
---
Moved decoding of custom view attributes here so that it can cleanly initialize everything to ensure that the view works properly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27281 72102866-910b-0410-8b05-ffd578937521
2008-12-12 07:03:48 +00:00
Fred Kiefer
1febd24809 Correction to last commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27069 72102866-910b-0410-8b05-ffd578937521
2008-11-16 16:18:11 +00:00
Fred Kiefer
2e53778720 Bug fix for last changes on NSView bounds setting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27067 72102866-910b-0410-8b05-ffd578937521
2008-11-16 13:45:53 +00:00
Fred Kiefer
d71b76e768 Replaced scrollview change with one that is easier to understand.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27053 72102866-910b-0410-8b05-ffd578937521
2008-11-14 19:25:01 +00:00
Fred Kiefer
ab5d2c1256 More corrections to bounds transformation, based on the new test code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27042 72102866-910b-0410-8b05-ffd578937521
2008-11-13 20:44:51 +00:00
Fred Kiefer
f0bb36dd4f Correction to bounds translation and rotation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27023 72102866-910b-0410-8b05-ffd578937521
2008-11-11 20:13:17 +00:00
Adam Fedor
7afdd32ac1 Revert library license version to 2 until applications can be converted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26619 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:01:49 +00:00
Gregory John Casamento
4c268441c9 * Source/NSView.m: Changes to beginPage:... and endPage to correct
issues with blank space at the top of the page when printing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26336 72102866-910b-0410-8b05-ffd578937521
2008-03-18 01:01:34 +00:00
Fred Kiefer
3ac0da9c43 New methods on NSView with code from viewWillMoveToWindow: and
viewWillMoveToSuperview:. The later are now empty to allow 
subclasses not to call the super implementation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26053 72102866-910b-0410-8b05-ffd578937521
2008-02-11 11:37:29 +00:00
Fred Kiefer
2310d97434 Full support for view hiding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25775 72102866-910b-0410-8b05-ffd578937521
2007-12-22 16:11:24 +00:00
Fred Kiefer
295b663a75 Rewrote KVB to use separate binding class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25728 72102866-910b-0410-8b05-ffd578937521
2007-12-13 01:10:09 +00:00
Fred Kiefer
5966ffcd3f Key binding patch by Chris Farber <chris@chrisfarber.net>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25724 72102866-910b-0410-8b05-ffd578937521
2007-12-11 18:50:42 +00:00
Fred Kiefer
cfc06480b2 Handle NSFrameSize.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25683 72102866-910b-0410-8b05-ffd578937521
2007-12-06 00:10:14 +00:00
Fred Kiefer
36c066e994 Make sure there is a main window when starting up.
Correct view image caching.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25670 72102866-910b-0410-8b05-ffd578937521
2007-12-03 19:00:12 +00:00
Richard Frith-MacDonald
f135451a1a Make sure cursor rectangles are updated when view is moverd/resized
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25632 72102866-910b-0410-8b05-ffd578937521
2007-11-29 14:57:58 +00:00
Fred Kiefer
193e31e678 Change all files to use GPL 3 and LGPL 3.
Prepare for next release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25536 72102866-910b-0410-8b05-ffd578937521
2007-10-29 21:16:17 +00:00
Nicolas Roard
852a7aff1d * Source/NSView.m (-scrollRect:by:): reversed the coordinates
of destPoint (substract instead of add), to match OSX behaviour. 
	* Source/NSClipView.m (-setBoundsOrigin): reversed the coordinates
	of the call to scrollRect:by:, to match OSX behaviour.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25458 72102866-910b-0410-8b05-ffd578937521
2007-09-05 19:35:36 +00:00
Fred Kiefer
0572190f62 Implement ticks for level indicator. Code by Christopher Elsmore
<elsmorian@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25378 72102866-910b-0410-8b05-ffd578937521
2007-08-03 17:19:26 +00:00
Fred Kiefer
8da1677ce3 Attempt to handle bounds setting on NSView better.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25308 72102866-910b-0410-8b05-ffd578937521
2007-07-09 16:42:32 +00:00
Fred Kiefer
239550b545 Missing changes from last commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25304 72102866-910b-0410-8b05-ffd578937521
2007-07-04 12:36:21 +00:00
Fred Kiefer
3546df9ca3 Make _boundsMatrix optional.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25303 72102866-910b-0410-8b05-ffd578937521
2007-07-04 11:45:15 +00:00
Fred Kiefer
9bfccedf81 Ignore the frame origin when computing the clip area.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25295 72102866-910b-0410-8b05-ffd578937521
2007-06-28 17:31:17 +00:00
Fred Kiefer
887489b3f0 Ignore the frame origin when computing the bounds.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25293 72102866-910b-0410-8b05-ffd578937521
2007-06-27 12:59:39 +00:00
Fred Kiefer
98120cfcbb Rework of display* mechanism to use new MacOSX10.4 method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25291 72102866-910b-0410-8b05-ffd578937521
2007-06-26 16:46:50 +00:00
Richard Frith-MacDonald
44153d95a4 and commit the file I really meant to commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25286 72102866-910b-0410-8b05-ffd578937521
2007-06-22 13:29:45 +00:00
Fred Kiefer
86d97a419f Moved all printing output code to NSGraphicsContext.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25268 72102866-910b-0410-8b05-ffd578937521
2007-06-18 12:49:04 +00:00
Richard Frith-MacDonald
7f736e9a2b Restrict scrolled rectangle to the bounds of the view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25203 72102866-910b-0410-8b05-ffd578937521
2007-05-28 05:49:06 +00:00
Richard Frith-MacDonald
f7850daa26 Compensate for bugfix in NSAffineTransform ... not sure this is correct.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24988 72102866-910b-0410-8b05-ffd578937521
2007-04-11 17:46:12 +00:00
Fred Kiefer
7488b299c7 GUI part of the graphics context rewrite.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24966 72102866-910b-0410-8b05-ffd578937521
2007-04-04 14:33:39 +00:00
Fred Kiefer
a7bb06a38a Replace deprecated calls to NSAffineTransform
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24925 72102866-910b-0410-8b05-ffd578937521
2007-03-23 11:03:00 +00:00
Fred Kiefer
a7a164262c Correct the implementation of the method gState and moved code a bit to
avoid warning.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24910 72102866-910b-0410-8b05-ffd578937521
2007-03-20 23:47:27 +00:00
Fred Kiefer
dfe4cd8073 Use correct graphic context for print operations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24898 72102866-910b-0410-8b05-ffd578937521
2007-03-19 13:25:46 +00:00
Fred Kiefer
b6fd63f8bd Improve handling of rotated bounds.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24893 72102866-910b-0410-8b05-ffd578937521
2007-03-17 22:14:55 +00:00
Fred Kiefer
9c36a184cc New MacOS 10.4 methods for NSView plus some clean up and corrections.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24783 72102866-910b-0410-8b05-ffd578937521
2007-03-06 16:11:45 +00:00
Fred Kiefer
34b0abf4d0 Added MacOS 10.4 methods for NSDocument, NSDocumentController,
NSPrintOperation, NSResponder and NSCell.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24378 72102866-910b-0410-8b05-ffd578937521
2007-01-17 12:09:41 +00:00
Richard Frith-MacDonald
8e6eaaac0f Move main part of affine transform code to base for MacOS-X compatibility
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24133 72102866-910b-0410-8b05-ffd578937521
2006-11-19 11:32:51 +00:00
Matt Rice
1a7c5c309c * Tools/gopen.m
*  Source/NSView.m
        *  Source/GSPDFPrintOperation.m
        *  Source/NSHelpManager.m
        *  Source/GSHelpManagerPanel.m: Add missing includes.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24006 72102866-910b-0410-8b05-ffd578937521
2006-10-31 13:38:00 +00:00
Richard Frith-MacDonald
f32270e66c Tweak new theme method and fix up indentation errors.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23909 72102866-910b-0410-8b05-ffd578937521
2006-10-19 06:06:00 +00:00
Gregory John Casamento
5b14579bdd * Source/NSView.m: Applied patch from Banlu Kemiyatorn. Corrects
issue with detection of events in a rotated view.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23908 72102866-910b-0410-8b05-ffd578937521
2006-10-19 05:47:36 +00:00
Gregory John Casamento
3c63c09716 Applied patch given by Mark Tracy for printing improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23877 72102866-910b-0410-8b05-ffd578937521
2006-10-15 15:30:27 +00:00
Richard Frith-MacDonald
57435da7d5 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
Richard Frith-MacDonald
ac3da2c4ca Make sure tooltip window starts off on screen.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23756 72102866-910b-0410-8b05-ffd578937521
2006-10-04 13:36:56 +00:00
Eric Sersale
b9fd9f40ea * Source/NSView.m: In -setToolTip: sets the has_tooltips flag.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23754 72102866-910b-0410-8b05-ffd578937521
2006-10-04 11:32:51 +00:00
Richard Frith-MacDonald
ab9ac7d741 IUmplement tool tip help
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23732 72102866-910b-0410-8b05-ffd578937521
2006-10-02 19:22:22 +00:00
Richard Frith-MacDonald
e779b4215b Fix tracking rect bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23711 72102866-910b-0410-8b05-ffd578937521
2006-10-02 12:07:35 +00:00
Richard Frith-MacDonald
0232b540d9 minor coordinate fix for flushing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23465 72102866-910b-0410-8b05-ffd578937521
2006-09-12 12:59:17 +00:00
Gregory John Casamento
63e4a9aebd * 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
Fred Kiefer
f2beece4f3 Small clean ups in NSView, NSTableView and the headers included in
AppKit.h


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23257 72102866-910b-0410-8b05-ffd578937521
2006-08-11 20:04:53 +00:00
Gregory John Casamento
78bbf9e972 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
Gregory John Casamento
fb8609cf7a Don't encode the superview when encoding the contentView of a window, since it can be a subview of the GS decoration views. Correct type for visibleWindows, should be NSArray, not NSSet.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23204 72102866-910b-0410-8b05-ffd578937521
2006-08-05 12:46:20 +00:00
Gregory John Casamento
f4032747d3 GSNibContainer version 2 changes. New method declarations for customClasses, visibleWindows and deferredWindows. Changes to init, initWithCoder: and encodeWithCoder: to handle the new data.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23150 72102866-910b-0410-8b05-ffd578937521
2006-07-09 14:54:51 +00:00
Gregory John Casamento
53ca2a14c2 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
Fred Kiefer
9bcf4a86ef Handle remaining problems with cursor rects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23041 72102866-910b-0410-8b05-ffd578937521
2006-06-09 17:33:11 +00:00
Fred Kiefer
1d4845b573 Fix cursor rect problems, when window closes or the view is scrolled.
Patch by Mircea Trache <aer@shaw.ca>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22988 72102866-910b-0410-8b05-ffd578937521
2006-05-27 21:54:29 +00:00
Gregory John Casamento
d68950d71a 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
Richard Frith-MacDonald
56ac5a9236 Revert pointelss changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22417 72102866-910b-0410-8b05-ffd578937521
2006-02-03 10:07:01 +00:00
Richard Frith-MacDonald
34d79dd427 Fix BOOL accessors to return a genuine boolean (YES or NO)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22413 72102866-910b-0410-8b05-ffd578937521
2006-02-02 21:16:55 +00:00
Richard Frith-Macdonald
7971a89c72 Coding style fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22019 72102866-910b-0410-8b05-ffd578937521
2005-11-16 11:34:25 +00:00
Richard Frith-Macdonald
bd8fb5fc53 Hacks by Greg to placate 4.1 compiler. Just in case we can't persuade them
to 'fix' cast to union with an 'id' member.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21783 72102866-910b-0410-8b05-ffd578937521
2005-10-07 09:57:51 +00:00
Richard Frith-Macdonald
e97187862a After chwecking MacOS-X ... reimplement last change usiing a private helper
method to send notifications of view moving to window.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21676 72102866-910b-0410-8b05-ffd578937521
2005-08-25 07:44:25 +00:00
Richard Frith-Macdonald
bf2bd2d0a3 Implemented viewDidMoveToWindow:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21675 72102866-910b-0410-8b05-ffd578937521
2005-08-25 07:30:13 +00:00
Adam Fedor
239d1b5296 Fix some documentation errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21494 72102866-910b-0410-8b05-ffd578937521
2005-07-17 14:07:07 +00:00
Adam Fedor
303dd1baf9 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
Fred Kiefer
931fa977c7 Allow cells to print even when not connected to a window.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21249 72102866-910b-0410-8b05-ffd578937521
2005-05-22 21:12:08 +00:00
Fred Kiefer
29db6affc8 Added new NSResponder method declarations and implemented shouldBeTreatedAsInkEvent:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21238 72102866-910b-0410-8b05-ffd578937521
2005-05-20 12:31:42 +00:00
Fred Kiefer
daa83e855e Prevent exception when subview is added at the end of the subview list.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21073 72102866-910b-0410-8b05-ffd578937521
2005-04-07 22:13:10 +00:00
Gregory John Casamento
208c87b881 Improvements in keyed coding and correction for NSCell formatter unarchiving issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20235 72102866-910b-0410-8b05-ffd578937521
2004-10-18 01:48:15 +00:00
Fred Kiefer
a52e330d25 Added some more keyed decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20116 72102866-910b-0410-8b05-ffd578937521
2004-09-23 23:12:54 +00:00
Fred Kiefer
a15214f38d Readded NSCell setType: patch with originally missing bit for NSButtonCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20072 72102866-910b-0410-8b05-ffd578937521
2004-09-16 13:44:00 +00:00
Alexander Malmberg
ab6a805021 (-scrollRectToVisible:): Implement correctly, patch from Andrew Ruder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19968 72102866-910b-0410-8b05-ffd578937521
2004-09-01 22:19:49 +00:00
Quentin Mathe
e428e69f82 Toolbar improvements... Fixed several major and minor bugs, rewritten the validation support, lot of memory leaks eliminated and other changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19689 72102866-910b-0410-8b05-ffd578937521
2004-07-07 21:25:42 +00:00
Alexander Malmberg
6d15d51344 Reimplement -convertRect:fromView: and -convertRect:toView: correctly. Don't mess up the clipping of rotated views in -lockFocusInRect:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18864 72102866-910b-0410-8b05-ffd578937521
2004-03-22 17:14:26 +00:00
Alexander Malmberg
c2adaaaa9d (-hitTest:): Don't require that the point is inside our super view if we don't have a super view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18845 72102866-910b-0410-8b05-ffd578937521
2004-03-14 18:46:01 +00:00
Fred Kiefer
d82befe200 New ivars for NSView and improved canDraw implemetantion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18802 72102866-910b-0410-8b05-ffd578937521
2004-03-08 13:56:56 +00:00
Fred Kiefer
31cde10bcd Added stubs for new MacOSX methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18634 72102866-910b-0410-8b05-ffd578937521
2004-02-20 13:18:51 +00:00
Fred Kiefer
13a4046e1a More keyed decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18603 72102866-910b-0410-8b05-ffd578937521
2004-02-15 18:23:13 +00:00
Alexander Malmberg
2be0f07f80 Remove uses of the deprecated 'casts as lvalues' gcc extension.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18535 72102866-910b-0410-8b05-ffd578937521
2004-02-04 00:27:49 +00:00
Fred Kiefer
df3b584a19 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
Fred Kiefer
0285ceb796 Exchanged appendTransform: and prePendTransform:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18479 72102866-910b-0410-8b05-ffd578937521
2004-01-25 16:50:33 +00:00
Fred Kiefer
4f10989eb8 Corrected affine transform struct element names and added some drawing functions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18288 72102866-910b-0410-8b05-ffd578937521
2003-12-30 12:42:37 +00:00
Alexander Malmberg
311e73aace (-autoscroll:): Document.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18214 72102866-910b-0410-8b05-ffd578937521
2003-11-26 22:55:39 +00:00
David Ayers
b18f1c4ac4 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
Alexander Malmberg
77fa3e8966 Make drawing debug logging a bit more detailed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17371 72102866-910b-0410-8b05-ffd578937521
2003-07-26 18:56:06 +00:00
Richard Frith-Macdonald
daf5efadae More documentation tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17302 72102866-910b-0410-8b05-ffd578937521
2003-07-22 16:52:17 +00:00
Adam Fedor
72d45dd40e * GNUmakefile: Build Documentation if doc=yes (yes by default).
* Tools/gsnd/GNUmakefile.postamble: Linke in pthreads if not
already linked in (non-mingw targets only).
* Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c: On OpenBSD
include soundcard.h.

* Panels/English.proj: Replace GSPageLayout.gorm and
GSPrintPanel.gorm with updated GOrm dirs. Make Options button
non-continuous.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17261 72102866-910b-0410-8b05-ffd578937521
2003-07-20 02:08:22 +00:00
Fred Kiefer
a50f7b9a5c Corrected handling of pasteboard data of type NSFilenamesPboardType.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17015 72102866-910b-0410-8b05-ffd578937521
2003-06-24 22:57:12 +00:00
Adam Fedor
9d122f2cb1 * Source/NSOutlineView.m ([NSOutlineView -drawRow:clipRect:]):
Add delegate method call. Patch from Yen-Ju Chen
* Source/NSView.m (-menuForEvent:): Add note about this
method being discouraged.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16981 72102866-910b-0410-8b05-ffd578937521
2003-06-21 16:44:46 +00:00
Adam Fedor
6be9174933 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
Alexander Malmberg
c76aa02acd Don't save the focus rect clipping path in the gstate if one is allocated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16701 72102866-910b-0410-8b05-ffd578937521
2003-05-12 15:35:43 +00:00
Adam Fedor
0de7e778fe Updates for filesystem change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16566 72102866-910b-0410-8b05-ffd578937521
2003-04-28 02:33:10 +00:00
Pierre-Yves Rivaille
063710aa5f Source/NSWindow.m ([-sendEvent:], case NSRightMouseDown):
removed code to display the menu. This is now done by
	[NSView -rightMouseDown:].
Source/NSView.m: overrides -menu,
	changes -rightMouseDown: to display the menu,
	documents -menu, -menuForEvent: and +defaultMenu.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16413 72102866-910b-0410-8b05-ffd578937521
2003-04-10 14:00:53 +00:00
Alexander Malmberg
58a9585750 (-setNeedsDisplay:, -setNeedsDisplayInRect:): Thread safety related fixes and cleanups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16394 72102866-910b-0410-8b05-ffd578937521
2003-04-08 22:42:02 +00:00
Alexander Malmberg
3061f81c4e Make -setNeedsDiplay: and -setNeedsDisplayInRect: thread safe.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16390 72102866-910b-0410-8b05-ffd578937521
2003-04-08 00:17:53 +00:00
Adam Fedor
054a27b9ba Move disable/enable flush code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16053 72102866-910b-0410-8b05-ffd578937521
2003-02-23 04:38:49 +00:00
Nicola Pero
33a0a5ea29 Fixed compiler warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15774 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:28:39 +00:00
Adam Fedor
84c74e4a2d Check for window iff not printing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15279 72102866-910b-0410-8b05-ffd578937521
2002-12-10 17:52:50 +00:00
Adam Fedor
06a5c62fa5 Load prolog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14863 72102866-910b-0410-8b05-ffd578937521
2002-10-29 03:46:39 +00:00
Richard Frith-Macdonald
b38ed9a2d0 Typo fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14809 72102866-910b-0410-8b05-ffd578937521
2002-10-21 17:23:59 +00:00
Richard Frith-Macdonald
a19302360b Fix coding bugs etc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14808 72102866-910b-0410-8b05-ffd578937521
2002-10-21 17:20:46 +00:00
Richard Frith-Macdonald
20247dac50 Rewrite key view handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14805 72102866-910b-0410-8b05-ffd578937521
2002-10-21 13:03:23 +00:00
Nicola Pero
4d694da0f5 Fixed setNextKeyView: and setPreviousKeyView:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14803 72102866-910b-0410-8b05-ffd578937521
2002-10-20 23:56:30 +00:00
Richard Frith-Macdonald
40253f5a72 SRome documentation tidyupsi
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14751 72102866-910b-0410-8b05-ffd578937521
2002-10-13 07:00:38 +00:00
Alexander Malmberg
61b91e6b57 Handle becomesKeyOnlyIfNeeded in NSPanel properly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14508 72102866-910b-0410-8b05-ffd578937521
2002-09-21 23:33:37 +00:00
Adam Fedor
6539cba2c9 Printing, cString fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14407 72102866-910b-0410-8b05-ffd578937521
2002-09-06 19:31:00 +00:00
Pierre-Yves Rivaille
898524e393 Source/NSView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14233 72102866-910b-0410-8b05-ffd578937521
2002-08-03 15:45:11 +00:00
Nicola Pero
f4e1aa11d8 Use -rotateByDegrees:, not -rotateByAngle:, to rotate an Affine transform
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13939 72102866-910b-0410-8b05-ffd578937521
2002-06-22 16:04:34 +00:00
Nicola Pero
d52e667cb5 Use new NSAffineTransform method to invert a matrix, not old one
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13933 72102866-910b-0410-8b05-ffd578937521
2002-06-22 15:46:30 +00:00
Adam Fedor
c629ab8ec2 Stroke the underline
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13601 72102866-910b-0410-8b05-ffd578937521
2002-05-07 03:37:48 +00:00
Adam Fedor
f48f856447 Check superview frame size before getting it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13568 72102866-910b-0410-8b05-ffd578937521
2002-05-01 16:59:10 +00:00
Adam Fedor
935e853ceb Cleanup printing after exception
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13387 72102866-910b-0410-8b05-ffd578937521
2002-04-07 02:16:56 +00:00
Adam Fedor
301fdac101 New def of GSDefineGState
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13328 72102866-910b-0410-8b05-ffd578937521
2002-04-02 21:54:22 +00:00
Adam Fedor
955aa35094 Split into Window server and graphic context handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13256 72102866-910b-0410-8b05-ffd578937521
2002-03-28 03:53:18 +00:00
Richard Frith-Macdonald
42789654de Text storage bugfix and view deallocation bugfix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13019 72102866-910b-0410-8b05-ffd578937521
2002-03-06 09:49:07 +00:00
Richard Frith-Macdonald
e63280a9fb Bugfixes for removing view from view and for ordring windos in.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12392 72102866-910b-0410-8b05-ffd578937521
2002-02-03 07:23:10 +00:00
Nicola Pero
0f19567490 Cleaned resizeWithOldSuperviewSize:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11923 72102866-910b-0410-8b05-ffd578937521
2002-01-01 15:44:18 +00:00
Fred Kiefer
652569d814 Implemented dragFile:fromRect:slideBack:event:]. Moved code from
[dragImage:...slideBack:] to NSWindow and call this.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11854 72102866-910b-0410-8b05-ffd578937521
2001-12-21 00:45:15 +00:00
Adam Fedor
d47e202fbe 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
Fred Kiefer
c45289573b Implemented those new methods. Call new methods from the subview
handling methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11511 72102866-910b-0410-8b05-ffd578937521
2001-11-24 15:52:32 +00:00
Adam Fedor
db7b620c03 Cache used fonts in context
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11430 72102866-910b-0410-8b05-ffd578937521
2001-11-20 05:00:20 +00:00
Adam Fedor
810fc6f2c7 Raise exceptions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11357 72102866-910b-0410-8b05-ffd578937521
2001-11-10 03:53:33 +00:00
Adam Fedor
04a3436aff Simple printint implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11341 72102866-910b-0410-8b05-ffd578937521
2001-11-08 18:26:39 +00:00
Adam Fedor
9e7640459b Implement print panel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11100 72102866-910b-0410-8b05-ffd578937521
2001-10-07 04:22:41 +00:00
Adam Fedor
9ad5bc7fd1 Set up print context and view coords for priting
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11006 72102866-910b-0410-8b05-ffd578937521
2001-09-26 03:47:20 +00:00
Adam Fedor
4827e85a75 Switch back to gsave/grestore.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10850 72102866-910b-0410-8b05-ffd578937521
2001-09-06 19:04:07 +00:00
Adam Fedor
99818a7d2b Use save/restore in lockFocus/unlockFocus
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10835 72102866-910b-0410-8b05-ffd578937521
2001-09-03 04:10:36 +00:00
Nicola Pero
3986ee515e Work around bug in 2.91.66 compiler
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10484 72102866-910b-0410-8b05-ffd578937521
2001-07-16 10:26:23 +00:00
Fred Kiefer
bae5295ce7 Added missing methods from MacOS X specification.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9940 72102866-910b-0410-8b05-ffd578937521
2001-05-13 21:09:47 +00:00
Fred Kiefer
e225933b16 Call GSWSetViewIsFlipped instead of GSWViewIsFlipped.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9742 72102866-910b-0410-8b05-ffd578937521
2001-04-29 22:27:10 +00:00
Adam Fedor
b2937b7086 Add comments to releaseGState
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9592 72102866-910b-0410-8b05-ffd578937521
2001-04-16 03:20:07 +00:00
Adam Fedor
7d43bc3311 release the gstate when invalidating coords
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9591 72102866-910b-0410-8b05-ffd578937521
2001-04-16 03:18:04 +00:00
Adam Fedor
1ff4d1c990 Load backend as a bundle.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9580 72102866-910b-0410-8b05-ffd578937521
2001-04-13 20:04:04 +00:00
Mirko Viviani
60b8f20ce4 * Source/NSButtonCell.m ([NSButtonCell -setCellAttribute:to:]):
implemented.
([NSButtonCell -cellAttribute:]): implemented.

* Source/NSPopUpButton.m ([NSPopUpButton -keyDown:]): implemented
keyboard selection.
([NSPopUpButton -resignFirstResponder]): implemented.
([NSPopUpButton -resignKeyWindow]): implemented.

* Source/NSPopUpButtonCell.m ([NSPopUpButtonCell
-drawInteriorWithFrame:inView:]): from -drawWithFrame:inView:

* Source/NSButton.m ([NSButton -becomeFirstResponder]): set cell first
responder.
([NSButton -resignFirstResponder]): likewise.
([NSButton -becomeKeyWindow]): likewise.
([NSButton -resignKeyWindow]): likewise.

* Source/NSBrowserCell.m ([NSBrowserCell -drawInteriorWithFrame:
inView:]): draw correct dotted box.

* Source/NSBrowser.m ([NSBrowser -becomeFirstResponder]): make first
responder the latest column.
([NSBrowser -acceptsFirstResponder]): accepts first responder status.
([NSBrowser -keyDown:]): handle tabs to select next/previous key view.
([NSBrowser -moveRight:]): make browser column the first responder.
([NSBrowser -moveUp:]): likewise.
([NSBrowser -moveDown:]): likewise.
([NSBrowser -moveLeft:]): likewise.
([NSBrowser -_unloadFromColumn:]): remove columns from superview and
array.
([NSBrowser -_remapColumnSubviews:]): set the correct first responder.

* Source/NSWindow.m ([NSWindow -sendEvent:]): retain/release first
responder for keyUp/keyDown events. Discard NSLeftMouseDown for closed
windows.
([NSWindow -dealloc]): release _originalResponder

* Source/NSView.m ([NSView -removeSubview:]): remove next responder.

* Source/NSCell.m ([NSCell -setUpFieldEditorAttributes:]): clear
selected range.
([NSCell -editWithFrame:inView:editor:delegate:event:]): redisplay
textObject after invoking mouseDown:
([NSCell -drawInteriorWithFrame:inView:]): draw dotted-line outline
when first responder.
([NSCell -setCellAttribute:to:]): implemented.

* Source/NSTextView.m ([NSTextView -moveUp:]): don't call
_illegalMovement: for the text field editor.
([NSTextView -moveDown:]): likewise.
([NSTextView -moveLeft:]): likewise.
([NSTextView -moveRight:]): likewise.

* Source/NSTextField.m ([NSTextField -textDidEndEditing:]): fixed
return/tab/backtab text movement code.

* Headers/gnustep/gui/NSGraphics.h: added NSDottedFrameRect prototype.

* Headers/gnustep/gui/NSMatrix.h: added ivars for dotted frame rect.
* Source/NSMatrix.m ([NSMatrix -selectCell:]): implemented.
([NSMatrix -_selectCell:atRow:column:]): new method.
([NSMatrix -selectCellAtRow:column:]): call _selectCell:atRow:column:
([NSMatrix -selectCellWithTag:]): likewise.
([NSMatrix -selectAll:]): Do not select disabled or editable cells.
([NSMatrix -textDidEndEditing:]): fixed return/tab/backtab text
movement code.
([NSMatrix -_selectNextSelectableCellAfterRow:column:]): don't select
disabled cells.
([NSMatrix -_selectPreviousSelectableCellBeforeRow:column:]): likewise.
([NSMatrix -_privateFrame:mode:numberOfRows:numberOfColumns:]): set
dottedRow and dottedColumn.
([NSMatrix -insertRow:withCells:]): likewise.
([NSMatrix -removeColumn:]): likewise.
([NSMatrix -removeRow:]): likewise.
([NSMatrix -mouseDown:]): likewise and discard disabled cells.
([NSMatrix -drawRect:]): set shows cell first responder.
([NSMatrix -becomeFirstResponder]): draw dotted box for cell.
([NSMatrix -resignFirstResponder]): likewise.
([NSMatrix -becomeKeyWindow]): likewise.
([NSMatrix -resignKeyWindow]): likewise.
([NSMatrix -_setNeedsDisplayDottedCell]): likewise.
([NSMatrix -selectTextAtRow:column:]): set shows cell first responder.
([NSMatrix -setState:atRow:column:]): likewise. Deselect previous
selected cell in radio mode.

* Source/NSSavePanel.m (createRowsForColumn:): use _gsSavePanelCompare:
and check extension against _requiredFileType and not "app", "bundle",
etc.
([NSString -_gsSavePanelCompare:]): filename compare.
([NSSavePanel -_initWithoutGModel]): set key view for keyboard
interaction.
([NSSavePanel -keyDown:]): removed.
([NSSavePanel -controlTextDidEndEditing:]): removed.

* Source/NSOpenPanel.m ([NSOpenPanel -_shouldShowExtension:isDir:]):
added isDir argument.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9473 72102866-910b-0410-8b05-ffd578937521
2001-03-22 00:27:37 +00:00
Nicola Pero
b3b6f06e51 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9038 72102866-910b-0410-8b05-ffd578937521
2001-02-07 21:11:45 +00:00
Nicola Pero
7e017633de Fix for boundary cases when determining if mouse is in a rect
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8852 72102866-910b-0410-8b05-ffd578937521
2001-01-28 18:17:44 +00:00
Nicola Pero
dc86f93c1d 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
Nicola Pero
8360e0ca42 Changed getMatrixFromTransform: to takeMatrixFromTransform: to be
consistent with method naming conventions


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8620 72102866-910b-0410-8b05-ffd578937521
2001-01-16 13:09:31 +00:00
Nicola Pero
1ff9444b52 Cache the default notification center; tiny speedup in rebuilding
coordinates; fixed bug which would leave in certain conditions _bounds
and _boundsMatrix in an inconsistent state after a resize


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8616 72102866-910b-0410-8b05-ffd578937521
2001-01-16 12:33:23 +00:00