Commit graph

86 commits

Author SHA1 Message Date
fredkiefer
d2cdcf7415 Check in the control not in the text field whether the cell is currently
being edited.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26613 72102866-910b-0410-8b05-ffd578937521
2008-06-09 10:04:49 +00:00
fredkiefer
da416a062d Add old NeXT method, no longer present, but needed for
backward compatibility.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26487 72102866-910b-0410-8b05-ffd578937521
2008-05-03 20:57:53 +00:00
fredkiefer
ce957cc6e2 Add reverse value change methods for bindings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25935 72102866-910b-0410-8b05-ffd578937521
2008-01-13 18:08:35 +00:00
fredkiefer
c3c507203b Two small bug fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25748 72102866-910b-0410-8b05-ffd578937521
2007-12-15 14:36:28 +00:00
fredkiefer
0b14647109 Add some more KVB and move some.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25746 72102866-910b-0410-8b05-ffd578937521
2007-12-15 12:34:39 +00:00
fredkiefer
9c8d8b8015 Correct colour sliders to work in flipped views and simplified code.
Let text fields and controls pass on not used mouse down events to next
responder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25707 72102866-910b-0410-8b05-ffd578937521
2007-12-08 22:12:48 +00:00
fredkiefer
325a28d51b Better support for keyed encoding to support PictureFrame.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25551 72102866-910b-0410-8b05-ffd578937521
2007-11-03 21:20:41 +00:00
fredkiefer
e25cceb710 Change all files to use GPL 3 and LGPL 3.
Prepare for next release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25536 72102866-910b-0410-8b05-ffd578937521
2007-10-29 21:16:17 +00:00
fredkiefer
aa68ca06dc Added MacOSX 10.4 methods to NSControl and reworked the whole cell
editing mechanism.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24380 72102866-910b-0410-8b05-ffd578937521
2007-01-18 17:24:33 +00:00
rfm
cc3cafa874 tidyups and minor theme tiling updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23871 72102866-910b-0410-8b05-ffd578937521
2006-10-15 08:34:47 +00:00
gcasa
176822d74e Reverted previous change. Added comments in NSWindow.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23384 72102866-910b-0410-8b05-ffd578937521
2006-09-03 16:18:42 +00:00
gcasa
a5a0ff01d8 * Source/GSStandardWindowDecorationView.m: Correct issue in
initWithFrame🪟 that was causing a crash when the window 
	was closed.
	* Source/NSControl.m: Reinstated fix from Fred Kiefer for 
	mouseDown: simplification and refactoring. 


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23380 72102866-910b-0410-8b05-ffd578937521
2006-08-31 04:23:56 +00:00
gcasa
38cd6de498 * Source/GSNibLoader.m: loadModelData:... Remove TEST_RELEASE
from handler block.
	* Source/NSColor.m: initWithCoder: retain autoreleased instances
	of NSColor to prevent double release when the pool is cleared.
	* Source/NSControl.m: initWithCoder: retain cell to prevent
	double release when the pool is cleared.
	* Source/NSFont.m: initWithCoder: retain autoreleased instances
	of NSFont to prevent double release when the pool is cleared.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23340 72102866-910b-0410-8b05-ffd578937521
2006-08-27 02:35:03 +00:00
gcasa
3e19866ecf Temporary rollback of change to -[NSControl mouseDown:] until it can be determined why it is causing some applications to crash.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23284 72102866-910b-0410-8b05-ffd578937521
2006-08-13 17:06:57 +00:00
fredkiefer
54219e0d9b Simplified NSControls mouseDown: method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23248 72102866-910b-0410-8b05-ffd578937521
2006-08-10 21:54:18 +00:00
gcasa
78abe49764 Correction for window size in -[NSWindowTemplate nibInstantiate]. Implemented encoding in encodeWithCoder: for some classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23207 72102866-910b-0410-8b05-ffd578937521
2006-08-06 04:32:16 +00:00
Fabien_
894f7e3590 Improved documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22138 72102866-910b-0410-8b05-ffd578937521
2005-12-04 19:42:15 +00:00
Fabien_
493aa67e38 Improved documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22070 72102866-910b-0410-8b05-ffd578937521
2005-11-22 09:35:06 +00:00
Fabien_
1ba553aa34 Improved documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22024 72102866-910b-0410-8b05-ffd578937521
2005-11-17 10:23:58 +00:00
fedor
db3c52eab8 Update FSF Address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21259 72102866-910b-0410-8b05-ffd578937521
2005-05-26 02:52:46 +00:00
FredKiefer
22fd51937f Added new NSResponder method declarations and implemented shouldBeTreatedAsInkEvent:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21238 72102866-910b-0410-8b05-ffd578937521
2005-05-20 12:31:42 +00:00
alexm
6057700321 2005-01-18 16:53 Alexander Malmberg <alexander@malmberg.org>
* Source/NSCell.m (-setUpFieldEditorAttributes:): Clear the
	text object's string.
	* Source/NSControl.m (-setDoubleValue:, -setFloatValue:)
	(-setIntValue:, -setStringValue:, -setObjectValue:): If the receiver
	was being edited when the method was called, make it the first
	responder after changing the value.
	(-abortEditing): Don't clear the text object's string.
	* Source/NSMatrix.m (-abortEditing): Don't clear the text object's
	string.
	* Source/NSTableView.m (-abortEditing): Ditto.
	* Source/NSTextField.m (-abortEditing): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20580 72102866-910b-0410-8b05-ffd578937521
2005-01-18 15:48:34 +00:00
FredKiefer
dba0576537 Added editing methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20125 72102866-910b-0410-8b05-ffd578937521
2004-09-24 16:35:41 +00:00
qmathe
fd77800e9a Fixed the toolbar validation support side effects
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19411 72102866-910b-0410-8b05-ffd578937521
2004-05-28 23:49:16 +00:00
qmathe
11281063c0 Minor changes to better support the toolbar validation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19391 72102866-910b-0410-8b05-ffd578937521
2004-05-23 18:39:07 +00:00
qmathe
ac458d3e00 Added performClickWithFrame:inView: to NSCell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19005 72102866-910b-0410-8b05-ffd578937521
2004-04-02 21:34:37 +00:00
FredKiefer
5f72e933d1 Added keyed decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18510 72102866-910b-0410-8b05-ffd578937521
2004-01-30 19:49:00 +00:00
alexm
061ef7d091 (-mouseDown:): Rewrite to use -setHighlighted: and the normal drawing mechanism instead of trying to draw and flush manually.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18060 72102866-910b-0410-8b05-ffd578937521
2003-11-07 15:32:33 +00:00
ayers
9732999fd8 Header reorganization - Please refer to ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17408 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:52:10 +00:00
FredKiefer
0c9ce6b22e New MacOSX methods [formatter], [setFormatter:],
[attributedStringValue], [setAttributedStringValue:].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17252 72102866-910b-0410-8b05-ffd578937521
2003-07-18 14:03:08 +00:00
fedor
fc402789db Include <> -> ""
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16917 72102866-910b-0410-8b05-ffd578937521
2003-06-13 15:01:12 +00:00
FredKiefer
31769fd905 Removed [becomeFirstResponder] and [resignFirstResponder] as the
handling of [showFirstResponder] is still unclear.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16548 72102866-910b-0410-8b05-ffd578937521
2003-04-26 16:49:47 +00:00
FredKiefer
247d0a905b Added method [acceptsFirstResponder], which asks the cell if it
accepts first responder. Added [becomeFirstResponder] and
[resignFirstResponder] that redraw if the cell may change apprearance.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16178 72102866-910b-0410-8b05-ffd578937521
2003-03-17 02:11:42 +00:00
nico
2177ef847e Lock focus / unlock focus optimizations and fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15839 72102866-910b-0410-8b05-ffd578937521
2003-02-01 05:10:00 +00:00
fedor
9f39142905 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
nico
bfc479b34d Fixed control with continuous actions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13820 72102866-910b-0410-8b05-ffd578937521
2002-06-10 10:41:15 +00:00
nico
c87007f3f8 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
CaS
4f5825c6a0 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
fedor
c51f4265da 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
FredKiefer
3693adb7ef Implemented [refusesFirstResponder] and [setRefusesFirstResponder:].
Changed [setEnabled:], [setAlignment:], [setFont:] and all
[setXXValue:] methods to conform to the spec. Removed the
[copyWithZone:] method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8431 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:07:06 +00:00
nico
7997728563 Fixed memory problem in copying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7596 72102866-910b-0410-8b05-ffd578937521
2000-09-26 08:46:30 +00:00
nico
f5617abc95 Implemented missing object value methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7401 72102866-910b-0410-8b05-ffd578937521
2000-09-05 22:06:55 +00:00
richard
0370b5e398 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
nico
8e4d92bebf Removed old comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5768 72102866-910b-0410-8b05-ffd578937521
2000-01-13 23:22:52 +00:00
nico
475b802dee 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
nico
4b37a66622 Added ignoresMultiClick support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5697 72102866-910b-0410-8b05-ffd578937521
2000-01-07 18:32:00 +00:00
nico
052e2c6d1c Prefixed ivars with underscores; fixed bug in minor drawing method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5528 72102866-910b-0410-8b05-ffd578937521
1999-12-16 03:00:45 +00:00
nico
5deeebe455 Updated for changings in NSCell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5487 72102866-910b-0410-8b05-ffd578937521
1999-12-13 16:16:00 +00:00
nico
78e8a373cf Abort value before setting numeric values.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5276 72102866-910b-0410-8b05-ffd578937521
1999-11-25 17:15:46 +00:00
nico
1fc1d88b98 Added isOpaque method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5214 72102866-910b-0410-8b05-ffd578937521
1999-11-16 23:49:35 +00:00