Fred Kiefer
636839875f
Removed the coder methods as they were just super calls.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14561 72102866-910b-0410-8b05-ffd578937521
2002-09-25 22:56:31 +00:00
Adam Fedor
d47e202fbe
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
Adam Fedor
a56278096e
Merge from 0.7.0
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10329 72102866-910b-0410-8b05-ffd578937521
2001-07-09 02:49:03 +00:00
Mirko Viviani
60b8f20ce4
* Source/NSButtonCell.m ([NSButtonCell -setCellAttribute:to:]):
...
implemented.
([NSButtonCell -cellAttribute:]): implemented.
* Source/NSPopUpButton.m ([NSPopUpButton -keyDown:]): implemented
keyboard selection.
([NSPopUpButton -resignFirstResponder]): implemented.
([NSPopUpButton -resignKeyWindow]): implemented.
* Source/NSPopUpButtonCell.m ([NSPopUpButtonCell
-drawInteriorWithFrame:inView:]): from -drawWithFrame:inView:
* Source/NSButton.m ([NSButton -becomeFirstResponder]): set cell first
responder.
([NSButton -resignFirstResponder]): likewise.
([NSButton -becomeKeyWindow]): likewise.
([NSButton -resignKeyWindow]): likewise.
* Source/NSBrowserCell.m ([NSBrowserCell -drawInteriorWithFrame:
inView:]): draw correct dotted box.
* Source/NSBrowser.m ([NSBrowser -becomeFirstResponder]): make first
responder the latest column.
([NSBrowser -acceptsFirstResponder]): accepts first responder status.
([NSBrowser -keyDown:]): handle tabs to select next/previous key view.
([NSBrowser -moveRight:]): make browser column the first responder.
([NSBrowser -moveUp:]): likewise.
([NSBrowser -moveDown:]): likewise.
([NSBrowser -moveLeft:]): likewise.
([NSBrowser -_unloadFromColumn:]): remove columns from superview and
array.
([NSBrowser -_remapColumnSubviews:]): set the correct first responder.
* Source/NSWindow.m ([NSWindow -sendEvent:]): retain/release first
responder for keyUp/keyDown events. Discard NSLeftMouseDown for closed
windows.
([NSWindow -dealloc]): release _originalResponder
* Source/NSView.m ([NSView -removeSubview:]): remove next responder.
* Source/NSCell.m ([NSCell -setUpFieldEditorAttributes:]): clear
selected range.
([NSCell -editWithFrame:inView:editor:delegate:event:]): redisplay
textObject after invoking mouseDown:
([NSCell -drawInteriorWithFrame:inView:]): draw dotted-line outline
when first responder.
([NSCell -setCellAttribute:to:]): implemented.
* Source/NSTextView.m ([NSTextView -moveUp:]): don't call
_illegalMovement: for the text field editor.
([NSTextView -moveDown:]): likewise.
([NSTextView -moveLeft:]): likewise.
([NSTextView -moveRight:]): likewise.
* Source/NSTextField.m ([NSTextField -textDidEndEditing:]): fixed
return/tab/backtab text movement code.
* Headers/gnustep/gui/NSGraphics.h: added NSDottedFrameRect prototype.
* Headers/gnustep/gui/NSMatrix.h: added ivars for dotted frame rect.
* Source/NSMatrix.m ([NSMatrix -selectCell:]): implemented.
([NSMatrix -_selectCell:atRow:column:]): new method.
([NSMatrix -selectCellAtRow:column:]): call _selectCell:atRow:column:
([NSMatrix -selectCellWithTag:]): likewise.
([NSMatrix -selectAll:]): Do not select disabled or editable cells.
([NSMatrix -textDidEndEditing:]): fixed return/tab/backtab text
movement code.
([NSMatrix -_selectNextSelectableCellAfterRow:column:]): don't select
disabled cells.
([NSMatrix -_selectPreviousSelectableCellBeforeRow:column:]): likewise.
([NSMatrix -_privateFrame:mode:numberOfRows:numberOfColumns:]): set
dottedRow and dottedColumn.
([NSMatrix -insertRow:withCells:]): likewise.
([NSMatrix -removeColumn:]): likewise.
([NSMatrix -removeRow:]): likewise.
([NSMatrix -mouseDown:]): likewise and discard disabled cells.
([NSMatrix -drawRect:]): set shows cell first responder.
([NSMatrix -becomeFirstResponder]): draw dotted box for cell.
([NSMatrix -resignFirstResponder]): likewise.
([NSMatrix -becomeKeyWindow]): likewise.
([NSMatrix -resignKeyWindow]): likewise.
([NSMatrix -_setNeedsDisplayDottedCell]): likewise.
([NSMatrix -selectTextAtRow:column:]): set shows cell first responder.
([NSMatrix -setState:atRow:column:]): likewise. Deselect previous
selected cell in radio mode.
* Source/NSSavePanel.m (createRowsForColumn:): use _gsSavePanelCompare:
and check extension against _requiredFileType and not "app", "bundle",
etc.
([NSString -_gsSavePanelCompare:]): filename compare.
([NSSavePanel -_initWithoutGModel]): set key view for keyboard
interaction.
([NSSavePanel -keyDown:]): removed.
([NSSavePanel -controlTextDidEndEditing:]): removed.
* Source/NSOpenPanel.m ([NSOpenPanel -_shouldShowExtension:isDir:]):
added isDir argument.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9473 72102866-910b-0410-8b05-ffd578937521
2001-03-22 00:27:37 +00:00
Nicola Pero
3e85dfc918
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8815 72102866-910b-0410-8b05-ffd578937521
2001-01-26 18:42:16 +00:00
Fred Kiefer
a5b32e8ee8
Delegate all the new methods to the cell. Replaced all calls to
...
[display] with [setNeedsDisplay:] excuding those in [setState:]
and [setNextState:]. Removed the initXXX methods, as they were
doublicated code from super.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8443 72102866-910b-0410-8b05-ffd578937521
2000-12-26 21:42:57 +00:00
Nicola Pero
89fce18382
Fixed bug allowing buttons disabled but with a key equivalent to get first
...
responder status
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8395 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:23:21 +00:00
Nicola Pero
2a1fe3649f
Updated key event processing for fix in the backend
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7370 72102866-910b-0410-8b05-ffd578937521
2000-09-04 02:03:37 +00:00
Nicola Pero
aabbc2a36d
Added mixed state support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6827 72102866-910b-0410-8b05-ffd578937521
2000-06-27 17:33:16 +00:00
Nicola Pero
6358d4df44
Updated for change in NSView ivars
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5719 72102866-910b-0410-8b05-ffd578937521
2000-01-10 02:04:25 +00:00
Nicola Pero
0fc899c47f
Updated for change in NSControl's ivar names
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5529 72102866-910b-0410-8b05-ffd578937521
1999-12-16 03:07:14 +00:00
Richard Frith-MacDonald
cf6bfb84d3
Fixes from Jonathon Gapen
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5388 72102866-910b-0410-8b05-ffd578937521
1999-12-07 05:34:07 +00:00
Nicola Pero
6dabe99816
Removed duplicated method
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5079 72102866-910b-0410-8b05-ffd578937521
1999-10-25 22:13:53 +00:00
Nicola Pero
acf4393a01
Tiny tidy up.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5001 72102866-910b-0410-8b05-ffd578937521
1999-10-13 00:50:49 +00:00
Richard Frith-MacDonald
adba2520a6
Fixes from n.pero
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4989 72102866-910b-0410-8b05-ffd578937521
1999-10-12 12:59:10 +00:00
Richard Frith-MacDonald
dd34792910
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
Richard Frith-MacDonald
06739272c3
Fixes for drawing button cells.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4887 72102866-910b-0410-8b05-ffd578937521
1999-09-14 04:12:30 +00:00
Richard Frith-MacDonald
a069600acc
Some small bugfixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4318 72102866-910b-0410-8b05-ffd578937521
1999-05-28 14:09:36 +00:00
Richard Frith-MacDonald
b81c125b5e
.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4187 72102866-910b-0410-8b05-ffd578937521
1999-05-02 19:41:40 +00:00
Richard Frith-MacDonald
74806c946d
Mouse handling fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3973 72102866-910b-0410-8b05-ffd578937521
1999-03-24 11:31:06 +00:00
Richard Frith-MacDonald
dbbeff810a
Merged in 'dawn' CVS branch
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3827 72102866-910b-0410-8b05-ffd578937521
1999-03-02 08:58:30 +00:00
Felipe A. Rodriguez
48d1a0486f
tweak acceptsFirstResponder
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3467 72102866-910b-0410-8b05-ffd578937521
1998-12-16 12:57:41 +00:00
Felipe A. Rodriguez
1551c447ac
* NSCell.m acceptsFirstResponder implement, editWithFrame: adjust further,
...
selectWithFrame: preliminary implementation.
* NSButton.m: acceptsFirstResponder implement.
* NSText.m: shouldDrawInsertionPoint test for field editor status.
* NSTextField.m: mouseDown: use field editor instead of previous non OS
text field cell editor code, textShouldEndEditing: implement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3466 72102866-910b-0410-8b05-ffd578937521
1998-12-16 11:48:33 +00:00
Richard Frith-MacDonald
9b25f83278
Various updates to get keyboard equivalents for buttons working (especially
...
for panels).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3461 72102866-910b-0410-8b05-ffd578937521
1998-12-15 16:20:22 +00:00
Felipe A. Rodriguez
4dd58372f6
* move DPSOperators.h to XDPS.
...
* move GPS headers into a new backend.
* define GSContext.h/GSContext.m as abstract super for all drawing
destinations (eliminates the need for DPS, GPS, DGS at the root of
the AppKit) add appropriate defintion to various classes.
* NSMatrix.m add abstract backend code from xraw (eliminate backend).
* NSSlider.m add abstract backend code from xraw (eliminate backend).
* NSSliderCell.m add abstract backend code from xraw (eliminate backend).
* NSSplitView.m add abstract backend code from xraw (eliminate backend).
replace private divider highlight method with NSHighlightRect()
* NSWindow.m add class method to create backend specific window view.
* NSTextField.m add abstract backend code from xraw (eliminate backend).
* NSForm.m add abstract backend code from xraw (eliminate backend).
* NSFormCell.m add abstract backend code from xraw (eliminate backend).
* NSColorWell.m add abstract backend code from xraw (eliminate backend).
* NSButton.m add abstract backend code from xraw (eliminate backend).
* NSControl.m add abstract backend code from xraw (eliminate backend).
* NSBox.m add abstract backend code from xraw (eliminate backend).
* NSBrowser.m add abstract backend code from xraw (eliminate backend).
* NSBrowserCell.m add abstract backend code from xraw (eliminate backend).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3321 72102866-910b-0410-8b05-ffd578937521
1998-11-25 17:16:48 +00:00
Felipe A. Rodriguez
753def7785
* NSCell.m: changed implementation of trackMouse method so that it does
...
not hightlight the cell. The new behavior is as described in the spec
for NSControl, NSMatrix and NSCell. According to the spec it is the
responsibility of the control to highlight the cell prior to calling
cell's track method.
* NSMatrix.m: rewrote mousedown to more closely mimic the NS/OS behavior.
* NSButton.m: modified to support new behavior of NSCell's track mode.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2865 72102866-910b-0410-8b05-ffd578937521
1998-07-26 01:15:17 +00:00
Ovidiu Predescu
9837b14866
NSSlider implemented. Optimizations in displaying and flushing mechanism. A bunch of memory allocation problems fixed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2494 72102866-910b-0410-8b05-ffd578937521
1997-10-09 22:55:31 +00:00
Scott Christley
aee90a695e
Convert to the GNUstep makefile package.
...
The config.h files should not be installed with the other
header files; it is only used for compilation, so the source
files should include it not the header files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2439 72102866-910b-0410-8b05-ffd578937521
1997-09-23 22:43:24 +00:00
Scott Christley
287c850658
Numerous WIN32 and bug fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2380 72102866-910b-0410-8b05-ffd578937521
1997-08-16 23:47:24 +00:00
Scott Christley
433204b18a
Bugs removed from NSButton and NSDPSContext.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2374 72102866-910b-0410-8b05-ffd578937521
1997-08-06 20:29:07 +00:00
Scott Christley
6f7b6620d0
The first implementation of scroll views.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2370 72102866-910b-0410-8b05-ffd578937521
1997-08-05 21:50:10 +00:00
Scott Christley
ab62618166
Run loop integrated. Configure detects libFoundation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2280 72102866-910b-0410-8b05-ffd578937521
1997-04-22 18:23:58 +00:00
Scott Christley
b44d89e34a
Minor bug fixes related to lock/unlock of focus and
...
displaying cells when their value has changed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2257 72102866-910b-0410-8b05-ffd578937521
1997-03-21 01:06:15 +00:00
Scott Christley
5d15da4e79
Some small changes to support backing-store.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2244 72102866-910b-0410-8b05-ffd578937521
1997-03-17 18:43:27 +00:00
Scott Christley
91f71eb3ad
Changed the retain/release policy in NSButton, NSCell, NSControl,
...
NSSlider and NSTextField classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2230 72102866-910b-0410-8b05-ffd578937521
1997-03-05 19:46:41 +00:00
Scott Christley
e3b40cf7bc
Initial implementation of NSScroller.
...
Reinstate NSCursor and NSColorWell changes that got lost.
Utilize config.h file instead of compiler defines.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2228 72102866-910b-0410-8b05-ffd578937521
1997-03-05 01:11:17 +00:00
Scott Christley
1f73912776
Remove internal NSLog() implementation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2224 72102866-910b-0410-8b05-ffd578937521
1997-03-04 17:55:44 +00:00
Scott Christley
151bf11e2c
Header files reorganized. All the definitions were moved in appropiate files.
...
Each header file includes only the header files it needs and it uses
@class to forward reference a class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2189 72102866-910b-0410-8b05-ffd578937521
1997-02-18 00:29:25 +00:00
Scott Christley
50604fcf31
Corrected FSF address and moved comment about NET-Community
...
support into SUPPORT file.
Additional NSImage work.
Added resources for common TIFF images.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@1869 72102866-910b-0410-8b05-ffd578937521
1996-10-18 17:14:13 +00:00
GNUstep Maintainer
6ec5d8d5a4
Corrections for state changes and drawing with cells and controls.
...
Corrections to NSWindow for key and main window notification and
first responder handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@1642 72102866-910b-0410-8b05-ffd578937521
1996-07-10 20:43:47 +00:00
GNUstep Maintainer
e2228d0274
Initial implementation of NSScreen.
...
Add mouse dragged events for mouse tracking.
Implement methods for converting points to/from views.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@1638 72102866-910b-0410-8b05-ffd578937521
1996-06-21 15:27:13 +00:00
GNUstep Maintainer
9ce655f2c1
Implement methods for resizing subviews.
...
Some minor bug fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@1637 72102866-910b-0410-8b05-ffd578937521
1996-06-21 15:08:08 +00:00
GNUstep Maintainer
4faed08751
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@1580 72102866-910b-0410-8b05-ffd578937521
1996-05-30 20:03:15 +00:00