Mirko Viviani
631fba3e97
* Source/NSBrowser.m ([NSBrowser -_unloadFromColumn:]): fix index out
...
of bound (patch by Enrico Sersale <enrico@imago.ro>)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9474 72102866-910b-0410-8b05-ffd578937521
2001-03-22 16:38:24 +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
Richard Frith-Macdonald
2bbfbf1bb5
Coding/decoding fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9469 72102866-910b-0410-8b05-ffd578937521
2001-03-21 08:09:58 +00:00
Fred Kiefer
c465e1eb7b
Define concret subclasses of NSColor and moved code into this
...
subclasses.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9466 72102866-910b-0410-8b05-ffd578937521
2001-03-21 00:11:15 +00:00
Fred Kiefer
95acf3e0cc
Corrected two errors in [writeToFile:] introduced by the last
...
changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9465 72102866-910b-0410-8b05-ffd578937521
2001-03-21 00:10:29 +00:00
Fred Kiefer
1e529a1d34
[containsPoint:] corrected and simplified a bit, but this still
...
needs a complete rework.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9464 72102866-910b-0410-8b05-ffd578937521
2001-03-21 00:09:29 +00:00
Jonathan Gapen
5aaa58693c
Modernize NSPrinter code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9458 72102866-910b-0410-8b05-ffd578937521
2001-03-19 23:34:36 +00:00
Nicola Pero
d32c118cf3
Commented out all empty assignments
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9410 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:50:11 +00:00
Nicola Pero
40b3c49785
Only create the ./$(GNUSTEP_OBJ_DIR)/Parsers directory if it doesnt exist
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9408 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:44:00 +00:00
Nicola Pero
f372a3a0c2
Standardized installation of headers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9407 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:43:17 +00:00
Nicola Pero
281cfbd030
Updated encoding names for change in the base library names
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9347 72102866-910b-0410-8b05-ffd578937521
2001-03-13 20:42:10 +00:00
Nicola Pero
f7bc69d85c
Fixed how angles are managed when drawing arcs: do it postscript-like
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9308 72102866-910b-0410-8b05-ffd578937521
2001-03-07 13:09:22 +00:00
Adam Fedor
77aed0db2b
Fix declarations
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9304 72102866-910b-0410-8b05-ffd578937521
2001-03-06 03:29:55 +00:00
Nicola Pero
c76c32bc0f
Fixes to appending an arc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9252 72102866-910b-0410-8b05-ffd578937521
2001-03-01 01:47:32 +00:00
Fred Kiefer
b7ebd82a87
[_initWithoutGModel] set target and action for the main colour well.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9188 72102866-910b-0410-8b05-ffd578937521
2001-02-20 01:02:06 +00:00
Richard Frith-MacDonald
b5801d88f8
Tidyups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9186 72102866-910b-0410-8b05-ffd578937521
2001-02-19 20:50:49 +00:00
Fred Kiefer
cbf29dd632
[_initBackendWindow:] corrected the registration of drag types,
...
when a window gets realized. We have to use a copy here, as the
original will get changed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9163 72102866-910b-0410-8b05-ffd578937521
2001-02-19 00:39:28 +00:00
Richard Frith-MacDonald
3b6e2d911e
Color dragging minor improvement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9162 72102866-910b-0410-8b05-ffd578937521
2001-02-18 18:10:35 +00:00
Richard Frith-MacDonald
7331c5e058
Modifiefd color well to act more like NeXTstep one
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9160 72102866-910b-0410-8b05-ffd578937521
2001-02-18 15:53:19 +00:00
Nicola Pero
3740b93b42
Make the rectangle to copy in device space integral before copying
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9155 72102866-910b-0410-8b05-ffd578937521
2001-02-18 15:09:15 +00:00
Nicola Pero
68d59304dd
Fixed handling of first responder status to the document view
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9151 72102866-910b-0410-8b05-ffd578937521
2001-02-17 20:39:38 +00:00
Fred Kiefer
069aab6aff
Added methods to handle target and action.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9146 72102866-910b-0410-8b05-ffd578937521
2001-02-14 22:50:06 +00:00
Adam Fedor
0e78dabbf9
Don't set uncaught except handler until after init
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9125 72102866-910b-0410-8b05-ffd578937521
2001-02-12 04:48:22 +00:00
Richard Frith-MacDonald
82da0b3811
Support dropping of filenames onto an appicon
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9122 72102866-910b-0410-8b05-ffd578937521
2001-02-10 06:58:20 +00:00
Nicola Pero
c8a8a98dab
Fix for nil superview on solaris
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9120 72102866-910b-0410-8b05-ffd578937521
2001-02-09 18:52:29 +00:00
Richard Frith-MacDonald
fbaa1522c3
Cenyter miniwindow title
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9051 72102866-910b-0410-8b05-ffd578937521
2001-02-08 07:02:39 +00:00
Nicola Pero
2b722a30f8
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9049 72102866-910b-0410-8b05-ffd578937521
2001-02-08 00:00:32 +00:00
Nicola Pero
15ee05af34
Restore the selected cells in reload column
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9046 72102866-910b-0410-8b05-ffd578937521
2001-02-07 23:13:32 +00:00
Nicola Pero
695d12c014
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9045 72102866-910b-0410-8b05-ffd578937521
2001-02-07 22:39:09 +00:00
Nicola Pero
28c73b4f89
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9044 72102866-910b-0410-8b05-ffd578937521
2001-02-07 22:32:54 +00:00
Nicola Pero
a54ada433d
Removed hack to set splitview's subviews sizes right - no longer needed
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9042 72102866-910b-0410-8b05-ffd578937521
2001-02-07 22:09:03 +00:00
Nicola Pero
f15e2802c0
Implemented adjusting subviews only the first time the splitview is
...
displayed; fixed some delegate messaging which was done the wrong way
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9040 72102866-910b-0410-8b05-ffd578937521
2001-02-07 22:06:32 +00:00
Nicola Pero
b3b6f06e51
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9038 72102866-910b-0410-8b05-ffd578937521
2001-02-07 21:11:45 +00:00
Nicola Pero
b24794ed3c
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9037 72102866-910b-0410-8b05-ffd578937521
2001-02-07 20:35:13 +00:00
Richard Frith-MacDonald
38e49853d5
Miniwindow style improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9018 72102866-910b-0410-8b05-ffd578937521
2001-02-07 11:17:38 +00:00
Richard Frith-MacDonald
339a6fb073
Fixed bug in handling position of window when selecting 'close' windows item.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8979 72102866-910b-0410-8b05-ffd578937521
2001-02-06 08:36:13 +00:00
Fred Kiefer
387191e632
Reimplemented without using a GModel file.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8973 72102866-910b-0410-8b05-ffd578937521
2001-02-05 01:23:25 +00:00
Fred Kiefer
45d7d1cce9
In [supportMaxColorSpaces] added converions from RGB to CMYK.
...
In [colorUsingColorSpaceName:device:] added convertion from named
colour.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8972 72102866-910b-0410-8b05-ffd578937521
2001-02-05 01:22:43 +00:00
Nicola Pero
10b6a795ae
Fixed selection in table with a single row
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8965 72102866-910b-0410-8b05-ffd578937521
2001-02-02 22:41:57 +00:00
Nicola Pero
3cba3915cc
Fixed selected the only column in a single column table
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8952 72102866-910b-0410-8b05-ffd578937521
2001-01-31 01:42:31 +00:00
Michael Silva
ada6fa1740
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8949 72102866-910b-0410-8b05-ffd578937521
2001-01-30 21:18:20 +00:00
Adam Fedor
b7a6c1a1fc
Reset the locale
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8917 72102866-910b-0410-8b05-ffd578937521
2001-01-30 01:01:15 +00:00
Nicola Pero
284aef1ae9
Post appropriate notifications after the user finished dragging
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8913 72102866-910b-0410-8b05-ffd578937521
2001-01-29 22:20:56 +00:00
Nicola Pero
494e75a247
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8912 72102866-910b-0410-8b05-ffd578937521
2001-01-29 21:54:14 +00:00
Nicola Pero
7db396b77a
Fixed column for point when point lies on the column boundary;
...
unselect an already selected row on click only if shift is pressed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8910 72102866-910b-0410-8b05-ffd578937521
2001-01-29 21:47:27 +00:00
Nicola Pero
86640aaa94
Create directory AppKit rather than gnustep/AppKit to install headers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8892 72102866-910b-0410-8b05-ffd578937521
2001-01-29 19:49:44 +00:00
Nicola Pero
bb8a4b8574
Install headers in AppKit rather than gnustep/AppKit; include local
...
gui.make
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8890 72102866-910b-0410-8b05-ffd578937521
2001-01-29 19:48:42 +00:00
Nicola Pero
55b1cd5681
rm GNUmakefile.local; install gui.make
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8889 72102866-910b-0410-8b05-ffd578937521
2001-01-29 19:47:53 +00:00
Nicola Pero
85323abc73
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8867 72102866-910b-0410-8b05-ffd578937521
2001-01-28 23:01:25 +00:00
Nicola Pero
1fa7d45744
Update bounds origin upon setting frame
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8865 72102866-910b-0410-8b05-ffd578937521
2001-01-28 22:57:55 +00:00