Commit graph

7285 commits

Author SHA1 Message Date
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
nico
68389bce8d When appending an arc to a bezier path, draw the line from the current
point to the first point of the arc


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10694 72102866-910b-0410-8b05-ffd578937521
2001-08-13 13:09:52 +00:00
nico
a00dc20735 When appending an arc to a bezier path, draw the line from the current
point to the arc start point - unless this is the first element of the path


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10693 72102866-910b-0410-8b05-ffd578937521
2001-08-13 13:08:22 +00:00
nico
78ccfb121d Fixed inserted a string in a textview when it's empty (attributes were
wrong)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10692 72102866-910b-0410-8b05-ffd578937521
2001-08-13 11:46:22 +00:00
nico
544e1f9c1e Fixed setString: when there is no previous string, so that it uses
the typingAttributes


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10691 72102866-910b-0410-8b05-ffd578937521
2001-08-13 11:44:42 +00:00
nico
59c6d614ce Fixed bug which was crashing all apps with an icon at startup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10690 72102866-910b-0410-8b05-ffd578937521
2001-08-13 11:09:03 +00:00
nico
f7aed4811e Fixed setName: to work - was crashing all apps with an icon at startup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10689 72102866-910b-0410-8b05-ffd578937521
2001-08-13 11:07:39 +00:00
FredKiefer
1260387e40 Clean up of code in NSImageCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10688 72102866-910b-0410-8b05-ffd578937521
2001-08-12 17:30:36 +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
614c80bae2 Removed already inherited protocols.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10686 72102866-910b-0410-8b05-ffd578937521
2001-08-12 17:28:52 +00:00
nico
2a4b1bbc46 Fixes for NSMatrxi when getting the row and column that a point is in
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10685 72102866-910b-0410-8b05-ffd578937521
2001-08-12 15:11:01 +00:00
nico
13de9f3f70 Fixed limit cases when getting the row and column a point is in
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10684 72102866-910b-0410-8b05-ffd578937521
2001-08-12 15:09:32 +00:00
FredKiefer
35de5e13e6 New methods for NSImage composition
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10680 72102866-910b-0410-8b05-ffd578937521
2001-08-11 18:35:31 +00:00
FredKiefer
f3c21ad1ad Dummy implementation of new methods.
[dissolveToPoint:fromRect:fraction:] Move the drawing rectangle
to the origin of the image rep before the intersection of the two
rects.
[TIFFRepresentationUsingCompression:factor:] and
[TIFFRepresentation] call method on NSBitmapImageRep.
List explicit flag settings in [init].
Moved background drawing to [drawRepresentation:inRect:].
Restructured [_doImageCache] and [_cacheForRep:].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10679 72102866-910b-0410-8b05-ffd578937521
2001-08-11 18:34:22 +00:00
FredKiefer
8615853b77 Implemented [TIFFRepresentationOfImageRepsInArray] and
[TIFFRepresentationOfImageRepsInArray:usingCompression:factor:]


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10678 72102866-910b-0410-8b05-ffd578937521
2001-08-11 18:33:40 +00:00
FredKiefer
0ff596bcc0 Added declaration of
[compositeToPoint:fromRect:operation:fraction:],
[compositeToPoint:operation:fraction:],
[drawAtPoint:fromRect:operation:fraction:] and
[drawInRect:fromRect:operation:fraction:]


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10677 72102866-910b-0410-8b05-ffd578937521
2001-08-11 18:33:01 +00:00
nico
5034f1de6e Fix for reading RTFs produced on openstep
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10676 72102866-910b-0410-8b05-ffd578937521
2001-08-11 17:54:38 +00:00
nico
c37fe0ce53 Fix for color out of bounds
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10675 72102866-910b-0410-8b05-ffd578937521
2001-08-11 17:51:02 +00:00
nico
1c1cba2c69 Cleaned inside Testing directory
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10673 72102866-910b-0410-8b05-ffd578937521
2001-08-08 12:00:16 +00:00
nico
72d80d5031 New file explaining that this directory is obsolete, and where to find
examples which work and are interesting


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10672 72102866-910b-0410-8b05-ffd578937521
2001-08-08 11:58:44 +00:00
nico
7ebaceecc8 Do nothing on after-distclean as GNUmakefile.local is no longer here
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10671 72102866-910b-0410-8b05-ffd578937521
2001-08-08 11:57:54 +00:00
nico
9e0c0a2ca6 Simplified, removed old bloated stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10670 72102866-910b-0410-8b05-ffd578937521
2001-08-08 11:57:17 +00:00
FredKiefer
383f88f178 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10660 72102866-910b-0410-8b05-ffd578937521
2001-08-05 22:23:35 +00:00
FredKiefer
2887cf2b19 Added Header, changed includes, small restructuring of [init] and
removed [isFloatingPanel].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10659 72102866-910b-0410-8b05-ffd578937521
2001-08-05 22:22:23 +00:00
FredKiefer
0af5bb4402 Added Header, changed includes and removed [init] method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10658 72102866-910b-0410-8b05-ffd578937521
2001-08-05 22:21:41 +00:00
FredKiefer
dbcd941040 In [NSApplication showHelp:] added a check for the existence of
the help file.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10657 72102866-910b-0410-8b05-ffd578937521
2001-08-05 22:21:06 +00:00
FredKiefer
c6b9b319d3 Removed [showHelp:] and [activateContextHelpMode:] as they are
implemented in NSHelpManager.m. Use [showHelp:] in old method [].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10656 72102866-910b-0410-8b05-ffd578937521
2001-08-05 22:20:27 +00:00
FredKiefer
745198918d Removed [showHelp:] and [activateContextHelpMode:] as they are
declared in NSHelpManager.h


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10655 72102866-910b-0410-8b05-ffd578937521
2001-08-05 22:19:46 +00:00
FredKiefer
d47b5cb139 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10654 72102866-910b-0410-8b05-ffd578937521
2001-08-04 14:48:57 +00:00
FredKiefer
6f70c418e5 Implemented the new methods and [titleWidth:]. In method
[titleWidth] use [cellSize] to compute the width.
In [drawWithFrame:inView:] lock focus only if there is something
to draw.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10653 72102866-910b-0410-8b05-ffd578937521
2001-08-04 14:47:51 +00:00
FredKiefer
08ec15d699 Delcare the methods [attributedTitle], [setAttributedTitle:] and
[setTitleWithMnemonic:].
Removed methods already declared for super classes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10652 72102866-910b-0410-8b05-ffd578937521
2001-08-04 14:44:35 +00:00
FredKiefer
c0a29aebd4 Dumy implementations for new class methods and implementations for
new instance methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10651 72102866-910b-0410-8b05-ffd578937521
2001-08-04 14:43:31 +00:00
FredKiefer
30dec24be5 Added new class methods [currentContextDrawingToScreen],
[graphicsContextWithAttributes:], [graphicsContextWithWindow:],
[restoreGraphicsState], [saveGraphicsState], [setGraphicsState:]
and new instance methods [attributes], [flushGraphics] and
[graphicsPort].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10650 72102866-910b-0410-8b05-ffd578937521
2001-08-04 14:40:04 +00:00
gcasa
caac798bca Added nextKeyView to views withing gmodel to allow user to tab between buttons. Fixed a bug in NSBrowser. Made some corrections to NSSpellChecker and [NSTextView checkSpelling:]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10641 72102866-910b-0410-8b05-ffd578937521
2001-08-03 05:16:49 +00:00
fedor
1ef5d6721d MinGW cleanup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10640 72102866-910b-0410-8b05-ffd578937521
2001-08-02 14:51:41 +00:00
FredKiefer
aee1d32444 Corrected the year of all my last entries, as it was still 2000.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10636 72102866-910b-0410-8b05-ffd578937521
2001-08-01 22:52:52 +00:00
FredKiefer
39acf24ba4 Made it compile without warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10635 72102866-910b-0410-8b05-ffd578937521
2001-08-01 22:51:43 +00:00
FredKiefer
2ac11ba36f Implement [reloadDefaultFontFamilies] and use it in [init].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10634 72102866-910b-0410-8b05-ffd578937521
2001-08-01 22:48:17 +00:00
FredKiefer
da2fb3ab34 Added [copyWithZone:], [mouseLocation] and dummy implemntation of
[deltaX], [deltaY] and [deltaZ].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10633 72102866-910b-0410-8b05-ffd578937521
2001-08-01 22:46:57 +00:00
FredKiefer
8b04150a2a Declare method [reloadDefaultFontFamilies].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10632 72102866-910b-0410-8b05-ffd578937521
2001-08-01 22:46:09 +00:00
FredKiefer
5ee630031f Decalre to support copying.
Added event type NSScrollWheel and mask NSScrollWheelMask.
Declare methods mouseLocation and deltaX...deltaZ.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10631 72102866-910b-0410-8b05-ffd578937521
2001-08-01 22:45:38 +00:00
FredKiefer
7fcf0a39e2 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10621 72102866-910b-0410-8b05-ffd578937521
2001-08-01 00:06:01 +00:00
FredKiefer
369655d2f6 Install NSDrawer.h and compile NSDrawer.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10620 72102866-910b-0410-8b05-ffd578937521
2001-08-01 00:05:04 +00:00
FredKiefer
c9f79f9592 Notification strings for NSDrawer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10619 72102866-910b-0410-8b05-ffd578937521
2001-08-01 00:04:31 +00:00
FredKiefer
414527b963 Include NSDrawer.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10618 72102866-910b-0410-8b05-ffd578937521
2001-08-01 00:03:56 +00:00
FredKiefer
4b188df56d Dummy implementation of NSDrawer class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10617 72102866-910b-0410-8b05-ffd578937521
2001-08-01 00:03:07 +00:00
FredKiefer
6de96f738d New header file for NSDrawer class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10616 72102866-910b-0410-8b05-ffd578937521
2001-08-01 00:02:12 +00:00
fedor
693617eff0 Convert libgmodel to a bundle
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10615 72102866-910b-0410-8b05-ffd578937521
2001-07-31 16:57:26 +00:00
fedor
7a02fcb251 Fixes to compile shared on Windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10611 72102866-910b-0410-8b05-ffd578937521
2001-07-30 21:30:51 +00:00
CaS
fecd64cc5e Patch by george comitted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10608 72102866-910b-0410-8b05-ffd578937521
2001-07-30 14:17:37 +00:00