ericwa
f9a2310183
Add NSDrawThreePartImage
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36824 72102866-910b-0410-8b05-ffd578937521
2013-07-03 16:19:24 +00:00
fredkiefer
ec16871d00
Change DPS/PS functions to CGFloat and NSInteger.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36063 72102866-910b-0410-8b05-ffd578937521
2013-02-05 19:18:49 +00:00
fredkiefer
8e67cb9ec5
* Headers/AppKit/NSCell.h
...
* Headers/AppKit/NSColor.h
* Headers/AppKit/NSGraphics.h
* Headers/AppKit/NSView.h
* Source/Functions.m
* Source/GSThemeDrawing.m
* Source/GSTitleView.m
* Source/NSApplication.m
* Source/NSCell.m
* Source/NSView.m: More NSInteger/NSUInteger/CGFloat cleanup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36035 72102866-910b-0410-8b05-ffd578937521
2013-01-29 21:57:41 +00:00
fredkiefer
d83aa2565a
Replace NSCompositeHighlight with GSCompositeHighlight and map NSCompositeHighlight onto
...
NSCompositeSourceOver.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34773 72102866-910b-0410-8b05-ffd578937521
2012-02-18 21:10:07 +00:00
ericwa
ea63bbc0ff
* Source/Functions.m (NSDrawNinePartImage): Pixel-align drawing rect using
...
-[NSView centerScanRect]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33761 72102866-910b-0410-8b05-ffd578937521
2011-08-17 16:24:17 +00:00
ericwa
0c9cae17bf
* Source/Functions.m (NSDrawNinePartImage): Bugfix when drawing with
...
not enough space
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33749 72102866-910b-0410-8b05-ffd578937521
2011-08-16 03:45:12 +00:00
ericwa
eb59071e88
* Source/Functions.m (NSDrawNinePartImage): Bugfix in flipped drawing code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33748 72102866-910b-0410-8b05-ffd578937521
2011-08-16 03:31:04 +00:00
ericwa
d147d93adf
* Source/Functions.m:
...
* Headers/AppKit/NSGraphics.h: NSDrawNinePartImage implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33745 72102866-910b-0410-8b05-ffd578937521
2011-08-16 02:58:12 +00:00
wlux
fe515ca1e1
Revert to creating the app icon in finishLaunching, since existing
...
applications that do not use NSApplicationMain otherwise won't get an
app icon.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33242 72102866-910b-0410-8b05-ffd578937521
2011-06-04 08:42:33 +00:00
wlux
8e402fc361
Ensure that applications get a proper app icon under WindowMaker even
...
when their main nib contains visible at launch time windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33231 72102866-910b-0410-8b05-ffd578937521
2011-06-02 08:45:07 +00:00
theraven
dbd4c1b77c
Turn release messages sent to autorelease pools into drain messages. No
...
functionality change in non-GC mode, in GC mode it invokes a quick GC pass to
try to delete the short-lived objects.
Also deleted some [pool release] lines just before exit() or return-from-main
statements. These cause objects to be swapped in and destructors to be run to
no benefit (the OS will reclaim this memory without requiring stuff to be
swapped in when the process exits).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33146 72102866-910b-0410-8b05-ffd578937521
2011-05-27 12:42:37 +00:00
ericwa
4bb99a7de8
* Source/Functions.m: For functions which set the fill or stroke
...
color as part of their implementation, save/restore the graphics
state so that the user's fill/stroke color isn't overwritten.
See the PixelExactDrawing test in GSTest for an example.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33021 72102866-910b-0410-8b05-ffd578937521
2011-05-11 07:53:04 +00:00
fredkiefer
f91f9ab2c9
Small corrections to last commit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30449 72102866-910b-0410-8b05-ffd578937521
2010-05-24 19:30:49 +00:00
fredkiefer
e64aca8bb2
few compiler warning fixes plus a lot of #import replacement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30448 72102866-910b-0410-8b05-ffd578937521
2010-05-24 10:48:14 +00:00
qmathe
7dd04afe94
Moved the main Nib file loading from -finishLaunching to NSApplicationMain() in
...
order to match Cocoa behavior/documentation.
This makes easier to implement a custom AppKit main that works with both Cocoa
and GNUstep.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30398 72102866-910b-0410-8b05-ffd578937521
2010-05-16 13:56:50 +00:00
fredkiefer
ec316b13b2
Small change for bug #27309 and a helper function for GSTaskBar.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28974 72102866-910b-0410-8b05-ffd578937521
2009-11-08 16:12:04 +00:00
fredkiefer
8bd916f0a8
Add dummy implementations for NSConvertGlobalToWindowNumber and
...
NSConvertWindowNumberToGlobal.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28942 72102866-910b-0410-8b05-ffd578937521
2009-11-03 08:38:46 +00:00
fredkiefer
606cb788ae
Add dummy version of NSSetFocusRingStyle.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26803 72102866-910b-0410-8b05-ffd578937521
2008-08-09 15:54:56 +00:00
fedor
ce41d782c1
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
fredkiefer
82dc075f6c
Avoid call cycles when terminating an application.
...
Better NIB loading and object awakening.
Remove compiler warning caused by previous change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25614 72102866-910b-0410-8b05-ffd578937521
2007-11-27 00:09:24 +00:00
fredkiefer
b7699665db
Do all bitmap image drawing via GSDrawImage:: to allow better
...
implementations in backends.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25600 72102866-910b-0410-8b05-ffd578937521
2007-11-22 10:47:33 +00:00
fredkiefer
e25cceb710
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
fredkiefer
8b5ef317f7
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
FredKiefer
584ab86e01
Small patches and a missing CVS entry.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22346 72102866-910b-0410-8b05-ffd578937521
2006-01-22 21:23:44 +00:00
fedor
db3c52eab8
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
CaS
0080d96c65
Fix bug #12296
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20904 72102866-910b-0410-8b05-ffd578937521
2005-03-13 17:35:47 +00:00
gcasa
b6d9981388
More data link implementation details.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20850 72102866-910b-0410-8b05-ffd578937521
2005-03-05 15:50:32 +00:00
gcasa
d8aeb282ab
Datalink and connector improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20662 72102866-910b-0410-8b05-ffd578937521
2005-02-05 20:39:49 +00:00
alexm
1b832938ee
2005-01-18 14:09 Alexander Malmberg <alexander@malmberg.org>
...
* Source/Functions.m (NSDottedFrameRect, NSFrameRectWithWidth): Draw
the frame inside the given rectangle.
(NSDrawTiledRects): Remove documentation.
* Headers/AppKit/NSGraphics.h (NSDottedFrameRect, NSFrameRect)
(NSFrameRectWithWidth, NSDrawTiledRects): Add new documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20574 72102866-910b-0410-8b05-ffd578937521
2005-01-18 13:08:37 +00:00
arobert
31eeedc9c5
NSBestDepth() checks outarg non-null (Functions.m); getNSFont() treats negative fontSize arg as 0 (NSFont.m); documented
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20231 72102866-910b-0410-8b05-ffd578937521
2004-10-17 18:52:48 +00:00
FredKiefer
706213590f
Corrected bezel drawing and keyed archiving of popup menu item cell.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18560 72102866-910b-0410-8b05-ffd578937521
2004-02-08 13:07:24 +00:00
FredKiefer
00a5154834
Corrected affine transform struct element names and added some drawing functions.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18288 72102866-910b-0410-8b05-ffd578937521
2003-12-30 12:42:37 +00:00
fedor
bfe2bdb1f2
Implement GSReadRect and initWithFocusedViewRect:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17687 72102866-910b-0410-8b05-ffd578937521
2003-09-20 02:57:45 +00:00
fedor
fc402789db
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
nico
4a49f2904b
Do not flush the window during an NSHighlightRect()
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13679 72102866-910b-0410-8b05-ffd578937521
2002-05-22 12:04:47 +00:00
nico
47dc275184
Added missing #include
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13300 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:13:36 +00:00
fedor
53bd496a00
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
CaS
4f5825c6a0
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
nico
e9fef1c32f
Removed old obsolete code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12890 72102866-910b-0410-8b05-ffd578937521
2002-02-28 16:05:40 +00:00
ljulliar
1882cdfe9a
NSDrawFramePhoto added
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11340 72102866-910b-0410-8b05-ffd578937521
2001-11-08 13:34:23 +00:00
michael
fa9637f045
Rearrange coloration of NSDrawButton to match visually the result of the function on OpenStep.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10854 72102866-910b-0410-8b05-ffd578937521
2001-09-10 06:04:38 +00:00
FredKiefer
8f5f87b67a
Added case of NSScrollWheel.
...
Impelemented missing NSShowSystemInfoPanel().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10709 72102866-910b-0410-8b05-ffd578937521
2001-08-14 22:38:30 +00:00
pyr
be084be394
Modified NSDrawGrayBezel and NSDrawWhiteBezel so that they look nicer
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10696 72102866-910b-0410-8b05-ffd578937521
2001-08-13 14:24:38 +00:00
FredKiefer
7a49124373
Made all the button, bezel and groove methods functions again.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9781 72102866-910b-0410-8b05-ffd578937521
2001-05-04 18:25:59 +00:00
FredKiefer
b9d601ac7a
Added missing functions and some dummy implementations.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9754 72102866-910b-0410-8b05-ffd578937521
2001-05-01 21:20:11 +00:00
FredKiefer
0bb2eca5a9
Moved the old text functions from backend to here.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9741 72102866-910b-0410-8b05-ffd578937521
2001-04-29 22:26:13 +00:00
richard
0370b5e398
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
fedor
1df78e135b
Use GS_PASS_ARGUMENTS
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6844 72102866-910b-0410-8b05-ffd578937521
2000-06-29 14:25:07 +00:00
richard
17628a5e4c
colorspace support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6515 72102866-910b-0410-8b05-ffd578937521
2000-04-25 20:26:51 +00:00
richard
16976fdfb4
Minor startup improvements etc.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5683 72102866-910b-0410-8b05-ffd578937521
2000-01-07 10:42:12 +00:00