mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Various optms for cell init; fix for cell mouse tracking; written
from scratch (mouse) multi-click support for NSControl and NSMatrix. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5699 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
82b98908f8
commit
990dd11f2d
1 changed files with 40 additions and 0 deletions
40
ChangeLog
40
ChangeLog
|
@ -1,3 +1,43 @@
|
|||
Fri Jan 7 18:09:15 2000 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
* Headers/AppKit/NSBrowser.h: Fixed typo.
|
||||
* Headers/AppKit/NSText.h: Tiny check in enum.
|
||||
|
||||
* Source/NSCell.m ([-initImageCell:]), ([-initTextCell:]): Minor
|
||||
optimization: do not initialize variables already initialized by
|
||||
allocation.
|
||||
|
||||
* Headers/AppKit/NSCell.h: Changed _cell.is_enabled to
|
||||
_cell.is_disabled, so that it does not need initialization.
|
||||
* Source/NSActionCell.m ([-setEnabled:]): Updated for the changing.
|
||||
* Source/NSButtonCell.m ([-textColor]): idem.
|
||||
* Source/NSCell.m: idem.
|
||||
* Source/NSComboBoxCell.m ([-_didClick:]): idem.
|
||||
* Source/NSMenuItemCell.m ([-drawTitleWithFrame:inView:]): idem.
|
||||
|
||||
* Source/NSBrowserCell.m ([-initTextCell:]), ([-initImageCell:]):
|
||||
Further optimization: initialize everything directly without
|
||||
invoking super's initialization; do not initialize variables
|
||||
already initialized by allocation.
|
||||
* Source/NSButtonCell.m ([-_init]): Tiny optm.
|
||||
|
||||
* Headers/AppKit/NSControl.h: Added ivar _ignoresMultiClick.
|
||||
* Source/NSControl.m ([-setIgnoresMultiClick:]),
|
||||
([-ignoresMultiClick]): Implemented. ([-mouseDown:]): Added
|
||||
ignoresMultiClick support.
|
||||
|
||||
* Source/NSCell.m ([-trackMouse:inRect:ofView:untilMouseUp:]):
|
||||
Bug fix: honour the argument of untilMouseUp:.
|
||||
* Source/NSControl.m ([-mouseDown:]): Invoke the cell's
|
||||
+prefersTrackingUntilMouseUp to decide if it's the case to track
|
||||
mouse until up.
|
||||
* Source/NSMatrix.m ([-_mouseDownNonListMode:]), ([-mouseDown:]):
|
||||
Invoke cell mouse tracking with untilMouseUp: NO.
|
||||
|
||||
* Source/NSMatrix.m ([-sendDoubleAction]): Fixed.
|
||||
([-sendAction]): Fixed. ([-sendAction:to:]): Use _action,
|
||||
_target. ([-mouseDown:]): Rewritten double/multi-click support.
|
||||
|
||||
Fri Jan 7 16:40:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Source/NSWindow.m: Removed spurious code for setting menu window
|
||||
|
|
Loading…
Reference in a new issue