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