Fred Kiefer
a3eb0e0e6e
Check if the window and it's gstate exist before undefining the gstate.
...
Patch by Georg Fleischmann <G.Fleischmann@vhf.de>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31350 72102866-910b-0410-8b05-ffd578937521
2010-09-15 08:21:32 +00:00
Quentin Mathe
a7ca2b775f
Replaced _rFlags.flipped_view use with -isFlipped and deprecated
...
_rFlagsType.flipped_view.
Still needs some work to automatically invalidate coordinates when the
flipping changes e.g. between two drawing sessions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31233 72102866-910b-0410-8b05-ffd578937521
2010-09-03 08:21:52 +00:00
Quentin Mathe
9be1f4da8e
Fixed many drawing issues (many ones being related to the flipping).
...
See bug report #27782
In particular, fixed -[NSImage drawXXX] and -[NSImage composite/dissolveXXX]
methods to work exactly as Cocoa when the Cairo backend is used.
Added a new draw operator (in addition to composite) to the backend. Cairo is
the only backend that implements it for now.
Eliminated as many flipping checks as possible.
Warning: Untested with the winlib backend.
You must update, recompile and install both Back and Gui.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30523 72102866-910b-0410-8b05-ffd578937521
2010-06-01 11:04:36 +00:00
Fred Kiefer
99e273a57d
few compiler warning fixes plus a lot of #import replacement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30448 72102866-910b-0410-8b05-ffd578937521
2010-05-24 10:48:14 +00:00
David Chisnall
c6866f8c8a
Lots of small tweaks to make -gui compile without warnings with clang.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30119 72102866-910b-0410-8b05-ffd578937521
2010-04-10 20:33:30 +00:00
Doug Simons
b86e1bf40d
Fix problems with next key view chain
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30088 72102866-910b-0410-8b05-ffd578937521
2010-04-05 16:59:51 +00:00
David Chisnall
a9ba2e5e77
Removed all uses of @defs() from -gui, so it now compiles cleanly with the non-fragile ABI. All ivars that must be accessed from other classes are now wrapped in PACKAGE_SCOPE. With clang, this expands to @package, with GCC it expands to @public.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30045 72102866-910b-0410-8b05-ffd578937521
2010-03-27 00:01:03 +00:00
Riccardo Mottola
1f6a5b28c2
removed c99-isms
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30041 72102866-910b-0410-8b05-ffd578937521
2010-03-26 00:10:45 +00:00
Fred Kiefer
9f4fd26405
Change tag to NSInteger.
...
Patch by Anibal Rindisbacher <anibal784@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30026 72102866-910b-0410-8b05-ffd578937521
2010-03-23 21:26:24 +00:00
Fred Kiefer
58afda1e08
Small keyed decoing improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29963 72102866-910b-0410-8b05-ffd578937521
2010-03-15 12:55:12 +00:00
Fred Kiefer
a61995b438
Better debug output plus minor improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29959 72102866-910b-0410-8b05-ffd578937521
2010-03-15 10:49:21 +00:00
Fred Kiefer
60c81d02b6
Add two Cocoa debug helper methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29924 72102866-910b-0410-8b05-ffd578937521
2010-03-13 15:17:21 +00:00
Doug Simons
9b229c81f5
fix behavior of simple click within selected text; optimize setNeedsDisplayInRect: when called with empty rect
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29914 72102866-910b-0410-8b05-ffd578937521
2010-03-12 22:50:42 +00:00
Fred Kiefer
c05581a005
Fix up teh includes to compile again after latest changes to base. Still
...
plenty of warnings and the result isn't working at least on 64 bit
machines :-(
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29685 72102866-910b-0410-8b05-ffd578937521
2010-02-20 10:40:44 +00:00
Doug Simons
7868cd6332
Remove subviews AFTER next/previous key views have been cleaned up, in case any subviews were in the view chain
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29529 72102866-910b-0410-8b05-ffd578937521
2010-02-09 22:05:25 +00:00
Eric Wasylishen
156aef2436
* Source/NSView.m (-setHidden:): When hiding a view, we need to
...
call -setNeedsDisplay:YES on the superview, rather than self
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29417 72102866-910b-0410-8b05-ffd578937521
2010-01-27 08:31:19 +00:00
Eric Wasylishen
27d0e485e3
* Source/NSView.m (-setHidden:): Fix un-hiding of hidden views, loaded
...
from nib's, with subviews. The subview coordinates just need to be
invalidated when the view is unhidden.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29416 72102866-910b-0410-8b05-ffd578937521
2010-01-27 07:40:54 +00:00
Wolfgang Lux
2ebe9f4335
Fix bug where NSView's -dealloc could break the key view chain.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29081 72102866-910b-0410-8b05-ffd578937521
2009-11-29 14:25:54 +00:00
Fred Kiefer
ec138f065f
Two small changes that should make Emacs 23.1 usable with GNUstep.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28643 72102866-910b-0410-8b05-ffd578937521
2009-09-08 22:10:56 +00:00
Richard Frith-MacDonald
452ffee567
Small theme update, plus documentation fixes and tweaks to avoid warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28538 72102866-910b-0410-8b05-ffd578937521
2009-08-25 07:46:37 +00:00
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