Commit graph

2900 commits

Author SHA1 Message Date
Fred Kiefer
a3e838fd0f Declaration of this class and of the protocols
NSInputServerMouseTracker and NSInputServiceProvider.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10714 72102866-910b-0410-8b05-ffd578937521
2001-08-18 15:14:55 +00:00
Fred Kiefer
723ddc1b41 Declaration of this class and of the protocol NSTextInput.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10713 72102866-910b-0410-8b05-ffd578937521
2001-08-18 15:14:02 +00:00
Fred Kiefer
1cc64e5298 Added missing functions and removed obsolete feature from NSImageRep
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10711 72102866-910b-0410-8b05-ffd578937521
2001-08-14 22:40:28 +00:00
Fred Kiefer
06f366eac2 Implemented missing NSUpdateDynamicServices().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10710 72102866-910b-0410-8b05-ffd578937521
2001-08-14 22:39:06 +00:00
Fred Kiefer
4a0c1a233f 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
Fred Kiefer
7cb1299ac2 [initialize] removed obsolete check for default setting of
ImageComposition. In [copyWithZone:] copy the colour space, it
might be mutable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10708 72102866-910b-0410-8b05-ffd578937521
2001-08-14 22:37:11 +00:00
Pierre-Yves Rivaille
5f3c07c0f6 Source/NSTableView.m
Source/NSTableHeaderView.m
Headers/gnustep/gui/NSTableView.h


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10707 72102866-910b-0410-8b05-ffd578937521
2001-08-13 15:11:37 +00:00
Pierre-Yves Rivaille
7355b2a2f2 added BOOL _allowsColumnReordering
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10706 72102866-910b-0410-8b05-ffd578937521
2001-08-13 15:08:49 +00:00
Pierre-Yves Rivaille
679debe40c Changed [-_userResizedTableColumn: leftWidth: rightWidth:] to
[-_userResizedTableColumn: width] for better resizing
Added [-_columnOrigins] for column reordering


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10705 72102866-910b-0410-8b05-ffd578937521
2001-08-13 15:06:53 +00:00
Pierre-Yves Rivaille
8a192b68b9 Reimplemented column resizing
Implemented column reordering


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10704 72102866-910b-0410-8b05-ffd578937521
2001-08-13 15:03:39 +00:00
Pierre-Yves Rivaille
2defbf1411 Source/NSSavePanel.m
Source/NSOpenPanel.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10703 72102866-910b-0410-8b05-ffd578937521
2001-08-13 15:00:30 +00:00
Pierre-Yves Rivaille
2500131c69 [NSSavePanel -runModalForDirectory:file:]
[NSOpenPanel -runModalForDirectory:file:types:]
Moved functionality from NSOpenPanel to NSSavePanel:
the "ok" button is shown as enabled or not at the beginning depending
on whether the given file is valid.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10702 72102866-910b-0410-8b05-ffd578937521
2001-08-13 14:57:20 +00:00
Pierre-Yves Rivaille
fc92649aa2 Source/NSPopUpButton.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10701 72102866-910b-0410-8b05-ffd578937521
2001-08-13 14:37:32 +00:00
Pierre-Yves Rivaille
01521ad6e7 [NSPopUpButton -keyDown:] add code to send the selected item action to its
target (this enables key control of an NSPopUpButton configured as an
pull-down list)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10700 72102866-910b-0410-8b05-ffd578937521
2001-08-13 14:34:35 +00:00
Pierre-Yves Rivaille
92fcfeaf5f Source/Functions.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10697 72102866-910b-0410-8b05-ffd578937521
2001-08-13 14:28:22 +00:00
Pierre-Yves Rivaille
0e4a09cb8d 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
Nicola Pero
529c95f758 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
Nicola Pero
93bcc21cfa 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
Nicola Pero
c62d49de4a 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
Nicola Pero
5320d8d0ec 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
Nicola Pero
9bca979b83 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
Nicola Pero
759f159d16 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
Fred Kiefer
a935e95e29 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
Fred Kiefer
913a946557 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
Fred Kiefer
8ce1c50fb3 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
Nicola Pero
5359a4a0c6 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
Nicola Pero
4e388f9dd7 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
Fred Kiefer
c57c850110 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
Fred Kiefer
468daba33d 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
Fred Kiefer
f9054d3ecf 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
Fred Kiefer
172f01e219 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
Nicola Pero
e472270a62 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
Nicola Pero
b36c5af23c 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
Nicola Pero
0e194846d1 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
Nicola Pero
d924a8c110 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
Nicola Pero
a6b23404c1 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
Nicola Pero
8a68e62e5a 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
Fred Kiefer
80149f81e9 .
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
Fred Kiefer
4fbf129d23 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
Fred Kiefer
e7e38574d9 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
Fred Kiefer
1dbdc57ce5 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
Fred Kiefer
d7698f89e9 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
Fred Kiefer
603d8d45ca 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
Fred Kiefer
2c2df0734e .
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
Fred Kiefer
661bf04cb2 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
Fred Kiefer
ef1c288670 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
Fred Kiefer
3bea937d15 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
Fred Kiefer
09161cd692 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
Gregory John Casamento
016e021fc1 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
Adam Fedor
a77949a8e6 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