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
fredkiefer
a67707b682
Fix up teh includes to compile again after latest changes to base. Still
...
plenty of warnings and the result isn't working at least on 64 bit
machines :-(
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29685 72102866-910b-0410-8b05-ffd578937521
2010-02-20 10:40:44 +00:00
fredkiefer
7f9c5cf331
Moved _sizeForBorderType() into GSTheme header and added more methods
...
for theme abstraction.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26836 72102866-910b-0410-8b05-ffd578937521
2008-09-08 18:59:48 +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
nicola
48af397627
Fixed NSScaleProportionally, and documented NSImageCell
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26159 72102866-910b-0410-8b05-ffd578937521
2008-03-01 12:34:32 +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
f63c0258d2
Corrected and cleaned up focus ring drawing for cell classes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24924 72102866-910b-0410-8b05-ffd578937521
2007-03-22 17:47:56 +00:00
rfm
cc3cafa874
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
rfm
8bf3cdc94e
theme reorganisation/tidy up
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23586 72102866-910b-0410-8b05-ffd578937521
2006-09-22 11:53:40 +00:00
gcasa
2c0aad513e
Implement encoding for these objects and correct issue with font size encoding. It was encoded/decoded as an int when it should have been a float.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23226 72102866-910b-0410-8b05-ffd578937521
2006-08-09 05:48:54 +00:00
FredKiefer
5cbd31e751
Removed gcc 4.02 compiler warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21846 72102866-910b-0410-8b05-ffd578937521
2005-10-19 23:54:22 +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
FredKiefer
eb370a013c
Allow cells to print even when not connected to a window.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21249 72102866-910b-0410-8b05-ffd578937521
2005-05-22 21:12:08 +00:00
FredKiefer
48cb9c3f15
Treat nil as image unsetting in setObjectValue:.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21233 72102866-910b-0410-8b05-ffd578937521
2005-05-19 11:45:54 +00:00
alexm
bb459e5a5f
2005-01-28 17:57 Alexander Malmberg <alexander@malmberg.org>
...
* Source/NSImageCell.m (-drawInteriorWithFrame:inView:): If our
view is flipped, flip the image.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20629 72102866-910b-0410-8b05-ffd578937521
2005-01-28 16:58:10 +00:00
alexm
5ced3055c1
2005-01-25 01:05 Alexander Malmberg <alexander@malmberg.org>
...
* Source/NSImageCell.m (-drawInteriorWithFrame:inView:): Use
-drawInRect:fromRect:operation:fraction: to draw the image.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20614 72102866-910b-0410-8b05-ffd578937521
2005-01-25 00:01:50 +00:00
alexm
a494b70f99
2005-01-24 00:48 Alexander Malmberg <alexander@malmberg.org>
...
* Source/NSImageCell.m (-drawInteriorWithFrame:inView:): Draw
the image using the right size, but don't scale it. Work around
bug #11712 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20606 72102866-910b-0410-8b05-ffd578937521
2005-01-23 23:45:20 +00:00
FredKiefer
ce85a0cc0f
Two more classes now have relavtive colour drawing.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18576 72102866-910b-0410-8b05-ffd578937521
2004-02-11 00:01:20 +00:00
FredKiefer
108986ee7d
Added keyed decoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18530 72102866-910b-0410-8b05-ffd578937521
2004-02-02 21:40:00 +00:00
fedor
ae748fe603
Broweser, ImageCell fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17487 72102866-910b-0410-8b05-ffd578937521
2003-08-18 03:28:58 +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
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
2177ef847e
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
fedor
9f39142905
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
fedor
3cd8d5d585
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
nico
394ae0ee4f
Indented line
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12681 72102866-910b-0410-8b05-ffd578937521
2002-02-22 17:17:01 +00:00
fedor
c51f4265da
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
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
FredKiefer
e6320bce97
Removed [initImageCell:], [dealloc], [cellSizeForBounds:] and
...
[copyWithZone:], which where only super calls.
In [drawWithFrame:inView:] lockFocus only around drawing
code and check for invalid window.
In [drawInteriorWithFrame:inView:] lockFocus only around drawing
code, check for invalid window, use NSCompositeSourceOver instead
of NSCompositeCopy and show first responder state.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10687 72102866-910b-0410-8b05-ffd578937521
2001-08-12 17:29:34 +00:00
FredKiefer
553054850c
Adopted to changes in NSCell.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8265 72102866-910b-0410-8b05-ffd578937521
2000-12-07 00:20:17 +00:00
nico
48413f333b
NSImageCell is not a subclass of NSActionCell so should not save
...
last control view drawn to
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5488 72102866-910b-0410-8b05-ffd578937521
1999-12-13 16:17:49 +00:00
nico
2087516ceb
Updated for changes in all cells; minor optimizations for drawing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5463 72102866-910b-0410-8b05-ffd578937521
1999-12-13 02:43:52 +00:00
richard
0456255fca
typo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5400 72102866-910b-0410-8b05-ffd578937521
1999-12-07 06:41:28 +00:00
richard
f16e1bb031
Tidying
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5399 72102866-910b-0410-8b05-ffd578937521
1999-12-07 06:40:21 +00:00
richard
804630d3ae
Image cache tidyup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5345 72102866-910b-0410-8b05-ffd578937521
1999-12-01 13:49:47 +00:00
richard
98a649c60a
Lock focus fixes - get cells to lock focus before drawing themselves.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4924 72102866-910b-0410-8b05-ffd578937521
1999-09-21 05:10:54 +00:00
michael
8878d77f92
Alot of patches applied from various contributors.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4879 72102866-910b-0410-8b05-ffd578937521
1999-09-12 19:56:22 +00:00
richard
69b0e48d0e
Implementations
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4363 72102866-910b-0410-8b05-ffd578937521
1999-06-05 20:30:29 +00:00