Commit graph

541 commits

Author SHA1 Message Date
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
Gregory John Casamento
840d700ce6 Minor reorganization, added exceptions for classes that don't implement non-keyed archiving.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23040 72102866-910b-0410-8b05-ffd578937521
2006-06-08 04:04:17 +00:00
Gregory John Casamento
1c011de1a5 Additional keyed archiving implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23026 72102866-910b-0410-8b05-ffd578937521
2006-06-04 05:16:37 +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
Richard Frith-MacDonald
bd8932fa1e bugfix for nil argumenmt to makefirstResponder: as reported by andreas hoschler
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22860 72102866-910b-0410-8b05-ffd578937521
2006-05-05 13:41:33 +00:00
Fred Kiefer
d2dcf19356 Allow wrapping of native windows into NSWindow.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22851 72102866-910b-0410-8b05-ffd578937521
2006-05-03 21:09:08 +00:00
Richard Frith-MacDonald
586100b696 Revert change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22837 72102866-910b-0410-8b05-ffd578937521
2006-04-29 04:51:26 +00:00
Richard Frith-MacDonald
f5afe5e93e Minor key equivalent handling improvement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22834 72102866-910b-0410-8b05-ffd578937521
2006-04-28 09:31:33 +00:00
Richard Frith-MacDonald
c2d4e58fb5 Allow for mac style horizontal menu. Also minor code style fixups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22598 72102866-910b-0410-8b05-ffd578937521
2006-03-05 13:21:33 +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
98bc434e88 Fix to properly return YES or NO in BOOL accessors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22412 72102866-910b-0410-8b05-ffd578937521
2006-02-02 20:20:11 +00:00
Richard Frith-Macdonald
6b38e343fe minor amd64 fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22306 72102866-910b-0410-8b05-ffd578937521
2006-01-14 11:39:37 +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
ef3a555cd6 Fix bug #14008
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21858 72102866-910b-0410-8b05-ffd578937521
2005-10-23 10:53:39 +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
694ae7c56a Implemented animate resize.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21240 72102866-910b-0410-8b05-ffd578937521
2005-05-20 14:33:43 +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
d18480663e Added basic implementation for window alpha handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20697 72102866-910b-0410-8b05-ffd578937521
2005-02-12 18:15:25 +00:00
Matt Rice
16af347226 * Source/NSApplication.m (-changeWindowsItem:title:filename:): If the
window can become key, use makeKeyAndOrderFront: as the action.
        (-updateWindowsItem:, -setWindowsMenu): Compare the title to what it
        would be if there was a represented filename, not the filename.
        * Source/NSApplication.m (-orderWindow:relativeTo:): Ditto.
        (-setExcludedFromWindowsMenu): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20675 72102866-910b-0410-8b05-ffd578937521
2005-02-08 19:57:03 +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
Alexander Malmberg
d297a62697 2005-01-18 17:06 Alexander Malmberg <alexander@malmberg.org>
* Source/NSWindow.m
	(-initWithContentRect:styleMask:backing:defer:screen:): Assert that
	the shared application instance has been created instead of just
	calling NSLog. Make the message clearer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20581 72102866-910b-0410-8b05-ffd578937521
2005-01-18 16:04:40 +00:00
Adrian Robert
57d8fc5b92 NSWindow -sendEvent:becomesKeyOnlyIfNeeded now sends mouseDragged events to _lastView, rather than view (if exists) underneath mouse
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20569 72102866-910b-0410-8b05-ffd578937521
2005-01-17 02:12:05 +00:00
Gregory John Casamento
7e6ddd83a6 More undo stuff.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20558 72102866-910b-0410-8b05-ffd578937521
2005-01-15 11:06:01 +00:00
Gregory John Casamento
2f2183fca1 Correction for bug#11409.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20498 72102866-910b-0410-8b05-ffd578937521
2004-12-28 17:06:14 +00:00
Matt Rice
d714152e8f 2004-11-10 Matt Rice <ratmice@yahoo.com>
* Headers/Additions/GNUstepGUI/GSDisplayServer.h (-iconSize): New method        declaration.
        (-iconTileImage): Ditto.
        * Source/GSDisplayServer.m (-resolutionForScreen:): Fix Typo in Docs.
        (-boundsForScreen:): Ditto.
        (-windowBounds:): Ditto.
        (-iconSize): Implement new method.
        (-iconTileImage): Ditto.
        * Source/NSApplication.m (NSAppIconView): Remove
        useWindowmakerIconBackground variable.
        (scaledIconSizeForSize): New function.
        ([NSAppIconView +initialize]): Dont set a default image here. Remove
        usage of GSUseWindowmakerIconBackground default. Use backend tile and
        scale it to the backend icon size.
        ([NSAppIconView -drawRect:]): Remove usage of
        useWindowmakerIconBackground. Draw cells with the backend icon size.
        ([NSAppIconView -setImage:]): Set the image to a scaled copy.
        setNeedsDisplay instead of drawing directly.
        ([NSApplication -_appIconInit]): Use backend icon size.
        * Source/NSWindow.m: Remove useWindowmakerIconBackground variable.
        (scaledIconSizeForSize): New function.
        ([NSMiniWindowView +initialize]): Remove usage of
        GSUseWindowmakerIconBackground default. Use backend tile image and scale        it to the backend icon size.
        ([NSMiniWindowView -drawRect:]): Remove usage of
        useWindowmakerIconBackground. Draw cells with the backend iconSize.
        ([NSMiniWindowView -setImage:]): Set the image to a scaled copy.
        setNeedsDisplay instead of drawing directly.
        ([NSMiniWindowView -setTitle:]): setNeedsDisplay instead of drawing
        directly.
        ([NSWindow -miniaturize:]): Use backend icon size.
        * Documentation/GuiUser/DefaultsSummary.gsdoc: Remove docs for
        GSUseWindowmakerIconBackground.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20336 72102866-910b-0410-8b05-ffd578937521
2004-11-10 17:12:57 +00:00
Quentin Mathe
a93430ad56 Improved the NSWindow positioning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20306 72102866-910b-0410-8b05-ffd578937521
2004-11-07 18:03:50 +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
Alexander Malmberg
da55fbe8a0 (-setFrameFromString:): Don't change the size of the window if it isn't resizable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19905 72102866-910b-0410-8b05-ffd578937521
2004-08-23 15:34:34 +00:00
Alexander Malmberg
8a4361bbae Make _frame in -gui the window frame always. Add methods for converting to/from screen frames.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19855 72102866-910b-0410-8b05-ffd578937521
2004-08-09 12:59:53 +00:00
Adrian Robert
5c887a9ec7 fixed tag typo messing up the gsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19791 72102866-910b-0410-8b05-ffd578937521
2004-07-29 15:13:36 +00:00
Alexander Malmberg
8335596ee3 Make -setBackgroundColor: redisplay the window background. Fix frame constraining.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19785 72102866-910b-0410-8b05-ffd578937521
2004-07-28 17:56:57 +00:00
Alexander Malmberg
002efa32ed Add GSUseWindowmakerIconBackground default.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19771 72102866-910b-0410-8b05-ffd578937521
2004-07-22 23:57:46 +00:00
Alexander Malmberg
0b29070af3 Rewrite autodisplay handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19725 72102866-910b-0410-8b05-ffd578937521
2004-07-12 23:19:14 +00:00
Alexander Malmberg
7ac30eed06 Reorganize top-level view handling and implement -gui-managed window decorations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19687 72102866-910b-0410-8b05-ffd578937521
2004-07-06 20:20:31 +00:00
Quentin Mathe
aca8e03fed Minor changes to better support the toolbar validation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19391 72102866-910b-0410-8b05-ffd578937521
2004-05-23 18:39:07 +00:00
Eric Sersale
dc4eb1619b *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19235 72102866-910b-0410-8b05-ffd578937521
2004-05-04 12:46:48 +00:00
Quentin Mathe
15eebccd95 NSToolbar methods removed in NSWindow
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18865 72102866-910b-0410-8b05-ffd578937521
2004-03-23 04:53:11 +00:00
Fred Kiefer
2ea0c80f9f Corrected cancling of _handleWindowNeedsDisplay.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18477 72102866-910b-0410-8b05-ffd578937521
2004-01-25 14:16:09 +00:00
Sergii Stoian
73f6eaa73b NSMiniWindowView fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18417 72102866-910b-0410-8b05-ffd578937521
2004-01-15 10:04:04 +00:00
Adam Fedor
53bf81fa36 Window ordering fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18363 72102866-910b-0410-8b05-ffd578937521
2004-01-10 19:40:43 +00:00
Alexander Malmberg
b5f45d7334 (-_handleWindowNeedsDisplay:): Disable flushing while displaying and flush when all displaying is done.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18260 72102866-910b-0410-8b05-ffd578937521
2003-12-23 17:17:39 +00:00
Fred Kiefer
1c14dac8ed Cache runloop modes array.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18231 72102866-910b-0410-8b05-ffd578937521
2003-11-29 01:36:50 +00:00
Alexander Malmberg
720ddc11b5 Ignore most events sent to windows that have been ordered out. Synchronize [NSPanel -sendEvent:] and [NSWindow -sendEvent:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18215 72102866-910b-0410-8b05-ffd578937521
2003-11-26 23:02:20 +00:00
Alexander Malmberg
1f9cb4a03f Make sure NSApp's references to the key and main window are cleared if the key/main window is deallocated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18212 72102866-910b-0410-8b05-ffd578937521
2003-11-26 13:58:32 +00:00
Alexander Malmberg
da4e243597 Always start the window auto-display performer when ordering a window in.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18203 72102866-910b-0410-8b05-ffd578937521
2003-11-25 16:27:15 +00:00
Adam Fedor
e74cf34dc6 Window focus fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18095 72102866-910b-0410-8b05-ffd578937521
2003-11-19 16:01:53 +00:00
Gregory John Casamento
ff53f21b06 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18075 72102866-910b-0410-8b05-ffd578937521
2003-11-11 19:40:18 +00:00
Richard Frith-Macdonald
27c626ce07 Remove FIXME
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17996 72102866-910b-0410-8b05-ffd578937521
2003-10-28 21:33:52 +00:00
Richard Frith-Macdonald
0730df1fc4 DnD fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17994 72102866-910b-0410-8b05-ffd578937521
2003-10-28 20:27:54 +00:00
Adam Fedor
7bbabe4e72 Fix PR #5849 window deminiaturize.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17945 72102866-910b-0410-8b05-ffd578937521
2003-10-21 03:10:24 +00:00
Alexander Malmberg
c2cff94ce3 (-miniaturize:, -deminiaturize:): Check that the window can be miniaturized/deminiaturized before doing anything.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17788 72102866-910b-0410-8b05-ffd578937521
2003-10-07 12:34:10 +00:00
Benhur Stein
1a6ef7f076 Set frame to autosaved frame in defaults
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17772 72102866-910b-0410-8b05-ffd578937521
2003-10-03 14:09:58 +00:00
Benhur Stein
681ef962f9 Removed windowsLock variable from NSWindow
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17771 72102866-910b-0410-8b05-ffd578937521
2003-10-03 14:00:28 +00:00
Alexander Malmberg
1fcb726542 Only force a display of the content view if we're being ordered _to_ the screen.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17708 72102866-910b-0410-8b05-ffd578937521
2003-09-23 17:16:59 +00:00
Adam Fedor
50b7d5288b Revert last doc close and fix releaseWhenClosed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17691 72102866-910b-0410-8b05-ffd578937521
2003-09-21 02:27:50 +00:00
Adam Fedor
1d187a4550 Document close fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17688 72102866-910b-0410-8b05-ffd578937521
2003-09-20 03:07:55 +00:00
Alexander Malmberg
f85a2e5f12 Change return type of -initWithWindowRef: to id.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17620 72102866-910b-0410-8b05-ffd578937521
2003-09-04 16:47:30 +00:00
Fred Kiefer
98da20e7b6 In [performClose:] call the method [shouldCloseWindowController:]
on the document instead of [windowShouldClose:]


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17508 72102866-910b-0410-8b05-ffd578937521
2003-08-20 14:12:43 +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
0e06373598 Minor doc fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17300 72102866-910b-0410-8b05-ffd578937521
2003-07-22 16:32:30 +00:00
Richard Frith-Macdonald
b04ce4006b Minor memory leak fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17287 72102866-910b-0410-8b05-ffd578937521
2003-07-22 05:18:05 +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
8184380380 Set _windowNum to 0 so the backend window will be recreated when required.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16715 72102866-910b-0410-8b05-ffd578937521
2003-05-13 18:26:20 +00:00
Richard Frith-Macdonald
f4d75d0ffb bugfix for window position constraint
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16546 72102866-910b-0410-8b05-ffd578937521
2003-04-26 07:17:24 +00:00
Richard Frith-Macdonald
15aab01ceb Try to compensate for changes in screen size.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16545 72102866-910b-0410-8b05-ffd578937521
2003-04-26 06:39:49 +00:00
Fred Kiefer
f649a1bb4b Removed unused local variable in [sendEvent:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16542 72102866-910b-0410-8b05-ffd578937521
2003-04-25 22:54:39 +00:00
Richard Frith-Macdonald
188be4b3e1 Adjust browser columns size to match window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16537 72102866-910b-0410-8b05-ffd578937521
2003-04-25 07:04:57 +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
Sergii Stoian
8b47399e27 Draw content before backend window ordering
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16397 72102866-910b-0410-8b05-ffd578937521
2003-04-09 07:18:44 +00:00
Alexander Malmberg
83f252e89a Make -setNeedsDisplay* safe to use from performers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16381 72102866-910b-0410-8b05-ffd578937521
2003-04-06 18:03:33 +00:00
Adam Fedor
ff8e8d0cc9 Set initialFirstResponder when becomeKeyWindow
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16311 72102866-910b-0410-8b05-ffd578937521
2003-04-01 05:13:16 +00:00
Fred Kiefer
4a0065ab77 In [sendEvent:] use [popUpContextMenu:withEvent:forView:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16211 72102866-910b-0410-8b05-ffd578937521
2003-03-19 16:16:12 +00:00
Richard Frith-Macdonald
f1de0e1216 Fix for miniwindows not being drawn properly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16147 72102866-910b-0410-8b05-ffd578937521
2003-03-07 09:04:54 +00:00
Alexander Malmberg
5078562c49 (-update): Don't redisplay the window.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16056 72102866-910b-0410-8b05-ffd578937521
2003-02-23 12:32:27 +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
Alexander Malmberg
3b7c4e2a12 Minor changes and cleanups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15925 72102866-910b-0410-8b05-ffd578937521
2003-02-10 14:29:31 +00:00
Alexander Malmberg
4648c930ce Implement handling of pop-up menus attached to NSView:s.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15906 72102866-910b-0410-8b05-ffd578937521
2003-02-08 21:39:31 +00:00
Fred Kiefer
c768cb1bb9 Rewrote all the toolbar methods. Implemented [zoom:]. Extracted
new method [_terminateBackendWindow] from [dealloc] and use it to
implement one shot windows in the orderOut case of
[orderWindow:relativeTo:]. Removed frame restriction from
[setFrameFromString:]  as this gets done in
[setFrame:display:]. Use [NSScreen visibleFrame] here and in
[stringWithSavedFrame]. Implemented [cascadeTopLeftFromPoint:].
Removed unused and empty methods [performHide:] and [performUnhide:].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15848 72102866-910b-0410-8b05-ffd578937521
2003-02-02 00:58:32 +00:00
Nicola Pero
ba494c7cd9 Lock focus / unlock focus optimizations and fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15839 72102866-910b-0410-8b05-ffd578937521
2003-02-01 05:10:00 +00:00
Nicola Pero
710652a86c Fixed compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15775 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:29:00 +00:00
Alexander Malmberg
9b5e901493 Clean up some prototypes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15714 72102866-910b-0410-8b05-ffd578937521
2003-01-26 17:49:35 +00:00
Nicola Pero
4474394422 Fixed drag&drop in deferred windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15361 72102866-910b-0410-8b05-ffd578937521
2002-12-28 00:49:40 +00:00
Adam Fedor
1822484c60 Only allow main menu to become key and try to find another one.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14958 72102866-910b-0410-8b05-ffd578937521
2002-11-08 16:39:41 +00:00
Adam Fedor
00f196e1c0 Document-base app fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14904 72102866-910b-0410-8b05-ffd578937521
2002-11-01 22:42:52 +00:00
Adam Fedor
527fd35378 More focus fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14800 72102866-910b-0410-8b05-ffd578937521
2002-10-20 01:48:55 +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
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
Adam Fedor
d9dda82498 Constrain windows that are off bottom of screen also.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14695 72102866-910b-0410-8b05-ffd578937521
2002-10-10 03:10:31 +00:00
Adam Fedor
323e056230 Fix focus on hide problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14694 72102866-910b-0410-8b05-ffd578937521
2002-10-09 17:35:03 +00:00
Adam Fedor
50bfcae3da New ivar for mouseDown view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14635 72102866-910b-0410-8b05-ffd578937521
2002-10-04 02:44:13 +00:00
Nicola Pero
3c735f0c53 Remove the delegate from the notification center in -dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14531 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:33:09 +00:00
Richard Frith-Macdonald
71d95bac99 Fix some coding standard errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14520 72102866-910b-0410-8b05-ffd578937521
2002-09-23 05:52:36 +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
Alexander Malmberg
352ae1bc9a Make last change C89 compatible.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14465 72102866-910b-0410-8b05-ffd578937521
2002-09-16 17:11:12 +00:00
Alexander Malmberg
98a06d10ca In -close, retain and release self to make sure it isn't deallocated too early.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14464 72102866-910b-0410-8b05-ffd578937521
2002-09-16 17:08:18 +00:00
Adam Fedor
01765b367c Fix up for change in NSBrowser
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14419 72102866-910b-0410-8b05-ffd578937521
2002-09-08 04:21:10 +00:00
Adam Fedor
24c44dd051 Fix window mouseUp. Doc building
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14327 72102866-910b-0410-8b05-ffd578937521
2002-08-25 02:47:00 +00:00
Nicola Pero
41d98526bc Dont' flip coordinates in frame autosaved strings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14260 72102866-910b-0410-8b05-ffd578937521
2002-08-09 10:14:45 +00:00
Adam Fedor
f51c1bbf10 Merge from 0.8.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14232 72102866-910b-0410-8b05-ffd578937521
2002-08-03 03:32:19 +00:00
Nicola Pero
60b07803c5 Set the _f.is_key flag just after checking it, in becomeKeyWindow
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14163 72102866-910b-0410-8b05-ffd578937521
2002-07-17 13:29:20 +00:00
Nicola Pero
8db5c0dc34 Use the window view, not the content view, to draw cached images
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14161 72102866-910b-0410-8b05-ffd578937521
2002-07-16 17:42:48 +00:00
Nicola Pero
da741d0545 Removed debugging NSLog statement left in error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14155 72102866-910b-0410-8b05-ffd578937521
2002-07-15 13:57:21 +00:00
Nicola Pero
64ebc0c483 Implemented caching images
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14139 72102866-910b-0410-8b05-ffd578937521
2002-07-12 11:12:32 +00:00
Gregory John Casamento
d2c4db3d9b Adding a number of changes. The skeleton implementations of NSToolbar and
NSToolbarItem as well as a number of miscellaneous things I have had laying
around for a while.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13997 72102866-910b-0410-8b05-ffd578937521
2002-06-30 05:14:21 +00:00
Richard Frith-Macdonald
bcf07f45a6 Flushing fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13990 72102866-910b-0410-8b05-ffd578937521
2002-06-28 08:05:49 +00:00
Adam Fedor
6d2fb13215 Fix makeKey makeMain with defered windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13927 72102866-910b-0410-8b05-ffd578937521
2002-06-22 03:44:57 +00:00
Alexander Malmberg
1242cd434e Make _miniaturizedImage default to the application icon.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13805 72102866-910b-0410-8b05-ffd578937521
2002-06-08 20:38:11 +00:00
Nicola Pero
484f4f444f Tidied comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13670 72102866-910b-0410-8b05-ffd578937521
2002-05-21 15:54:10 +00:00
Adam Fedor
6d269aec7d New mouselocation methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13530 72102866-910b-0410-8b05-ffd578937521
2002-04-23 20:50:24 +00:00
Adam Fedor
309e040ca5 Screen handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13524 72102866-910b-0410-8b05-ffd578937521
2002-04-22 15:45:10 +00:00
Nicola Pero
be371e47d7 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
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
Nicola Pero
c00d0637e6 Tidied #includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13311 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:39:10 +00:00
Adam Fedor
79c5024052 Changes for backend miniwin control
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13289 72102866-910b-0410-8b05-ffd578937521
2002-04-02 03:13:14 +00:00
Adam Fedor
354b959318 Better release/retain of server and context
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13286 72102866-910b-0410-8b05-ffd578937521
2002-04-01 17:34:08 +00:00
Fred Kiefer
491cb7aedf [setFrame:display:] do nothing if the frame after all the
corrections did not change from its current extend.
In [makeKeyWindow] and [makeMainWindow] do nothing if the window
is already key/main.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13279 72102866-910b-0410-8b05-ffd578937521
2002-03-31 20:17:20 +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
Adam Fedor
6af0d271a6 For resize, get new fram origin in event location field
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13160 72102866-910b-0410-8b05-ffd578937521
2002-03-19 20:10:26 +00:00
Richard Frith-Macdonald
c1ffddcdc8 Rename middl toother mouse
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12948 72102866-910b-0410-8b05-ffd578937521
2002-03-02 07:23:18 +00:00
Nicola Pero
4d082169e7 Hand a NSFlagsChanged event to the _firstResonder flagsChanges: method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12751 72102866-910b-0410-8b05-ffd578937521
2002-02-25 14:31:36 +00:00
Nicola Pero
f67c71a580 Don't remove the window autosave frame for the user defaults on dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12692 72102866-910b-0410-8b05-ffd578937521
2002-02-22 23:05:06 +00:00
Nicola Pero
f93f57ced9 Simplified sending keyUp: ... send them to the current first responder
rather than trying to save the original first responder


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12630 72102866-910b-0410-8b05-ffd578937521
2002-02-21 23:40:39 +00:00
Gregory John Casamento
3572c9dc61 Made correction necessary for NSWindow.m to build w/ gcc < 3.0. This is necessary to support systems with earlier compilers (such as Darwin).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12562 72102866-910b-0410-8b05-ffd578937521
2002-02-19 02:33:52 +00:00
Pierre-Yves Rivaille
632eaef8bc Source/NSWindow.m ([NSWindow -close]): ignore the call if the window
is already closed


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12558 72102866-910b-0410-8b05-ffd578937521
2002-02-18 12:10:06 +00:00
Richard Frith-Macdonald
6d009268eb Patch to check style mask when miniaturising
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12462 72102866-910b-0410-8b05-ffd578937521
2002-02-09 08:58:37 +00:00
Richard Frith-Macdonald
e931b93591 Fix mouseDown invocation in NSWindow
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12416 72102866-910b-0410-8b05-ffd578937521
2002-02-06 10:29:26 +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
Adam Fedor
4b54ab9f06 New AppKit events. Updates for autogsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12217 72102866-910b-0410-8b05-ffd578937521
2002-01-26 04:14:38 +00:00
Richard Frith-Macdonald
e720221882 Don't send dragging messages to a view which has been removed from its window.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12147 72102866-910b-0410-8b05-ffd578937521
2002-01-21 04:22:55 +00:00
Richard Frith-Macdonald
dc04c6077a Some bugfixing in DnD logic.CVS: ----------------------------------------------------------------------
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12143 72102866-910b-0410-8b05-ffd578937521
2002-01-20 21:08:58 +00:00
Richard Frith-Macdonald
4cce5e649a Minor retain/release fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12142 72102866-910b-0410-8b05-ffd578937521
2002-01-20 17:54:13 +00:00
Adam Fedor
9f924be488 Modal session and cursor fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12112 72102866-910b-0410-8b05-ffd578937521
2002-01-15 16:43:13 +00:00
Adam Fedor
65de9f1abd Propery constrain window frames
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12073 72102866-910b-0410-8b05-ffd578937521
2002-01-09 20:41:07 +00:00
Fred Kiefer
607e008095 New Implemantion of [dragImage:...slideBack:]. Replaced call to
[NSGraphicContext _postExternalEvents:] with [NSDragInfo
postDragEvent:].
Replaced most [NSScreen mainScreen] with [self screen].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11855 72102866-910b-0410-8b05-ffd578937521
2001-12-21 00:45:48 +00:00
Pierre-Yves Rivaille
740307b774 Source/NSWindow.m ([NSWindow -setTitleWithRepresentedFilename:]):
([NSWindow -setTitle:]):
                  ([NSWindow -_initBackendWindow:]):
changed cString into lossyCString during DPStitlewindow calls


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11809 72102866-910b-0410-8b05-ffd578937521
2001-12-18 14:24:08 +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
Adam Fedor
6923231b25 Improve NSDragging protocol handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11699 72102866-910b-0410-8b05-ffd578937521
2001-12-11 04:31:08 +00:00
Fred Kiefer
532a993b87 Implemented new methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11539 72102866-910b-0410-8b05-ffd578937521
2001-11-26 20:25:50 +00:00
Nicola Pero
244738ba03 Fixed deallocation when views are deallocated after the window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11215 72102866-910b-0410-8b05-ffd578937521
2001-10-22 17:50:07 +00:00
Adam Fedor
22741391dc Rewrite NSPrintPanel and NSPageLayout, prepare for printing improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11155 72102866-910b-0410-8b05-ffd578937521
2001-10-16 02:09:09 +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
c7ac9f7827 setFrame: to new constrained rect
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11075 72102866-910b-0410-8b05-ffd578937521
2001-10-02 17:38:21 +00:00
Fred Kiefer
87aaee9c56 Cache the default notification center. In [sendEvent:] handle case
of NSScrollWheel event.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10768 72102866-910b-0410-8b05-ffd578937521
2001-08-21 23:24:00 +00:00
Richard Frith-Macdonald
911b5993e8 Patch by george comitted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10608 72102866-910b-0410-8b05-ffd578937521
2001-07-30 14:17:37 +00:00
Richard Frith-Macdonald
328110a006 Constrain window to screen on initialisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10598 72102866-910b-0410-8b05-ffd578937521
2001-07-28 05:09:14 +00:00
Nicola Pero
73cd5d26d4 Do not retain the window controller - it owns us
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10526 72102866-910b-0410-8b05-ffd578937521
2001-07-20 09:16:35 +00:00
Adam Fedor
a56278096e Merge from 0.7.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10329 72102866-910b-0410-8b05-ffd578937521
2001-07-09 02:49:03 +00:00
Adam Fedor
7394190039 Set visible flag to NO on miniaturize
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9595 72102866-910b-0410-8b05-ffd578937521
2001-04-17 03:17:23 +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
Fred Kiefer
cbf29dd632 [_initBackendWindow:] corrected the registration of drag types,
when a window gets realized. We have to use a copy here, as the
original will get changed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9163 72102866-910b-0410-8b05-ffd578937521
2001-02-19 00:39:28 +00:00
Richard Frith-MacDonald
fbaa1522c3 Cenyter miniwindow title
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9051 72102866-910b-0410-8b05-ffd578937521
2001-02-08 07:02:39 +00:00
Nicola Pero
2b722a30f8 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9049 72102866-910b-0410-8b05-ffd578937521
2001-02-08 00:00:32 +00:00
Richard Frith-MacDonald
38e49853d5 Miniwindow style improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9018 72102866-910b-0410-8b05-ffd578937521
2001-02-07 11:17:38 +00:00
Nicola Pero
a7967b1511 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8687 72102866-910b-0410-8b05-ffd578937521
2001-01-18 23:04:04 +00:00
Nicola Pero
62797f6331 Added a little private method to allow implentation of NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8393 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:20:33 +00:00
Nicola Pero
0cec48542b Tidy up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8325 72102866-910b-0410-8b05-ffd578937521
2000-12-16 02:03:03 +00:00
Fred Kiefer
0916c83f58 Implemented [print:], [fax:], [dataWithEPSInsideRect:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8105 72102866-910b-0410-8b05-ffd578937521
2000-11-13 15:18:11 +00:00
Richard Frith-MacDonald
19e0fc3d15 Added some fixes for Apple runtime
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7940 72102866-910b-0410-8b05-ffd578937521
2000-10-31 12:47:09 +00:00
Adam Fedor
880129448d Window focus improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7827 72102866-910b-0410-8b05-ffd578937521
2000-10-16 19:20:32 +00:00
Fred Kiefer
5b30b8c04d [_initBackendWindow] always redisplay _wv
[setFrame:display:] set the frame of _wv directly if deferred.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7698 72102866-910b-0410-8b05-ffd578937521
2000-10-02 17:48:46 +00:00
Adam Fedor
358af35b5f Deferred window fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7646 72102866-910b-0410-8b05-ffd578937521
2000-09-29 03:55:30 +00:00
Adam Fedor
77c74a324e Implementation of deferred windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7623 72102866-910b-0410-8b05-ffd578937521
2000-09-27 22:18:34 +00:00
Mirko Viviani
df00948e11 2000-09-10 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* Tools/gpbs.m ([PasteboardEntry -lostOwnership]): workaround to avoid
	core dump due to NSConnection bug.

	* Source/NSWindow.m ([NSWindow -keyDown:]): discard and do not perform
	key equivalent for null character events. Triggered return key for
	default button cell.
	([NSWindow -defaultButtonCell]), ([NSWindow -setDefaultButtonCell:]),
	([NSWindow -disableKeyEquivalentForDefaultButtonCell]),
	([NSWindow -enableKeyEquivalentForDefaultButtonCell]): implemented.
	([NSWindow -dealloc]): release _defaultButtonCell

	* Headers/AppKit/NSWindow.h: added ivar and flag.

	* Source/NSOpenPanel.m ([NSOpenPanel -controlTextDidEndEditing:]),
	([NSOpenPanel -controlTextDidChange:]), ([NSOpenPanel -ok:]):
	implemented keyboard navigation.
	([NSOpenPanel -runModalForDirectory:file:types:]): do not allow
	branch selection if can't choose directories.
	([NSOpenPanel -_selectTextInColumn:]),
	([NSOpenPanel -_selectCellName:]): new private methods.
	([NSOpenPanel -filenames]): change for choose dirs.

	* Source/NSText.m ([NSText -keyDown:]): forwards text field illegal
	events to the next responder.

	* Source/NSBrowser.m ([NSBrowser -moveUp:]), ([NSBrowser -moveDown:]),
	([NSBrowser -moveLeft:]), ([NSBrowser -moveRight:]),
	([NSBrowser -keyDown:]): implemented keyboard navigation
	([NSBrowser -selectedCell]), ([NSBrowser -selectedCells]),
	([NSBrowser -columnOfMatrix:]), ([NSBrowser -selectedColumn]):
	changed return value from NSNotFound to -1 to conforms to NSMatrix
	([NSBrowser -doClick:]): fix for new return values, added support for
	multiple and branch selection.
	([NSBrowser -setLastColumn:]): mark column titles need display
	([NSBrowser -_getTitleOfColumn:]): fix for multiple selection.

	* Source/NSCell.m ([NSCell -setState:]): bug fix: set value to
	NSOnState if someone try to set NSMixedState in a two state cell.
	([NSCell -performClick:]): do not perform click if the cell is
	disabled.

	* Source/NSMatrix.m ([NSMatrix
	-_privateFrame:mode:numberOfRows:numberOfColumns:]),
	([NSMatrix -deselectAllCells]), ([NSMatrix -deselectSelectedCell]),
	([NSMatrix -selectAll:]): bug fix: set _selectRow and _selectColumn
	to -1 when no cells are selected
	([NSMatrix -performKeyEquivalent:]): saves _selectedRow and
	_selectedColumn.
	([NSMatrix -getRow:column:ofCell:]): check for null values for row and
	column.
	([NSMatrix -selectCellAtRow:column:]): deselect the current selection
	only in NSRadioModeMatrix mode.
	([NSMatrix -mouseDown:]): use the new code also for NSRadioModeMatrix
	and fix for this mode.

	* Source/NSSavePanel.m ([NSSavePanel -selectCellWithString:]): select
	text of the cell and enable okButton.
	([NSSavePanel -controlTextDidChange:]): implemented.
	([NSSavePanel -controlTextDidEndEditing:]): removed.
	([NSSavePanel -browser:createRowsForColumn:inMatrix:]): follows
	symbolic links.
	([NSSavePanel -_initWithoutGModel]): set browser doubleAction to
	performClick: of the _okButton. Set _okButton as default window button.
	Disable _okButton.
	([NSSavePanel -browser:selectCellWithString:inColumn:]),
	([NSSavePanel -selectText:]), ([NSSavePanel -keyDown:]): implemented
	keyboard navigation.
	([NSSavePanel -runModalForDirectory:file:]): enable _okButton if
	filename is valid.
	([NSSavePanel -_selectTextInColumn:]), ([NSSavePanel -_selectText:]),
	([NSSavePanel -_selectCellName:]): new private methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7468 72102866-910b-0410-8b05-ffd578937521
2000-09-10 21:55:17 +00:00
Nicola Pero
b9f192771d Various fixes and some new code for proper management of very big window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7451 72102866-910b-0410-8b05-ffd578937521
2000-09-08 17:07:04 +00:00
Nicola Pero
26a0416e7c Prefixed all ivars with underscore
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7395 72102866-910b-0410-8b05-ffd578937521
2000-09-05 17:22:46 +00:00
Nicola Pero
46fe4a5ba8 Updated processing of key events to fix in the backend
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7369 72102866-910b-0410-8b05-ffd578937521
2000-09-04 02:00:14 +00:00
Adam Fedor
8298410a10 Merge 0.6.6 branch into main.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7188 72102866-910b-0410-8b05-ffd578937521
2000-08-07 22:06:04 +00:00
Richard Frith-MacDonald
d1bbe54ace Added middle mouse button support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7140 72102866-910b-0410-8b05-ffd578937521
2000-08-03 08:48:22 +00:00
Nicola Pero
9ee23df74d Tiny tidy up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6676 72102866-910b-0410-8b05-ffd578937521
2000-06-13 17:34:47 +00:00
Adam Fedor
c256b1df22 View display an tiff improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6463 72102866-910b-0410-8b05-ffd578937521
2000-04-13 19:23:16 +00:00
Jonathan Gapen
ed92f00777 Document system change to NSWindow, GC update for NSWindowController
New method implemented in NSWorkspace


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6434 72102866-910b-0410-8b05-ffd578937521
2000-04-07 23:49:10 +00:00
Richard Frith-MacDonald
a2f6d72b82 Tidyup responder ivars
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6329 72102866-910b-0410-8b05-ffd578937521
2000-03-19 07:33:26 +00:00
Adam Fedor
2c92f9cdaa wraster library support and alpha/compositing improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6272 72102866-910b-0410-8b05-ffd578937521
2000-03-12 04:35:43 +00:00
Pascal J. Bourguignon
c5c35b80ef Updated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6266 72102866-910b-0410-8b05-ffd578937521
2000-03-10 21:48:52 +00:00
Richard Frith-MacDonald
42e851197f Minor updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6223 72102866-910b-0410-8b05-ffd578937521
2000-03-08 21:26:11 +00:00
Richard Frith-MacDonald
b23022dbb0 Implement setlevel: for NSWindow
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6218 72102866-910b-0410-8b05-ffd578937521
2000-03-08 18:08:26 +00:00
Richard Frith-MacDonald
6956d4e182 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6215 72102866-910b-0410-8b05-ffd578937521
2000-03-08 16:31:32 +00:00
Richard Frith-MacDonald
8282e3dd5a Coordinate handling fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6213 72102866-910b-0410-8b05-ffd578937521
2000-03-08 14:15:17 +00:00
Richard Frith-MacDonald
d8fa85e8a2 Tidied coordinate stuff to allow for window borders.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6207 72102866-910b-0410-8b05-ffd578937521
2000-03-07 12:00:00 +00:00
Richard Frith-MacDonald
5950d6f837 Titlebar state change code added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6194 72102866-910b-0410-8b05-ffd578937521
2000-03-06 21:10:08 +00:00
Richard Frith-MacDonald
6a18da4e1e Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6189 72102866-910b-0410-8b05-ffd578937521
2000-03-06 11:39:22 +00:00
Richard Frith-MacDonald
a123efb34e Small nswindow patch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6166 72102866-910b-0410-8b05-ffd578937521
2000-03-04 07:55:42 +00:00
Nicola Pero
e9679184b5 Added two macosx methods with trivial implementation to avoid crash
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6162 72102866-910b-0410-8b05-ffd578937521
2000-03-03 02:22:11 +00:00
Richard Frith-MacDonald
381e499e2c Support for miniwindows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6147 72102866-910b-0410-8b05-ffd578937521
2000-03-01 17:21:08 +00:00
Richard Frith-MacDonald
2189aa34d7 Window close/dealloc fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6115 72102866-910b-0410-8b05-ffd578937521
2000-02-25 17:43:32 +00:00
Richard Frith-MacDonald
b09888035a Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6048 72102866-910b-0410-8b05-ffd578937521
2000-02-21 16:25:29 +00:00
Richard Frith-MacDonald
96f84df118 Retain/release fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6047 72102866-910b-0410-8b05-ffd578937521
2000-02-21 15:36:07 +00:00
Richard Frith-MacDonald
d144de1a07 Window retain/release fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6046 72102866-910b-0410-8b05-ffd578937521
2000-02-21 15:33:30 +00:00
Adam Fedor
b33bb418f4 Merge from 0.6.5
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6040 72102866-910b-0410-8b05-ffd578937521
2000-02-19 00:40:47 +00:00
Richard Frith-MacDonald
fff420f2ef Tidied warning logs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5792 72102866-910b-0410-8b05-ffd578937521
2000-01-16 09:52:49 +00:00
Nicola Pero
9dd6cd8aad Updated for change in NSView ivar names; access ivar window_num
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5721 72102866-910b-0410-8b05-ffd578937521
2000-01-10 02:09:33 +00:00
Richard Frith-MacDonald
185ed4ed38 Menu location save/restore fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5685 72102866-910b-0410-8b05-ffd578937521
2000-01-07 16:46:35 +00:00
Richard Frith-MacDonald
5c769d641e Focus fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5647 72102866-910b-0410-8b05-ffd578937521
2000-01-02 20:24:56 +00:00
Richard Frith-MacDonald
ea78ff53a9 Minor DnD fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5607 72102866-910b-0410-8b05-ffd578937521
1999-12-22 10:12:48 +00:00
Richard Frith-MacDonald
ab48c495ec Minor bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5596 72102866-910b-0410-8b05-ffd578937521
1999-12-21 15:32:20 +00:00
Richard Frith-MacDonald
ae2c781b1b Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5553 72102866-910b-0410-8b05-ffd578937521
1999-12-17 12:06:35 +00:00
Richard Frith-MacDonald
ac6f996208 Tidy up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5534 72102866-910b-0410-8b05-ffd578937521
1999-12-16 04:53:50 +00:00
Richard Frith-MacDonald
28b6b4192f Minor fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5520 72102866-910b-0410-8b05-ffd578937521
1999-12-15 15:28:18 +00:00
Richard Frith-MacDonald
2d3a5a1ac6 Archiving fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5518 72102866-910b-0410-8b05-ffd578937521
1999-12-15 11:22:08 +00:00
Richard Frith-MacDonald
442bb28f53 Window ordering/focus fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5506 72102866-910b-0410-8b05-ffd578937521
1999-12-14 16:53:23 +00:00
Adam Fedor
647e29924b DPS Update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5501 72102866-910b-0410-8b05-ffd578937521
1999-12-13 22:14:54 +00:00
Richard Frith-MacDonald
73e9bcaf0e Various minor window bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5408 72102866-910b-0410-8b05-ffd578937521
1999-12-08 15:01:52 +00:00
Nicola Pero
aea0593982 Prefixed ivar delegate with underscore
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5392 72102866-910b-0410-8b05-ffd578937521
1999-12-07 05:53:26 +00:00
Richard Frith-MacDonald
93ac0b67a4 Added DPSdocedited
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5384 72102866-910b-0410-8b05-ffd578937521
1999-12-06 13:32:01 +00:00
Richard Frith-MacDonald
7afa138f94 Tidy encoding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5374 72102866-910b-0410-8b05-ffd578937521
1999-12-03 19:23:49 +00:00
Richard Frith-MacDonald
c4fccde9e3 Tidied some stuff up for IB
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5373 72102866-910b-0410-8b05-ffd578937521
1999-12-03 14:51:56 +00:00
Richard Frith-MacDonald
661f85f0d5 More windows menu fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5370 72102866-910b-0410-8b05-ffd578937521
1999-12-03 11:32:39 +00:00
Richard Frith-MacDonald
8176f4ea09 Tidied up some inefficient code that was causing window to be checked much
more often that needed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5344 72102866-910b-0410-8b05-ffd578937521
1999-12-01 12:02:09 +00:00
Richard Frith-MacDonald
9bced6fe97 Image updates from Jonathon Gapen
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5343 72102866-910b-0410-8b05-ffd578937521
1999-12-01 08:26:33 +00:00
Richard Frith-MacDonald
009e69756d Window menu fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5337 72102866-910b-0410-8b05-ffd578937521
1999-11-30 20:26:33 +00:00
Richard Frith-MacDonald
06a6deb7d4 Implement real coding for NSWindow
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5336 72102866-910b-0410-8b05-ffd578937521
1999-11-30 19:44:53 +00:00
Richard Frith-MacDonald
429d56ad48 Tidy focus changing for windows being ordered out
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5320 72102866-910b-0410-8b05-ffd578937521
1999-11-29 06:12:34 +00:00
Richard Frith-MacDonald
1491a48488 Keyboard focus handling fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5264 72102866-910b-0410-8b05-ffd578937521
1999-11-23 14:11:14 +00:00
Richard Frith-MacDonald
25c9581630 Fix unhide error - now activates app irrespective of whether it was hidden.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5258 72102866-910b-0410-8b05-ffd578937521
1999-11-22 17:22:38 +00:00
Richard Frith-MacDonald
34dec557da Minor tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5256 72102866-910b-0410-8b05-ffd578937521
1999-11-22 16:46:37 +00:00
Richard Frith-MacDonald
ab191734b3 Variosu fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5253 72102866-910b-0410-8b05-ffd578937521
1999-11-22 15:03:41 +00:00
Richard Frith-MacDonald
f5ab35ff5d Change to avoid notifications for hide/unhide, activate/deactivate.
Keep lists of deactivated/hidden windows in application.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5251 72102866-910b-0410-8b05-ffd578937521
1999-11-22 12:58:14 +00:00
Richard Frith-MacDonald
ae30b120ff Some window fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5250 72102866-910b-0410-8b05-ffd578937521
1999-11-22 07:31:01 +00:00
Richard Frith-MacDonald
8970da9f6d Tidy windows menu stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5235 72102866-910b-0410-8b05-ffd578937521
1999-11-18 13:48:00 +00:00
Richard Frith-MacDonald
72ec90f181 Various tidying up of DPS window operations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5234 72102866-910b-0410-8b05-ffd578937521
1999-11-18 11:06:22 +00:00
Nicola Pero
d6cf6096dd Updated key view loop code, to generalize automatic selection of text.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5230 72102866-910b-0410-8b05-ffd578937521
1999-11-18 01:00:58 +00:00
Richard Frith-MacDonald
e714be0c09 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5228 72102866-910b-0410-8b05-ffd578937521
1999-11-17 21:54:12 +00:00
David Lazaro Saz
8f09fdff12 Removed message that made impossible to set the level of a window before
displaying it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5226 72102866-910b-0410-8b05-ffd578937521
1999-11-17 02:37:03 +00:00
Richard Frith-MacDonald
93b63e0430 Fixed typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5197 72102866-910b-0410-8b05-ffd578937521
1999-11-16 09:48:54 +00:00
Richard Frith-MacDonald
87e7715a40 Window/Menu location saving updated to be exactly as per MacOS-X
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5196 72102866-910b-0410-8b05-ffd578937521
1999-11-16 09:40:14 +00:00
Richard Frith-MacDonald
fae5235486 Improve window frame saving
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5195 72102866-910b-0410-8b05-ffd578937521
1999-11-16 07:00:43 +00:00
Richard Frith-MacDonald
540e967ca1 Misc updates to tidy NSWindow and to correct behavior on app activation
and deactivation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5192 72102866-910b-0410-8b05-ffd578937521
1999-11-15 21:45:56 +00:00
Richard Frith-MacDonald
fe4195d6e2 Fixes for cursor updating
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5189 72102866-910b-0410-8b05-ffd578937521
1999-11-15 16:00:47 +00:00
Nicola Pero
6e128ebe88 When moving in the key view loop, select text of newly selected view if it
is a kind of text field.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5183 72102866-910b-0410-8b05-ffd578937521
1999-11-14 21:16:04 +00:00
Nicola Pero
55f34d177a Implemented endEditingFor:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5172 72102866-910b-0410-8b05-ffd578937521
1999-11-14 03:16:39 +00:00
Adam Fedor
97eb87a61c Remove obsolete backend classes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5101 72102866-910b-0410-8b05-ffd578937521
1999-10-29 18:43:48 +00:00
Adam Fedor
ddbe38cfc9 Fix closing X display bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5090 72102866-910b-0410-8b05-ffd578937521
1999-10-27 03:22:11 +00:00
Nicola Pero
5972c4c49c Tiny changing for better sizing of content view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5065 72102866-910b-0410-8b05-ffd578937521
1999-10-23 22:24:43 +00:00
Adam Fedor
2fe1ff8331 Changes to revmoe backend menu classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5062 72102866-910b-0410-8b05-ffd578937521
1999-10-23 02:48:20 +00:00
Adam Fedor
5969d44f37 Rewrite backend for context window ops
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5049 72102866-910b-0410-8b05-ffd578937521
1999-10-21 18:08:50 +00:00
Nicola Pero
b6681852cc Tiny change in keyDown to accomplish the change in NSApplication
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5029 72102866-910b-0410-8b05-ffd578937521
1999-10-18 22:49:29 +00:00
Nicola Pero
f185b5ac43 move back to NSCommandKey for keyEquivalents.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5009 72102866-910b-0410-8b05-ffd578937521
1999-10-14 00:39:46 +00:00
Nicola Pero
1b520eea76 Better process of keyboard events and first responder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5002 72102866-910b-0410-8b05-ffd578937521
1999-10-13 00:51:46 +00:00
Richard Frith-MacDonald
c27b641394 Varioyus patches by N. Pero
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4992 72102866-910b-0410-8b05-ffd578937521
1999-10-12 15:05:37 +00:00
Richard Frith-MacDonald
5d8dd95e38 Make tab and shift-tab movement work.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4978 72102866-910b-0410-8b05-ffd578937521
1999-10-08 07:17:19 +00:00
Richard Frith-MacDonald
6bb0e97b93 Patch for initial first responder stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4965 72102866-910b-0410-8b05-ffd578937521
1999-10-04 06:18:17 +00:00
Michael Silva
dd6369058e Added NSWindowController and the NSDocument* classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4868 72102866-910b-0410-8b05-ffd578937521
1999-09-11 00:52:04 +00:00
Michael Silva
33dbd8054f Fixes galore.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4866 72102866-910b-0410-8b05-ffd578937521
1999-09-10 23:12:48 +00:00
Adam Fedor
0bfd542562 Merge from dawn
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4853 72102866-910b-0410-8b05-ffd578937521
1999-09-09 02:56:20 +00:00
Richard Frith-MacDonald
c4436b7582 fix enable/disable flush
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4835 72102866-910b-0410-8b05-ffd578937521
1999-09-06 05:18:16 +00:00
Richard Frith-MacDonald
001bccf827 Patch by Martin Man <Martin.Man@seznam.cz>
* Source/NSWindow.m ([NSWindow -setFrameTopLeftPoint:]): Corrected
        positioning of window's top left point. X coordinate was ignored
        and Y coordinate was computed in wrong way.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4770 72102866-910b-0410-8b05-ffd578937521
1999-08-26 13:51:56 +00:00
Michael Silva
43e9b45cd3 Fixes galore!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4737 72102866-910b-0410-8b05-ffd578937521
1999-08-22 04:04:38 +00:00
Adam Fedor
a8271413b9 Dragging updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4672 72102866-910b-0410-8b05-ffd578937521
1999-07-29 20:58:04 +00:00