to respect numberOfItems and to adopt the used matrix. New methods
for the cell to popup interaction.
Corrected the encoding code of NSComboBoxCell. [objectValues] now
correctly warns in the data source case. New method
[stringValueAtIndex:]. Hack in [_didClick:] to get setting of
values working.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15320 72102866-910b-0410-8b05-ffd578937521
the later only works when the view is not first responder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15271 72102866-910b-0410-8b05-ffd578937521
the parameter and to keep the isFlat flag in sync.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15065 72102866-910b-0410-8b05-ffd578937521
backend. Code comes from [NSBezierPath _doPath].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15037 72102866-910b-0410-8b05-ffd578937521
[attributedAlternateTitle] and use this in [cellSize] and
[drawInteriorWithFrame:inView:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14953 72102866-910b-0410-8b05-ffd578937521
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
Move code from setFrame: & resizeWithOldSuperviewSize:
to resizeSubviewsWithOldSize:.
* Source/NSColorPanel.m ([NSColorPanel _initWithoutGModel]):
make the window a little bit higher. Some ColorPickers would not fit.
* ColorPickers/GSCMYKColorPicker.tiff:
* ColorPickers/GSGrayColorPicker.tiff:
* ColorPickers/GSHSBColorPicker.tiff:
* ColorPickers/GSRGBColorPicker.tiff:
resize so that the image fits within the NSButton.
(only blank area was removed)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14868 72102866-910b-0410-8b05-ffd578937521
new tracking code. The menu feels snappier now (at least for me).
* Source/NSColorWell.m ([-activate:], [-deactivate])
register/unregister for NSColorPanelColorChangedNotification.
([NSColorWell _takeColorFromPanel:]): new method to prevent endless
loop when setting the well's color from the color panel.
([NSColorWell -initWithCoder:]): register for NSColorPboardType.
* Source/NSColorPanel.m ([NSColorPanel -_bottomWellAction:]):
called when hitting one of the well at the bottom of the panel.
Previous behaviour would not send a
NSColorPanelColorChangedNotification.
([NSColorPanel -initWithCoder:]): update bottom wells construction to
call _bottomWellAction: instead of takeColorFrom:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14853 72102866-910b-0410-8b05-ffd578937521