Commit graph

137 commits

Author SHA1 Message Date
Fred Kiefer
a666d7658d Removed unneeded includes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15004 72102866-910b-0410-8b05-ffd578937521
2002-11-17 18:38:34 +00:00
Fred Kiefer
e3aa46c612 In [initImageCell:] and [initTextCell:] set the default menu.
In all [XXXValue] methods try to get the value from the objectValue
first and use [stringValue] instead of accessing the contents directly.
Removed AUTORELEASE calls from [attributedStringValue] and similar
places.
In [cellSize] use [attributedStringValue] to get the string to size.
In [drawInteriorWithFrame:inView:] use [attributedStringValue] to
get the string to draw. This make the method [_drawText:inFrame:]
obsolete for this class, but subclasses still use it.
New method [_setupTextWithFrame:inView:editor:] with the common
text view setup from [editWithFrame:inView:editor:delegate:event:]
and [selectWithFrame:inView:editor:delegate:start:length:].
Calls to [setFont:] and [setAlignment:] switch the cell to NSTextCellType.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14952 72102866-910b-0410-8b05-ffd578937521
2002-11-07 23:33:33 +00:00
Richard Frith-Macdonald
c8fe5fbff1 Tidied for autogsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14752 72102866-910b-0410-8b05-ffd578937521
2002-10-13 07:10:44 +00:00
Adam Fedor
356a824ea8 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
Nicola Pero
ff1076cff8 Do not force an immediate display in editXxx: and selectXxxx:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14538 72102866-910b-0410-8b05-ffd578937521
2002-09-24 14:35:52 +00:00
Pierre-Yves Rivaille
46630bd6de * Source/NSText.m ([NSText -initWithCoder:]):
Retain the decoded background color.

	* Source/NSTextView.m :
	multiple location: don't ignore textContainer's inset
	([NSTextView -initWithCoder:])
	([NSTextView -encodeWithCoder:])
	Encode caret color, textContainer's size and whether the
	textContainer has widthTracksTextView or heightTracksTextView set.
	([NSTextView -sizeToFit]) Change width (height) only if
	is_horizontally_resizable (is_vertically_resizable).
	([NSTextView -scrollRangeToVisible:]) scrolls to the first char of
	the range.
	([NSTextView -invalidateTextContainerOrigin]): Don't ignore inset,
	set the origin so that the justification is preserved even if the
	textContainer's width is larger that the textview's width.
	([NSTextView -updateInsertionPointStateAndRestartTimer:]):
	update and place the insertion point properly.
	([NSTextView -moveDown:]) & ([NSTextView -moveUp:]):
	Don't ignore inset. Make insertion point visible.

	* Source/NSTextField.m ([NSTextField -acceptsFirstResponder:]):
	responds NO if the editing is still in progrss.

	* Source/NSLayoutManager.m
	([NSLayoutManager -drawBackgroundForGlyphRange:atPoint:]):
	Don't ignore textContainer's inset.

	* Source/GSSimpleLayoutManager.m
	Replaced [-drawLinesInLineRange:] with [-drawLinesInLineRange:atPoint:].
	Replaced [-drawSelectionAsRangeNoCaret:] with
	[-drawSelectionAsRangeNoCaret:atPoint:].
	Those replacements make it easier to take inset into account.
	([-lineFragmentUsedRectForGlyphAtIndex:effectiveRange:])
	([-locationForGlyphAtIndex:])
	([-boundingRectForGlyphRange:inTextContainer:])
	([-rectForCharacterIndex:])
	([-setNeedsDisplayForLineRange:inTextContainer:]):
	Various fixes.
	([-textStorage:edited:range:changeInLength:invalidatedRange:])
	Update insertion point if needed (useful when alignment changes).
	([-rebuildForRange:delta:inTextContainer:]):
	Update layout mechanism.

	* Source/NSCell.m
	([NSCell -highlight:withFrame:inView:]):
	Ask the control to draw the background if we are not opaque.
	([NSCell -editWithFrame:inView:editor:delegate:event:]):
	([NSCell -selectWithFrame:inView:editor:delegate:start:length:]):
	([NSCell -endEditing:]):
	instantiate (and remove) the textview so that it can be scrolled.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14429 72102866-910b-0410-8b05-ffd578937521
2002-09-11 20:26:27 +00:00
Nicola Pero
be371e47d7 Added missing #includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13442 72102866-910b-0410-8b05-ffd578937521
2002-04-11 23:17:42 +00:00
Adam Fedor
228bb345cf Update docs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13335 72102866-910b-0410-8b05-ffd578937521
2002-04-03 16:59:43 +00:00
Nicola Pero
cb43f1ecbe Use the system font as default font, not the user font
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13031 72102866-910b-0410-8b05-ffd578937521
2002-03-07 10:41:12 +00:00
Richard Frith-Macdonald
c1ffddcdc8 Rename middl toother mouse
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12948 72102866-910b-0410-8b05-ffd578937521
2002-03-02 07:23:18 +00:00
Nicola Pero
9dfbbceaf2 Updated for changes in semantics of NSMutableAttributedString -string
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12497 72102866-910b-0410-8b05-ffd578937521
2002-02-11 17:21:13 +00:00
Pierre-Yves Rivaille
e62b1743a6 Source/NSCell.m
Headers/gnustep/gui/NSCell.h: [NSCell -setHighlighted:] new method


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12354 72102866-910b-0410-8b05-ffd578937521
2002-01-31 21:17:29 +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
Nicola Pero
18e2344353 Use NSDebugMLLog, not NSWarn, when warning that -setStringValue: was
called with nil argument


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11693 72102866-910b-0410-8b05-ffd578937521
2001-12-11 02:23:59 +00:00
Nicola Pero
eadda82a38 Use a warning, do not throw an exception, when setStringValue: is called
with nil argument


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11572 72102866-910b-0410-8b05-ffd578937521
2001-11-30 13:18:01 +00:00
Nicola Pero
b469c9f9b6 Added comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11218 72102866-910b-0410-8b05-ffd578937521
2001-10-23 09:39:03 +00:00
Nicola Pero
f7e4554107 Use an assertion to force setStringValue: to reject nil as argument
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11217 72102866-910b-0410-8b05-ffd578937521
2001-10-23 09:37:59 +00:00
Nicola Pero
6d4ea38fb5 When programmatically simulating a mouse click, also change state of the
cell


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10189 72102866-910b-0410-8b05-ffd578937521
2001-06-16 11:06:16 +00:00
Nicola Pero
babf751ba5 Added NSDebugLog for case in which the cell is asked for a cell attribute
which is not supported


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10154 72102866-910b-0410-8b05-ffd578937521
2001-06-10 16:12:56 +00:00
Nicola Pero
feb57ab9ae Removed unused default: label and tidied code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10133 72102866-910b-0410-8b05-ffd578937521
2001-06-09 01:35:39 +00:00
Mirko Viviani
f005f68b2c * Source/NSButtonCell.m ([NSButtonCell -drawInteriorWithFrame:
inView:]): fix mask if cell is highlighted and it isn't in off state.

* Source/NSCell.m ([NSCell -trackMouse:inRect:ofView:untilMouseUp:]):
set next cell state and send action after -stopTracking:

* Source/NSBrowser.m ([NSBrowser -keyDown:]): does nothing for arrow up
and down.
([NSBrowser -moveUp:]): removed.
([NSBrowser -moveDown:]): removed.
([NSBrowser -_performLoadOfColumn:]): fix matrix creation, enable
matrix autoscroll.
([NSBrowser -_performLoadOfColumn:]): implemented reusesColumns.

* Source/NSMatrix.m ([NSMatrix -keyDown:]): implemented keyboard
navigation.
([NSMatrix -moveUp:]): likewise.
([NSMatrix -moveDown:]): likewise.
([NSMatrix -moveLeft:]): likewise.
([NSMatrix -moveRight:]): likewise.
([NSMatrix -performClick:]): implemented.
([NSMatrix -mouseDown:]): scroll rect only if autoscroll is enabled,
do not hightlight a cell directly but use the matrix method.
Now it handles only NSListModeMatrix mode to reduce complexity
introduced by other modes.
([NSMatrix -_mouseDownNonListMode:]): fixed.
([NSMatrix -highlightCell:atRow:column:]): enable the cell dotted
outline.
([NSMatrix -drawCellAtRow:column:]): likewise.
([NSMatrix -drawRect:]): removed drawing of dotted outline. Rewritten
due to changes in -getRow:column:forPoint:
([NSMatrix -getRow:column:forPoint:]): set row and column to -1 if
point is not inside a cell.
([NSMatrix -_selectCell:atRow:column:]): use mnemonic value for cell
state, does not enable dotted outline and check for nil aCell.
([NSMatrix -selectTextAtRow:column:]): likewise.
([NSMatrix -_setState:highlight:startIndex:endIndex:]): use matrix
highlightCell: method and mnemonic for cell state.
([NSMatrix -deselectAllCells]): likewise.
([NSMatrix -selectAll:]): likewise.
([NSMatrix -setSelectionFrom:to:anchor:highlight:]): likewise.
([NSMatrix -performKeyEquivalent:]): select next cell state.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9594 72102866-910b-0410-8b05-ffd578937521
2001-04-16 19:52:52 +00:00
Mirko Viviani
afec355a80 * Source/NSCell.m ([NSCell -drawInteriorWithFrame:inView:]): do not
check if the control that owns the cell is the first responder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9485 72102866-910b-0410-8b05-ffd578937521
2001-03-23 21:06:42 +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
Fred Kiefer
003b893e23 In [drawInteriorWithFrame:inView:] use NSCompositeSourceOver as
the operator for imag composition not NSCompositeCopy. This
replacement may be necessary in other parts of the GUI as well!!!!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8424 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:22:16 +00:00
Nicola Pero
3d77093190 Access ivar _refuses_first_responder directly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8394 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:21:27 +00:00
Nicola Pero
86b2df02c9 Little tweak to keep number of concurrent typing dictionaries allocated
reasonably low


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8342 72102866-910b-0410-8b05-ffd578937521
2000-12-17 11:57:23 +00:00
Nicola Pero
ac3979e8f4 Updated for ivar change; attributed strings are now treated differently
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8329 72102866-910b-0410-8b05-ffd578937521
2000-12-16 13:55:28 +00:00
Nicola Pero
01360a699c When copying cells, do a superficial copy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8305 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:09:32 +00:00
Fred Kiefer
aef403cffa Moved the initialisation of the _typingAttributes from the init
method to its first use.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8280 72102866-910b-0410-8b05-ffd578937521
2000-12-08 01:19:38 +00:00
Fred Kiefer
d5b8faad6d Implemented a load of missing methods and adopted all subclasses to
this changes. (Including copying and coding) This breaks archived cells!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8264 72102866-910b-0410-8b05-ffd578937521
2000-12-07 00:13:30 +00:00
Mirko Viviani
df00948e11 2000-09-10 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* Tools/gpbs.m ([PasteboardEntry -lostOwnership]): workaround to avoid
	core dump due to NSConnection bug.

	* Source/NSWindow.m ([NSWindow -keyDown:]): discard and do not perform
	key equivalent for null character events. Triggered return key for
	default button cell.
	([NSWindow -defaultButtonCell]), ([NSWindow -setDefaultButtonCell:]),
	([NSWindow -disableKeyEquivalentForDefaultButtonCell]),
	([NSWindow -enableKeyEquivalentForDefaultButtonCell]): implemented.
	([NSWindow -dealloc]): release _defaultButtonCell

	* Headers/AppKit/NSWindow.h: added ivar and flag.

	* Source/NSOpenPanel.m ([NSOpenPanel -controlTextDidEndEditing:]),
	([NSOpenPanel -controlTextDidChange:]), ([NSOpenPanel -ok:]):
	implemented keyboard navigation.
	([NSOpenPanel -runModalForDirectory:file:types:]): do not allow
	branch selection if can't choose directories.
	([NSOpenPanel -_selectTextInColumn:]),
	([NSOpenPanel -_selectCellName:]): new private methods.
	([NSOpenPanel -filenames]): change for choose dirs.

	* Source/NSText.m ([NSText -keyDown:]): forwards text field illegal
	events to the next responder.

	* Source/NSBrowser.m ([NSBrowser -moveUp:]), ([NSBrowser -moveDown:]),
	([NSBrowser -moveLeft:]), ([NSBrowser -moveRight:]),
	([NSBrowser -keyDown:]): implemented keyboard navigation
	([NSBrowser -selectedCell]), ([NSBrowser -selectedCells]),
	([NSBrowser -columnOfMatrix:]), ([NSBrowser -selectedColumn]):
	changed return value from NSNotFound to -1 to conforms to NSMatrix
	([NSBrowser -doClick:]): fix for new return values, added support for
	multiple and branch selection.
	([NSBrowser -setLastColumn:]): mark column titles need display
	([NSBrowser -_getTitleOfColumn:]): fix for multiple selection.

	* Source/NSCell.m ([NSCell -setState:]): bug fix: set value to
	NSOnState if someone try to set NSMixedState in a two state cell.
	([NSCell -performClick:]): do not perform click if the cell is
	disabled.

	* Source/NSMatrix.m ([NSMatrix
	-_privateFrame:mode:numberOfRows:numberOfColumns:]),
	([NSMatrix -deselectAllCells]), ([NSMatrix -deselectSelectedCell]),
	([NSMatrix -selectAll:]): bug fix: set _selectRow and _selectColumn
	to -1 when no cells are selected
	([NSMatrix -performKeyEquivalent:]): saves _selectedRow and
	_selectedColumn.
	([NSMatrix -getRow:column:ofCell:]): check for null values for row and
	column.
	([NSMatrix -selectCellAtRow:column:]): deselect the current selection
	only in NSRadioModeMatrix mode.
	([NSMatrix -mouseDown:]): use the new code also for NSRadioModeMatrix
	and fix for this mode.

	* Source/NSSavePanel.m ([NSSavePanel -selectCellWithString:]): select
	text of the cell and enable okButton.
	([NSSavePanel -controlTextDidChange:]): implemented.
	([NSSavePanel -controlTextDidEndEditing:]): removed.
	([NSSavePanel -browser:createRowsForColumn:inMatrix:]): follows
	symbolic links.
	([NSSavePanel -_initWithoutGModel]): set browser doubleAction to
	performClick: of the _okButton. Set _okButton as default window button.
	Disable _okButton.
	([NSSavePanel -browser:selectCellWithString:inColumn:]),
	([NSSavePanel -selectText:]), ([NSSavePanel -keyDown:]): implemented
	keyboard navigation.
	([NSSavePanel -runModalForDirectory:file:]): enable _okButton if
	filename is valid.
	([NSSavePanel -_selectTextInColumn:]), ([NSSavePanel -_selectText:]),
	([NSSavePanel -_selectCellName:]): new private methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7468 72102866-910b-0410-8b05-ffd578937521
2000-09-10 21:55:17 +00:00
Nicola Pero
c12f6b0e7e Micro speedup in dealloc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7352 72102866-910b-0410-8b05-ffd578937521
2000-09-03 19:20:29 +00:00
Nicola Pero
6768da6356 Added object value/formatter support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7282 72102866-910b-0410-8b05-ffd578937521
2000-08-29 18:39:47 +00:00
Richard Frith-MacDonald
d1bbe54ace Added middle mouse button support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7140 72102866-910b-0410-8b05-ffd578937521
2000-08-03 08:48:22 +00:00
Nicola Pero
a3c8902146 Placeholder implementation for -objectValue
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6763 72102866-910b-0410-8b05-ffd578937521
2000-06-21 17:38:51 +00:00
Nicola Pero
0e497ba651 Fixed copying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6673 72102866-910b-0410-8b05-ffd578937521
2000-06-13 16:10:39 +00:00
Nicola Pero
35c5942b70 Do not include unused header file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6280 72102866-910b-0410-8b05-ffd578937521
2000-03-15 02:39:39 +00:00
Nicola Pero
54affaa213 Fixed vertical position of text; added method preparing for the table view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6279 72102866-910b-0410-8b05-ffd578937521
2000-03-15 02:33:38 +00:00
Richard Frith-MacDonald
751ed9aca0 Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6264 72102866-910b-0410-8b05-ffd578937521
2000-03-10 18:32:41 +00:00
Pascal J. Bourguignon
68d4c08d6b Updated -cellSize to process multiline string value. This should
improve greately the behaviour  of NSTextField and consequently of the
NSPanel building functions.

Updated -[NSCell _drawText:inFrame:]
and -[NSButtonCell drawInteriorWithFrame:inView:]
to handle properly multiline strings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6257 72102866-910b-0410-8b05-ffd578937521
2000-03-10 13:27:50 +00:00
Adam Fedor
b33bb418f4 Merge from 0.6.5
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6040 72102866-910b-0410-8b05-ffd578937521
2000-02-19 00:40:47 +00:00
Nicola Pero
b68735a711 Put methods in order -- no change in code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5808 72102866-910b-0410-8b05-ffd578937521
2000-01-22 01:50:58 +00:00
Nicola Pero
14ddec6688 many little fixes mainly for better macosx compatibility
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5805 72102866-910b-0410-8b05-ffd578937521
2000-01-22 01:45:52 +00:00
Nicola Pero
208adcec97 When drawing text inside the cell, use spacing between border and contents
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5757 72102866-910b-0410-8b05-ffd578937521
2000-01-13 23:08:26 +00:00
Nicola Pero
0f57866d9c Some optms in init (with ivar change), bug fix for tracking mouse
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5695 72102866-910b-0410-8b05-ffd578937521
2000-01-07 18:29:59 +00:00
Richard Frith-MacDonald
e70a5cde23 Encoding/decoding fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5522 72102866-910b-0410-8b05-ffd578937521
1999-12-15 17:16:40 +00:00
Nicola Pero
44b8f202d0 Tidied inizialization by removing private method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5508 72102866-910b-0410-8b05-ffd578937521
1999-12-14 19:05:32 +00:00
Nicola Pero
44b4b046c1 Updated for ivar changings; removed all control view things now in actioncell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5486 72102866-910b-0410-8b05-ffd578937521
1999-12-13 16:14:52 +00:00
Nicola Pero
ddfb5b73df Prefixed all ivars with underscores; use a bitfield for BOOL ivars to
reduce memory consumption; access ivars, speed issues.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5460 72102866-910b-0410-8b05-ffd578937521
1999-12-13 02:39:40 +00:00
Richard Frith-MacDonald
9a2526aa0f 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