Adam Fedor
487fdc6524
(-adjustSubviews): Just return when there are no subviews.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26496 72102866-910b-0410-8b05-ffd578937521
2008-05-08 03:58:59 +00:00
Nicola Pero
4f48690360
Fixed slow drift of the divider of a splitview when doing a sequence of resizings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26424 72102866-910b-0410-8b05-ffd578937521
2008-04-01 23:14:17 +00:00
Nicola Pero
82d086b439
Implemented autosaveName for splitviews - a cool addition from a user perspective
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26420 72102866-910b-0410-8b05-ffd578937521
2008-04-01 01:37:52 +00:00
Nicola Pero
190c13dca9
Small tidyup in NSSplitView -adjustSubviews
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26419 72102866-910b-0410-8b05-ffd578937521
2008-04-01 00:39:06 +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
Gregory John Casamento
b22686df4d
Added new connectors and implemented keyed coding in split view.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25520 72102866-910b-0410-8b05-ffd578937521
2007-10-07 03:04:39 +00:00
Fred Kiefer
e1cb2b75ef
Implement -displayRectIgnoringOpacity:inContext: instead of the two old
...
display methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25477 72102866-910b-0410-8b05-ffd578937521
2007-09-11 13:13:47 +00:00
Richard Frith-MacDonald
7b45601256
Tidy icon usage
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23630 72102866-910b-0410-8b05-ffd578937521
2006-09-26 18:29:11 +00:00
Gregory John Casamento
6dc3d8fd4b
Keyed encoding changes in initWithCoder:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23155 72102866-910b-0410-8b05-ffd578937521
2006-07-10 04:13:13 +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
Sergii Stoian
c728573e22
Add forgotten saving old position
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21646 72102866-910b-0410-8b05-ffd578937521
2005-08-17 12:53:17 +00:00
Sergii Stoian
f00ec3ca2b
Don't try to resize subviews if divider positon wasn't changed
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21642 72102866-910b-0410-8b05-ffd578937521
2005-08-16 23:22:05 +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
Alexander Malmberg
ad2419e484
2005-01-21 21:43 Alexander Malmberg <alexander@malmberg.org>
...
Various whitespace cleanups, comment type fixes, and changes
to avoid warnings from recent versions of gcc.
* Headers/Additions/GNUstepGUI/GSToolbar.h (-_toolbars): Declare.
* Source/NSWindow+Toolbar.m: Remove conflicting declaration of
[NSToolbar -_toolbars].
* Headers/Additions/GNUstepGUI/GSServicesManager.h,
Source/GSServicesMananger.m (-item2title:, -validateMenuItem:):
Adjust argument types.
* Headers/AppKit/NSMenu.h (-validateMenuItem:): Adjust argument
type.
* Source/NSTextView.m (-sizeToFit): Don't use size uninitialized
if neither resizable flags is set.
(-insertText:): Adjust argument type.
* Headers/AppKit/NSResponder.h, Source/NSResponder.m (-insertText:):
Adjust argument type. Document.
* Headers/AppKit/NSView.h: Change type of ivar _window to NSWindow *.
* Source/GSTitleView.m (-mouseDown:): Always initialize
startWindowOrigin.
* Source/NSApplication.m (-setApplicationIconImage:): Add casts
to avoid warnings.
* Source/NSCell.m (-cellSize): Add default: case.
* Source/NSPasteboard.m
([GSFiltered -pasteboard:provideDataForType:]): Detect and warn if we
can't find a filter that will get us the desired type.
* Source/NSProgressIndicator.m: Comment out unused variable 'images'.
* Source/NSBezierPath.m: Declare GSBezierPath fully before using it.
(-bezierPathByFlatteningPath, -bezierPathByReversingPath): Make sure
variables are always initialized.
* Source/NSMenuView.m,
* Source/NSPrintOperation.m,
* Source/NSSplitView.m,
* Source/NSTableHeaderView.m: Make sure variables are always
initialized.
* Source/NSBox.m,
* Source/NSImageview.m,
* Source/NSText.m,
* Source/NSTextStorage.m: Add missing includes.
* Source/GSKeyBindingTable.m,
* Source/GSLayoutManager.m,
* Source/NSBitmapImageRep+PNM.m,
* Source/NSBundleAdditions.m,
* Source/NSLayoutManager.m,
* Source/nsimage-tiff.h,
* Source/tiff.m,
* Headers/Additions/GNUstepGUI/GSDisplayServer.h,
* Source/GSDisplayServer.m: Change signedness of various variables.
* Source/NSPanel.m (-sendEvent:): Remove.
* Source/NSWindow.m (-becomesKeyOnlyIfNeeded): New method.
(-_sendEvent:becomesKeyOnlyIfNeeded:): Remove. Move code ...
(-sendEvent:): ... here. Use -becomesKeyOnlyIfNeeded instead
of the argument.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20590 72102866-910b-0410-8b05-ffd578937521
2005-01-21 20:39:18 +00:00
Sergii Stoian
7d6b0a1f1d
[adjustSubviews] call setNeedsDisplay: after resizing subviews
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19329 72102866-910b-0410-8b05-ffd578937521
2004-05-14 20:44:50 +00:00
Fred Kiefer
afabdddd55
Added keyed decoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18530 72102866-910b-0410-8b05-ffd578937521
2004-02-02 21:40:00 +00:00
Alexander Malmberg
270f3c3eda
Use NSDebugLLog instead of NSLog when we get an event in a subview area.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18324 72102866-910b-0410-8b05-ffd578937521
2004-01-07 01:55:21 +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
Nicola Pero
913e8e34f4
Fixed offset used in delegate calls
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15974 72102866-910b-0410-8b05-ffd578937521
2003-02-16 14:04:10 +00:00
Nicola Pero
2f0f4f1d0d
Fixed delegate constraining split position
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15969 72102866-910b-0410-8b05-ffd578937521
2003-02-16 03:19:11 +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
Fred Kiefer
a666d7658d
Removed unneeded includes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15004 72102866-910b-0410-8b05-ffd578937521
2002-11-17 18:38:34 +00:00
Pierre-Yves Rivaille
ed7570937a
* Source/NSSplitView.m ([NSSplitView -resizeSubviewsWithOldSize:]):
...
Move code from setFrame: & resizeWithOldSuperviewSize:
to resizeSubviewsWithOldSize:.
* Source/NSColorPanel.m ([NSColorPanel _initWithoutGModel]):
make the window a little bit higher. Some ColorPickers would not fit.
* ColorPickers/GSCMYKColorPicker.tiff:
* ColorPickers/GSGrayColorPicker.tiff:
* ColorPickers/GSHSBColorPicker.tiff:
* ColorPickers/GSRGBColorPicker.tiff:
resize so that the image fits within the NSButton.
(only blank area was removed)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14868 72102866-910b-0410-8b05-ffd578937521
2002-10-29 18:00:15 +00:00
Adam Fedor
356a824ea8
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
Nicola Pero
03c108664b
Fixed typo in last commit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14529 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:30:29 +00:00
Nicola Pero
c7976b098c
Remove the delegate from the notification center in -dealloc; cache the
...
default notification center for the whole class
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14527 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:28:12 +00:00
Pierre-Yves Rivaille
f9bdd044b1
* Source/NSSplitView.m ([NSSplitView -initWithCoder:]):
...
set _never_displayed_before to YES.
* Source/NSFont.m: rearrange the last change to make
it look like other classes' initWithCoder/encodeWithCoder
* Source/NSTextView.m: do not call _blink directly
(suggested by Nicola Pero).
* Source/NSButtonCell.m
([NSButtonCell -drawInteriorWithFrame:inView:]):
if the button is NSImageOnly, draw the dotted frame at
the right location.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14483 72102866-910b-0410-8b05-ffd578937521
2002-09-18 18:00:30 +00:00
Pierre-Yves Rivaille
f4cc3d1d83
Source/NSSplitView.m
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14235 72102866-910b-0410-8b05-ffd578937521
2002-08-05 11:56:29 +00:00
Nicola Pero
68a815cb1b
Updated and simplified code for the fact we no longer flush the window
...
in NSHighlightRect()
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13680 72102866-910b-0410-8b05-ffd578937521
2002-05-22 12:05:25 +00:00
Nicola Pero
0baf5e4271
Added missing #includes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13304 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:26:03 +00:00
Pierre-Yves Rivaille
ccb5efc4cd
Source/NSSplitView.m
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12843 72102866-910b-0410-8b05-ffd578937521
2002-02-27 16:58:35 +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
3f3d0d7d79
Adopted to changes in header. Dummy implementation of new
...
methods. Changed incudes. In [mouseDown:] also check for new delegate
methods. [_adjustSubviews:] now takes the old size as an argument
to hand it on to delegate. Changed all places that call
this. En-/decode the image instead of the cursor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11306 72102866-910b-0410-8b05-ffd578937521
2001-11-04 00:02:24 +00:00
Nicola Pero
f15e2802c0
Implemented adjusting subviews only the first time the splitview is
...
displayed; fixed some delegate messaging which was done the wrong way
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9040 72102866-910b-0410-8b05-ffd578937521
2001-02-07 22:06:32 +00:00
Nicola Pero
284aef1ae9
Post appropriate notifications after the user finished dragging
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8913 72102866-910b-0410-8b05-ffd578937521
2001-01-29 22:20:56 +00:00
Nicola Pero
dbbdfa3719
Implemented apple API extension allowing delegate to constrain divider
...
position to certain positions while dragging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8850 72102866-910b-0410-8b05-ffd578937521
2001-01-28 17:43:13 +00:00
Nicola Pero
76ea49fa2a
Changed to use flipped coordinates as per spec; _autoresize_subviews = NO
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8819 72102866-910b-0410-8b05-ffd578937521
2001-01-27 00:03:18 +00:00
Nicola Pero
f97716f2d8
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8816 72102866-910b-0410-8b05-ffd578937521
2001-01-26 21:56:34 +00:00
Nicola Pero
15c4029af9
Huge simplification and speed up of dragging
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7432 72102866-910b-0410-8b05-ffd578937521
2000-09-07 12:59:28 +00:00
Richard Frith-MacDonald
f4ae81a101
Reduce flicker by only highlighting when needed
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6318 72102866-910b-0410-8b05-ffd578937521
2000-03-18 06:51:12 +00:00
Richard Frith-MacDonald
751ed9aca0
Tidyups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6264 72102866-910b-0410-8b05-ffd578937521
2000-03-10 18:32:41 +00:00
Nicola Pero
9a2e06f513
Bugfix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6252 72102866-910b-0410-8b05-ffd578937521
2000-03-10 12:41:25 +00:00
Nicola Pero
96097b90ad
Fixed bug in dragging; avoid redrawing when ignoring mouse press
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6244 72102866-910b-0410-8b05-ffd578937521
2000-03-10 02:18:15 +00:00
Nicola Pero
0a517b8d4d
Fixed bug in adjusting subviews when the divider is horizontal
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6239 72102866-910b-0410-8b05-ffd578937521
2000-03-09 19:40:54 +00:00
Nicola Pero
6358d4df44
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
Nicola Pero
e4c6ec440e
Prefixed ivar names with underscore; fixing dividerThickiness stuff, tidyup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5577 72102866-910b-0410-8b05-ffd578937521
1999-12-18 15:47:25 +00:00
Richard Frith-MacDonald
738bb09559
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 Frith-MacDonald
a3c6189002
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 Frith-MacDonald
1452e6dc22
Updates suggested by Pascal
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4571 72102866-910b-0410-8b05-ffd578937521
1999-07-12 05:59:41 +00:00
Richard Frith-MacDonald
0c507ab2d0
Some more optimisation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4235 72102866-910b-0410-8b05-ffd578937521
1999-05-10 08:30:14 +00:00