Commit graph

541 commits

Author SHA1 Message Date
Riccardo Mottola
56ceebba48 do not draw form background
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29534 72102866-910b-0410-8b05-ffd578937521
2010-02-10 11:14:21 +00:00
Quentin Mathe
03f98ad1ba Fixed button actions which were sent to the button itself when the target is
the first responder. We don't give anymore the first responder status to a 
button on a click.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29471 72102866-910b-0410-8b05-ffd578937521
2010-02-03 19:12:02 +00:00
Gregory John Casamento
b9bbc50a11 * Source/NSWindow.m: Uncomment updateMenu:.. method call in
-[NSWindow update] method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29383 72102866-910b-0410-8b05-ffd578937521
2010-01-24 08:05:45 +00:00
Gregory John Casamento
15de26b03c Update menu code and set menu on window creation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29373 72102866-910b-0410-8b05-ffd578937521
2010-01-23 23:41:07 +00:00
Riccardo Mottola
16ffbb80ae do not process GSAppKitWindowLeave events for closed windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29332 72102866-910b-0410-8b05-ffd578937521
2010-01-20 14:58:59 +00:00
Gregory John Casamento
b8d262c293 * Source/NSWindow.m: Temporarily revert previous change for debugging.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29302 72102866-910b-0410-8b05-ffd578937521
2010-01-17 06:01:58 +00:00
Gregory John Casamento
6a9dfe8d61 * Source/NSWindow.m: Don't use the flags for key/main window tracking.
These flags are getting out of sync due to different behavior on
	different backends.  Also, it's better to keep the state in one place
	instead of keeping them in sync.  I changed all of the instances of
	_f.is_key to [self isKeyWindow] and all of the instances of _f.is_main
	to [self isMainWindow] and those methods now check with NSApp to 
	determine if the current window is main.   I realize this is slower
	than the previous method of using flags, but it is also more resilient
	and reliable when the backend sends extra events.  This corrects the
	issue on Windows where we were losing the main window and had two 
	windows marked as "main".


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29295 72102866-910b-0410-8b05-ffd578937521
2010-01-16 19:56:27 +00:00
Doug Simons
6b20840967 Raise an exception instead of crashing (at least on Windows) when we fail to obtain a window from the back end.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29284 72102866-910b-0410-8b05-ffd578937521
2010-01-14 23:57:11 +00:00
Gregory John Casamento
ebebc38558 * Headers/Additions/GNUstepGUI/GSTheme.h: Added methods
to support adding menus and processing commands from windows, if
       appropriate.
       * Headers/Additions/GNUstepGUI/GSWindowDecorationView.h: Added
       new methods for menu and toolbar flags.
       * Headers/AppKit/NSInterfaceStyle.h: Added new interface style.
       * Source/GNUmakefile: Added header.
       * Source/GSStandardWindowDecorationView.m: Change include
       to include header in new location.
       * Source/GSThemeMenu.m: Default theme implementation for
       Menus.
       * Source/GSWindowDecorationView.m: Add the setHasMenu:/setHasToolbar:
       flags.
       * Source/NSWindow.m: Use the theme to set the menu instead of
       setting it directly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29271 72102866-910b-0410-8b05-ffd578937521
2010-01-13 20:51:30 +00:00
Wolfgang Lux
126f60f6db Use the first responder's undo manager in an NSWindow's undo: and
redo: actions if available. Avoids the need for overriding these
methods in any responder class which supports undo/redo and is
compatible with OS X.
Generalize user interface validation for NSWindow.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29158 72102866-910b-0410-8b05-ffd578937521
2009-12-22 00:14:16 +00:00
Fred Kiefer
fc783c92d6 Patch by German Arias <german@xelalug.org>.
Allows to get icon placement from separate process.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29153 72102866-910b-0410-8b05-ffd578937521
2009-12-21 17:27:56 +00:00
Quentin Mathe
416dcffdb4 Added NSWindow 'title' binding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29113 72102866-910b-0410-8b05-ffd578937521
2009-12-10 12:43:35 +00:00
Richard Frith-MacDonald
47f9930e07 tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29044 72102866-910b-0410-8b05-ffd578937521
2009-11-20 13:36:46 +00:00
Wolfgang Lux
8c9b9aff31 Improve key view loop processing by always shifting keyboard focus to
the next and previous key view, respectively, upon receving Ctrl-Tab
and Ctrl-Shift-Tab keyboard events.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29013 72102866-910b-0410-8b05-ffd578937521
2009-11-14 22:45:23 +00:00
Fred Kiefer
2d2de1eddf Small changes to NSWindow.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28992 72102866-910b-0410-8b05-ffd578937521
2009-11-12 09:05:22 +00:00
Wolfgang Lux
aa3ba49fb9 Fix an issue where a window's delegate could be called during
deallocation. This also avoids unnecessary screen flicker when the
window is closed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28960 72102866-910b-0410-8b05-ffd578937521
2009-11-05 22:23:52 +00:00
Richard Frith-MacDonald
161d6e03e7 fix for activation with suppressed icon window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28837 72102866-910b-0410-8b05-ffd578937521
2009-10-18 08:02:40 +00:00
Richard Frith-MacDonald
c72cc49307 Partial code for using miniaturised app icon to unhide a hidden app.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28832 72102866-910b-0410-8b05-ffd578937521
2009-10-17 15:18:26 +00:00
Richard Frith-MacDonald
11ad2da52b Suppress app icon window by simply not ordering it in.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28831 72102866-910b-0410-8b05-ffd578937521
2009-10-17 05:35:56 +00:00
Fred Kiefer
73ac66ae1b Get NSToolbar setVisible: to really display/hide the toolbar.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28722 72102866-910b-0410-8b05-ffd578937521
2009-09-21 16:04:36 +00:00
Gregory John Casamento
41e5c2bf3d * Headers/AppKit/NSWindow.h
* Source/NSApplication.m
	* Source/NSWindow.m: Added ivar for attached sheet back.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28433 72102866-910b-0410-8b05-ffd578937521
2009-08-02 14:16:13 +00:00
Gregory John Casamento
3a16583dcb * Headers/AppKit/NSWindow.h: Comment out _attachedSheet ivar.
* Source/NSAlert.m: Change code to use hightlightWithLevel: method
	in resetWindow method.
	* Source/NSApplication.m: Stub out setAttachedSheet method.
	* Source/NSWindow.m: Remove new ivar for next release and stub out
	attachedSheet method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28415 72102866-910b-0410-8b05-ffd578937521
2009-07-27 16:31:32 +00:00
Gregory John Casamento
7f6ee7d9fd Initial changes for sheet implementation. More to come.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28283 72102866-910b-0410-8b05-ffd578937521
2009-05-14 22:17:48 +00:00
Fred Kiefer
7c2e8efcd8 Replace nil with [NSDate distantFuture] in calls to nextEventMatchingMask:...dequeue:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28025 72102866-910b-0410-8b05-ffd578937521
2009-03-02 16:26:23 +00:00
Fred Kiefer
1b9732d96d Add more missing localization includes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28015 72102866-910b-0410-8b05-ffd578937521
2009-03-01 19:04:58 +00:00
Gregory John Casamento
d456de1826 * Source/NSWindow.m: Correct compilation error.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27792 72102866-910b-0410-8b05-ffd578937521
2009-02-04 22:43:26 +00:00
Richard Frith-MacDonald
774a9ec1d4 Fix typo in method to set parent window of a child, optimise color handling in themes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27742 72102866-910b-0410-8b05-ffd578937521
2009-01-31 09:59:32 +00:00
Fred Kiefer
b32b160823 Add backend support for the NSWindow child mechanism and use it for
popup buttons.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27719 72102866-910b-0410-8b05-ffd578937521
2009-01-29 09:37:30 +00:00
Fred Kiefer
d07ee5d56f Avoid annoying messages on first system startup about empty map table.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27713 72102866-910b-0410-8b05-ffd578937521
2009-01-28 18:05:26 +00:00
Richard Frith-MacDonald
a1b67a4d07 keep main menu available when using micrtosoft style
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27692 72102866-910b-0410-8b05-ffd578937521
2009-01-25 18:28:20 +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
Richard Frith-MacDonald
d755437127 iiiignore invalid tracking rectangles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27665 72102866-910b-0410-8b05-ffd578937521
2009-01-24 08:38:21 +00:00
Fred Kiefer
dda7640fa5 First attempt at in window menus.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27649 72102866-910b-0410-8b05-ffd578937521
2009-01-22 09:19:22 +00:00
Wolfgang Lux
431f3f280f Include a window's decoration view in its responder chain so that
dynamic target look up works for toolbar items.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27628 72102866-910b-0410-8b05-ffd578937521
2009-01-18 15:52:06 +00:00
Wolfgang Lux
42e2e73ebd Don't activate an application upon a single click into a miniwindow.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27622 72102866-910b-0410-8b05-ffd578937521
2009-01-17 16:45:14 +00:00
Wolfgang Lux
b1496f3b3e Create an undo manager for a window when necessary.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27621 72102866-910b-0410-8b05-ffd578937521
2009-01-17 16:32:37 +00:00
Fred Kiefer
5d7b8487b9 Remove the NSWindow+Toolbar files and merge their contents into other
files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27562 72102866-910b-0410-8b05-ffd578937521
2009-01-09 09:14:13 +00:00
Fred Kiefer
66e22d664f Start to rewrite the window toolbar handling code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27478 72102866-910b-0410-8b05-ffd578937521
2008-12-31 16:06:58 +00:00
Fred Kiefer
32bd8091d9 Add validation for toggle toolbar method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27471 72102866-910b-0410-8b05-ffd578937521
2008-12-30 23:56:35 +00:00
Fred Kiefer
0568f0a0c5 Small clean up of toolbar code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27443 72102866-910b-0410-8b05-ffd578937521
2008-12-28 15:16:05 +00:00
Fred Kiefer
734a6c759d Make the button redraw after setting the image.
Don't do anything when the same contents view gets set on the window
again.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27308 72102866-910b-0410-8b05-ffd578937521
2008-12-16 19:28:25 +00:00
Wolfgang Lux
606df8c1b1 Ensure that new windows properly show their document edited status.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27292 72102866-910b-0410-8b05-ffd578937521
2008-12-14 19:15:18 +00:00
Wolfgang Lux
fe56e4959d Implement undo: and redo: responder actions in NSWindow as on Mac OS X.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27218 72102866-910b-0410-8b05-ffd578937521
2008-12-06 10:58:38 +00:00
Gregory John Casamento
7683c739eb * Headers/AppKit/NSWindow.h: Declaration for attachedSheet.
* Source/NSWindow.m: Added skeleton implementation of attachedSheet.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27137 72102866-910b-0410-8b05-ffd578937521
2008-11-26 21:29:32 +00:00
Wolfgang Lux
2bedbf4129 Revert the previous change to NSWindow -miniaturize: correcting bug
#24707. A better fix for this is now in -back.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27102 72102866-910b-0410-8b05-ffd578937521
2008-11-20 16:51:57 +00:00
Gregory John Casamento
9bf94dbf24 * Source/NSWindow.m: Reverted a previous change to miniaturize.
This should correct bug #24707.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27002 72102866-910b-0410-8b05-ffd578937521
2008-11-02 01:30:35 +00:00
Fred Kiefer
1b11784194 Delegate the content rect computation to the actual window decoration
view.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26942 72102866-910b-0410-8b05-ffd578937521
2008-10-20 13:28:28 +00:00
Gregory John Casamento
fcb9767969 * Source/NSWindow.m: Remove code in stringWithSavedFrame which was causing a
crash due to issues in NSToolbar described in bug#24601.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26934 72102866-910b-0410-8b05-ffd578937521
2008-10-18 23:02:40 +00:00
Fred Kiefer
e362e578e9 Move the initialization of windowmaps to initialize.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26928 72102866-910b-0410-8b05-ffd578937521
2008-10-17 15:41:00 +00:00
Fred Kiefer
b6e2a9c2c2 Improved mini window handling. Patch by Hubert Chathi
<hubert@uhoreg.ca>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26810 72102866-910b-0410-8b05-ffd578937521
2008-08-15 06:45:17 +00:00
Fred Kiefer
d63f065d0a When ending editing change first responder first to avoid recusion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26804 72102866-910b-0410-8b05-ffd578937521
2008-08-10 22:04:14 +00:00
Gregory John Casamento
e39b7a04b4 * Source/NSMenu.m: Beginning of support for windows style menus on the
top of the window.
	* Source/NSWindow.m: Added code in the method -setFrameFromString: to 
	make certain the window doesn't go out of bounds if the screen size
	changes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26751 72102866-910b-0410-8b05-ffd578937521
2008-07-08 20:17:44 +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
Fred Kiefer
fc2c78170f Make the implemenation of the method prepareForDragOperation:
non-mandatory, as on OSX.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26617 72102866-910b-0410-8b05-ffd578937521
2008-06-09 18:09:09 +00:00
Gregory John Casamento
be60d48778 * Headers/AppKit/NSWindow.h: Minor cleanup and spacing.
* Source/GSNibTemplates.m: Removed call to designated init, since
	this is handled by the initWithCOoder method in NSWindow.m.
	* Source/NSWindow.m: Correction for calling the designated initializer.
	Fix for bug#23336.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26567 72102866-910b-0410-8b05-ffd578937521
2008-05-24 15:00:12 +00:00
Fred Kiefer
dc90d0fdfd Better handling of the circular references between the graphics context
and the window.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26539 72102866-910b-0410-8b05-ffd578937521
2008-05-18 23:12:24 +00:00
Fred Kiefer
e137828b7e Try to better solve the circular reference between the window and the
context.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26527 72102866-910b-0410-8b05-ffd578937521
2008-05-14 22:56:13 +00:00
Richard Frith-MacDonald
50f7974d7c revert accidental change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26521 72102866-910b-0410-8b05-ffd578937521
2008-05-13 15:06:24 +00:00
Richard Frith-MacDonald
285dddf250 make save and open panels usable on mswindows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26520 72102866-910b-0410-8b05-ffd578937521
2008-05-13 15:04:01 +00:00
Gregory John Casamento
7fe697acb2 * Source/NSWindow.m: (-(void)miniaturize: (id)sender):
Change to prevent miniwindow from disappearing.  Apparently uneccessary
	[self orderOut: self] was causing this issue.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26501 72102866-910b-0410-8b05-ffd578937521
2008-05-09 01:06:36 +00:00
Fred Kiefer
ea97a86d9a Breakretain cycle of NSWindow and its context.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26494 72102866-910b-0410-8b05-ffd578937521
2008-05-07 00:39:22 +00:00
Gregory John Casamento
ddc130cae7 * Source/NSWindow.m: Change to correct issue with NSWindow placement
when toolbar is present.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26476 72102866-910b-0410-8b05-ffd578937521
2008-04-27 22:44:12 +00:00
Richard Frith-MacDonald
d04519f4f4 Fix bug #22444
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26219 72102866-910b-0410-8b05-ffd578937521
2008-03-06 06:58:20 +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
c0a656abd0 Avoid compiler warnings on Windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25985 72102866-910b-0410-8b05-ffd578937521
2008-01-19 21:48:37 +00:00
Fred Kiefer
99e9f5a69e New Apple methods on NSGraphicsContext and rework of window device
setting. Requires corresponding change in back!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25980 72102866-910b-0410-8b05-ffd578937521
2008-01-19 13:11:16 +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
Richard Frith-MacDonald
03a4a96a40 Update includes ... closer MacOS-X compatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25635 72102866-910b-0410-8b05-ffd578937521
2007-11-29 20:28:03 +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
Fred Kiefer
a148bf5304 Try to handle the case better, where GNUstep manages the mini window and
the window decoration itself.
Based on patch by Stefan Bidigaray <stefanbidi@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25512 72102866-910b-0410-8b05-ffd578937521
2007-10-02 21:58:47 +00:00
Fred Kiefer
0ed7d134a7 In cascadeTopLeftFromPoint: constrain the resulting point to the visible
screen. Patch by Wolfgang Lux.
-- Diese und die folgend:wqIn cascadeTopLeftFromPoint: constrain the
resulting point to the visible
screen. Patch by Wolfgang Lux.In cascadeTopLeftFromPoint: constrain the
resulting point to the visible
screen. Patch by Wolfgang Lux.ien Zeilen werden ignoriert --

M    Source/NSWindow.m
M    ChangeLog


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25506 72102866-910b-0410-8b05-ffd578937521
2007-09-30 22:02:14 +00:00
Fred Kiefer
b3b91343d6 Use orderFrontRegardless instead of orderFront:.
Patch by Yen-Ju Chen <yjchenx@gmail.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25472 72102866-910b-0410-8b05-ffd578937521
2007-09-09 20:38:10 +00:00
Fred Kiefer
a66882b17b Add new MacOSX 10.4 methods and constants to NSWindow. Requires
recompilation of all applications!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25469 72102866-910b-0410-8b05-ffd578937521
2007-09-09 12:19:01 +00:00
Fred Kiefer
c5840493d5 Handle case when makeFirstResonder: fails.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25456 72102866-910b-0410-8b05-ffd578937521
2007-09-05 13:04:49 +00:00
Fred Kiefer
b3dc35f126 Editing patches partly by Andreas Höschler <ahoesch@smartsoft.de>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25426 72102866-910b-0410-8b05-ffd578937521
2007-08-31 10:52:52 +00:00
Fred Kiefer
1a13f90156 Leave the focus transfer when a window closes to the window not the
application and improve the code there.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25420 72102866-910b-0410-8b05-ffd578937521
2007-08-28 22:01:29 +00:00
Fred Kiefer
92c7d50fe6 For the left mouse down case
make sure that the affected view is still valid after activating
the application and making the window key.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25402 72102866-910b-0410-8b05-ffd578937521
2007-08-20 13:46:03 +00:00
Fred Kiefer
ce5081b2b5 Add MacOSX 10.3 methods and constants.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25396 72102866-910b-0410-8b05-ffd578937521
2007-08-16 14:47:03 +00:00
Fred Kiefer
b0d6cd3485 Add MacOSX 10.4 methods and constants to NSEvent. Resort event types to
be binary compatible to MacOSX.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25377 72102866-910b-0410-8b05-ffd578937521
2007-08-03 11:27:41 +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
816c4db82c Move view specifc flags to NSView.h and ad new flag for NSWindow. This
change requires a complete re-compile of GNUstep and all applications!!!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24821 72102866-910b-0410-8b05-ffd578937521
2007-03-08 12:52:01 +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
Sergii Stoian
91c57aed58 Source/NSWindow.m: (_lossOfKeyOrMainWindow): Add sanity checks. Optimize.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24679 72102866-910b-0410-8b05-ffd578937521
2007-02-21 23:18:01 +00:00
Matt Rice
3aa639828d * Source/NSWindow.m (-_lossOfKeyOrMainWindow): Use GSOrderedWindows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24399 72102866-910b-0410-8b05-ffd578937521
2007-01-23 13:16:00 +00:00
Richard Frith-MacDonald
bc34ad5f62 Document some typedefs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24351 72102866-910b-0410-8b05-ffd578937521
2007-01-15 10:18:24 +00:00
Fred Kiefer
a24c80f048 Added a basic implementation for undo in NSTextView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24232 72102866-910b-0410-8b05-ffd578937521
2006-12-24 09:37:16 +00:00
Matt Rice
8e09c9de77 * Source/NSWindow.m (sendEvent:): Fix dragging for views which accept
dragging with subviews which accept dragging.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24143 72102866-910b-0410-8b05-ffd578937521
2006-11-21 13:46:18 +00:00
Richard Frith-MacDonald
45acf44de1 documentation cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24035 72102866-910b-0410-8b05-ffd578937521
2006-11-06 13:58:37 +00:00
Matt Rice
a197607128 * Headers/AppKit/NSGraphics.h: Add GSOrderedWindows function.
* Source/NSApplication.m (NSAppIconView -mouseDown:): Use
        GSOrderedWindows.
        (NSApplication -deactivate): Ditto.
        (-hide:): Ditto.
        (-unhideWithoutActivation:): Ditto.
        (-makeWindowsPerform:inOrder): Ditto.
        (-orderedWindows:): Ditto.
        (-windowWillClose:): Ditto.
        * Source/GSDisplayServer.m: Implement -windowlist.
        * Source/NSWindow.m (NSCountWindowList,NSWindowList): Use 
	-windowlist.
        (GSOrderedWindows): Initial implementation.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23936 72102866-910b-0410-8b05-ffd578937521
2006-10-21 19:13:42 +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
f07b4d16bd Add help key support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23749 72102866-910b-0410-8b05-ffd578937521
2006-10-04 05:26:47 +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
c033d17a2d merge in themes branch to keep in sync
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23705 72102866-910b-0410-8b05-ffd578937521
2006-10-02 05:09:48 +00:00
Richard Frith-MacDonald
125411a8e9 Flush window after expose.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23607 72102866-910b-0410-8b05-ffd578937521
2006-09-24 18:59:08 +00:00
Richard Frith-MacDonald
3b65b34a1b When exposing a window ensure that the rectangle is drawn to (if necessary)
before flushing the buffer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23603 72102866-910b-0410-8b05-ffd578937521
2006-09-24 12:45:21 +00:00
Richard Frith-MacDonald
98c7ec2bc2 simplify expose event changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23600 72102866-910b-0410-8b05-ffd578937521
2006-09-24 05:37:05 +00:00
Richard Frith-MacDonald
183c8411a5 Add new event subtype for exposure of region of window.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23598 72102866-910b-0410-8b05-ffd578937521
2006-09-23 19:08:18 +00:00
Richard Frith-MacDonald
17d346b3e5 Window frame handling fixups (bug #17377)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23399 72102866-910b-0410-8b05-ffd578937521
2006-09-06 11:29:20 +00:00
Gregory John Casamento
d916e0adb1 Reverted previous change. Added comments in NSWindow.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23384 72102866-910b-0410-8b05-ffd578937521
2006-09-03 16:18:42 +00:00
Richard Frith-MacDonald
65b175b904 Tweaks to avoid new compiler warnings with gcc-4.1 and some 64bit issues.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23126 72102866-910b-0410-8b05-ffd578937521
2006-07-04 21:31:49 +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
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