Thomas Gamper
acafc06269
TG: Add cursor position setter
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28897 72102866-910b-0410-8b05-ffd578937521
2009-10-27 18:32:58 +00:00
Richard Frith-MacDonald
452ffee567
Small theme update, plus documentation fixes and tweaks to avoid warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28538 72102866-910b-0410-8b05-ffd578937521
2009-08-25 07:46:37 +00:00
Fred Kiefer
4aa1fb4c5e
Make sure the static variable windowmaps is always initialized before
...
using it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28311 72102866-910b-0410-8b05-ffd578937521
2009-05-31 15:30:03 +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
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
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
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
37edf8c87d
Add new method for shadow.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25388 72102866-910b-0410-8b05-ffd578937521
2007-08-14 22:37:08 +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
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
2eede887c5
Window frame/coordinate handling cleanups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23460 72102866-910b-0410-8b05-ffd578937521
2006-09-12 09:49:54 +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
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
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
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
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
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
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
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
Fred Kiefer
c5023b12e4
Finished off backend indepenend dragging.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19546 72102866-910b-0410-8b05-ffd578937521
2004-06-18 23:49:40 +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
Fred Kiefer
d053e9a8ae
Small bug corrections.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18337 72102866-910b-0410-8b05-ffd578937521
2004-01-08 12:03:33 +00:00
Adam Fedor
1de7b7edf8
Move documentation. Fix _inactive count bug
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18282 72102866-910b-0410-8b05-ffd578937521
2003-12-29 17:28:52 +00:00
Richard Frith-Macdonald
e1fd264d4f
Bugfix ... remove deallocated object from map.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18002 72102866-910b-0410-8b05-ffd578937521
2003-10-29 07:01:13 +00:00
Richard Frith-Macdonald
62678e6c51
Fix error in termination of loop
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17988 72102866-910b-0410-8b05-ffd578937521
2003-10-28 11:05:27 +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
Fred Kiefer
fdf5470d7e
Adopted to changes in header.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16935 72102866-910b-0410-8b05-ffd578937521
2003-06-17 13:28:46 +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
Fred Kiefer
534869106f
Use GSSlideView to implement image sliding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15942 72102866-910b-0410-8b05-ffd578937521
2003-02-12 00:05:09 +00:00
Fred Kiefer
8d06767b77
Empty implementation for this.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15829 72102866-910b-0410-8b05-ffd578937521
2003-01-31 22:24:32 +00:00
Adam Fedor
c3bae489b8
Add OpenGL support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14997 72102866-910b-0410-8b05-ffd578937521
2002-11-16 04:48:52 +00:00
Richard Frith-Macdonald
af70a6521a
Tidied method argument naming.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14763 72102866-910b-0410-8b05-ffd578937521
2002-10-13 13:50:06 +00:00
Richard Frith-Macdonald
80b0d5b3a9
Documentation fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14368 72102866-910b-0410-8b05-ffd578937521
2002-08-29 10:07:51 +00:00
Adam Fedor
c5612d5943
Transfer beep to GSDisplayServer
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13763 72102866-910b-0410-8b05-ffd578937521
2002-06-04 02:19:23 +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
Adam Fedor
90a4a2c8b8
Revise window ops
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13469 72102866-910b-0410-8b05-ffd578937521
2002-04-15 02:52:35 +00:00
Adam Fedor
37280413e6
Remove old grpahics funcs, Update window's defs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13417 72102866-910b-0410-8b05-ffd578937521
2002-04-10 22:04:39 +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
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