ericwa
bc71005837
* Source/NSBitmapImageRep.m:
...
* Source/NSColor.m:
* Source/GSThemeTools.m:
* Source/NSGraphicsContext.m:
* Headers/AppKit/NSColor.h:
* Headers/AppKit/NSGraphicsContext.h:
* ColorPickers/GSGrayColorPicker.m:
* ColorPickers/GSCMYKColorPicker.m:
* ColorPickers/GSWheelColorPicker.m:
* ColorPickers/GSRGBColorPicker.m:
* ColorPickers/GSHSBColorPicker.m: Migrate float to CGFloat in
NSColor
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34070 72102866-910b-0410-8b05-ffd578937521
2011-10-26 00:21:57 +00:00
ericwa
4857c9bbd4
* Source/NSLayoutManager.m:
...
* Source/NSGraphicsContext.m:
* Headers/AppKit/DPSOperators.h:
* Headers/AppKit/NSGraphicsContext.h:
* Headers/Additions/GNUstepGUI/GSMethodTable.h:
New GSShowGlyphsWithAdvances, which replaces
GSShowGlyphs as the primitive text drawing method.
(used by -[NSLayoutManager drawGlyphsForGlyphRange:atPoint:])
Requires r33121 in -back.
Note that the advances aren't actually used by -back yet so
text output should be unchanged.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33122 72102866-910b-0410-8b05-ffd578937521
2011-05-26 03:55:55 +00:00
fredkiefer
74c70bafcc
Release the stack, as it is retained in the thread dictionary.
...
Leak found by static code analyser.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32493 72102866-910b-0410-8b05-ffd578937521
2011-03-07 21:18:19 +00:00
nicola
7da3637218
Minor tidyup for new Objective-C runtimes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31786 72102866-910b-0410-8b05-ffd578937521
2010-12-27 12:03:56 +00:00
theraven
8c3501132d
Remove use of old runtime function.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31284 72102866-910b-0410-8b05-ffd578937521
2010-09-09 23:39:23 +00:00
qmathe
0eee79f7b5
Fixed many drawing issues (many ones being related to the flipping).
...
See bug report #27782
In particular, fixed -[NSImage drawXXX] and -[NSImage composite/dissolveXXX]
methods to work exactly as Cocoa when the Cairo backend is used.
Added a new draw operator (in addition to composite) to the backend. Cairo is
the only backend that implements it for now.
Eliminated as many flipping checks as possible.
Warning: Untested with the winlib backend.
You must update, recompile and install both Back and Gui.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30523 72102866-910b-0410-8b05-ffd578937521
2010-06-01 11:04:36 +00:00
theraven
3da9ac45b7
Lots of small tweaks to make -gui compile without warnings with clang.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30119 72102866-910b-0410-8b05-ffd578937521
2010-04-10 20:33:30 +00:00
theraven
14205ea54b
Removed all uses of @defs() from -gui, so it now compiles cleanly with the non-fragile ABI. All ivars that must be accessed from other classes are now wrapped in PACKAGE_SCOPE. With clang, this expands to @package, with GCC it expands to @public.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30045 72102866-910b-0410-8b05-ffd578937521
2010-03-27 00:01:03 +00:00
fredkiefer
9768ee6425
Next bit of #include -> #import replacement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30029 72102866-910b-0410-8b05-ffd578937521
2010-03-24 09:18:14 +00:00
fredkiefer
47823bc12b
Add gradient methods on graphics context.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28872 72102866-910b-0410-8b05-ffd578937521
2009-10-23 19:58:22 +00:00
fredkiefer
7f7914ef97
Try to deal with the case when there is no current context.
...
May happen in secondard threads. Fixes #25943 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28133 72102866-910b-0410-8b05-ffd578937521
2009-03-25 08:40:38 +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
957c0f13d5
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
fredkiefer
afa40306f2
Implement basic appendBezierPathWithPackedGlyphs: handling to forward to
...
the backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26435 72102866-910b-0410-8b05-ffd578937521
2008-04-07 13:45:41 +00:00
fredkiefer
afd5057165
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
rfm
022240303e
Fixup for visibility correction in latest NSThread
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25609 72102866-910b-0410-8b05-ffd578937521
2007-11-25 14:49:23 +00:00
fredkiefer
e2f2a194e6
Add binding implementation.
...
Clean up table view decoding.
Move image draw code to back.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25602 72102866-910b-0410-8b05-ffd578937521
2007-11-22 12:15:50 +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
cfff2ce6b4
Moved all printing output code to NSGraphicsContext.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25268 72102866-910b-0410-8b05-ffd578937521
2007-06-18 12:49:04 +00:00
rfm
1737a99328
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
CaS
6988bf34c2
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
FredKiefer
e77945d7e9
Added methods for pattern colour and alpha image composition.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21436 72102866-910b-0410-8b05-ffd578937521
2005-07-08 23:51:49 +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
arobert
77cc0f448d
undeprecate DPSxshow, yshow, xyshow, ashow, widthshow, awidthshow
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21001 72102866-910b-0410-8b05-ffd578937521
2005-03-29 14:07:38 +00:00
alexm
3c759b846c
Document GSReadRect and update users.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19801 72102866-910b-0410-8b05-ffd578937521
2004-07-30 13:58:03 +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
ayers
9732999fd8
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
CaS
3bc51bd57c
Final tweaks?
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17305 72102866-910b-0410-8b05-ffd578937521
2003-07-22 17:25:32 +00:00
CaS
98a5680ea4
Tidyups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17276 72102866-910b-0410-8b05-ffd578937521
2003-07-21 09:59:52 +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
alexm
a033638e37
Add shfill operator.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16743 72102866-910b-0410-8b05-ffd578937521
2003-05-17 22:04:00 +00:00
alexm
816eb7abda
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
FredKiefer
aab03279c4
Rewrote [GSSendBezierPath:] to send the full path to the
...
backend. Code comes from [NSBezierPath _doPath].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15037 72102866-910b-0410-8b05-ffd578937521
2002-11-21 20:27:44 +00:00
fedor
6b65871481
Load prolog.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14863 72102866-910b-0410-8b05-ffd578937521
2002-10-29 03:46:39 +00:00
fedor
fb3f2ea067
Add Quartz-like interface. Fix focus problems.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14678 72102866-910b-0410-8b05-ffd578937521
2002-10-09 02:47:40 +00:00
fedor
4aba3cb17a
Minor browser column fix. Change some methods to take void *
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14663 72102866-910b-0410-8b05-ffd578937521
2002-10-07 17:05:06 +00:00
fedor
0a7c4f6704
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
fedor
545659a4f7
Define colorspace constants
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14293 72102866-910b-0410-8b05-ffd578937521
2002-08-16 14:11:16 +00:00
fedor
62bb2f3a39
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
fedor
5180fd5339
Stroke the underline
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13601 72102866-910b-0410-8b05-ffd578937521
2002-05-07 03:37:48 +00:00
fedor
fd9cde5c4e
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
fedor
6f0771768b
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
fedor
a7bf31db3f
Update docs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13335 72102866-910b-0410-8b05-ffd578937521
2002-04-03 16:59:43 +00:00
fedor
55f52faac4
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
fedor
4a7e0146d9
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
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
FredKiefer
52d70b9d02
[graphicsContextWithAttributes] always autorelease the context.
...
Moved the unsetting of the current context from [dealloc] to
[destroyContext] otherwise the current context can never be freed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12813 72102866-910b-0410-8b05-ffd578937521
2002-02-27 09:40:22 +00:00
fedor
a324ac0bdf
Remove NSImage hack, other fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12763 72102866-910b-0410-8b05-ffd578937521
2002-02-25 17:39:11 +00:00