Commit graph

69 commits

Author SHA1 Message Date
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
richard
e462f6a88a Fixes for cursor updating
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5189 72102866-910b-0410-8b05-ffd578937521
1999-11-15 16:00:47 +00:00
nico
a7622f9ba3 Mainly removed useless implementation of 'methods implemented by the
delegate'; minor bug fix too.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5173 72102866-910b-0410-8b05-ffd578937521
1999-11-14 03:17:52 +00:00
nico
8e0a52ebbc Crucial fix to make NSControl usable un-subclassed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5078 72102866-910b-0410-8b05-ffd578937521
1999-10-25 22:13:15 +00:00
nico
da4d1b4efd Added missing method performClick
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5031 72102866-910b-0410-8b05-ffd578937521
1999-10-18 22:54:41 +00:00
richard
98a649c60a Lock focus fixes - get cells to lock focus before drawing themselves.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4924 72102866-910b-0410-8b05-ffd578937521
1999-09-21 05:10:54 +00:00
richard
9e3533aeb5 Nocolas patch for cell size calculation, plus some tidying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4869 72102866-910b-0410-8b05-ffd578937521
1999-09-11 05:25:53 +00:00
richard
f6d03c0dc7 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4358 72102866-910b-0410-8b05-ffd578937521
1999-06-04 15:06:00 +00:00
richard
3478a12b6d Various tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4357 72102866-910b-0410-8b05-ffd578937521
1999-06-04 14:43:24 +00:00
richard
bfb3253bea Send actions as we should
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4343 72102866-910b-0410-8b05-ffd578937521
1999-06-02 20:37:19 +00:00
fedor
115b3cdbf6 Fix up lockFocus, restoring graphics context.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4243 72102866-910b-0410-8b05-ffd578937521
1999-05-11 15:43:10 +00:00
richard
6fa7d994f7 Default implementation of drawRect: is to call drawCell:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4167 72102866-910b-0410-8b05-ffd578937521
1999-04-29 12:48:58 +00:00
richard
ff90dd0388 Permit nil cel values
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4039 72102866-910b-0410-8b05-ffd578937521
1999-04-07 09:46:04 +00:00
richard
1ee7514981 Multiple drawing fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4006 72102866-910b-0410-8b05-ffd578937521
1999-04-01 06:19:37 +00:00
richard
07321d77c3 Mouse tracking fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3832 72102866-910b-0410-8b05-ffd578937521
1999-03-02 12:14:38 +00:00
richard
55b55d3fee Merged in 'dawn' CVS branch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3827 72102866-910b-0410-8b05-ffd578937521
1999-03-02 08:58:30 +00:00
richard
9ddd4532b3 Several minor bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3576 72102866-910b-0410-8b05-ffd578937521
1999-01-19 10:55:24 +00:00
far
22040ec62b * NSWindow.m renmae captureMouse: to _captureMouse: (designate as non OS),
various methods add fieldEditor support.
	* GSContext.m/GSContext.h revert to previous code as solution discussed
	with Adam Fedor regarding backends had problems I had not forseen.
	* NSBrowserCell.h/.m specify text subcell as an NSCell, eliminate image
	cell, copyWithZone: optimize and eliminate use of ASSIGN (fixes serious
	dealloc bug), highlight: eliminate method (fixes dup display bug).
	* NSButtonCell.m copyWithZone: optimize and eliminate use of ASSIGN
	* NSStringDrawing.h/.m remove unimplemented draw methods from Category
	(these are backend specific, can't be defined twice and are already
	implemented in xraw).
	* NSApplication.h redefine initialize_gnustep_backend () per Adam's
	redefinition in the backend.
	* Functions.m/.h remove initialize_gnustep_backend()
 	* NSCell.m preliminary implementation of fieldEditor mechanism,
	copyWithZone: optimize and eliminate use of ASSIGN
	* NSControl.m rename cell class global to _NSCONTROL_CELL_CLASS
	* NSMatrix.m implement NSControl's updateCell: to prevent unecessary
	matrix drawing if possible.
	* NSView.m -resizeWithOldSuperviewSize reverted code to my own once more
	(fewer lines and no if/else logic), changed code to use view frame instead
	of bounds per 3.3/4.2 docs, optimize to avoid floating point math and scale
	adjustment unless view has been scaled.
	* NSScrollView.m define as externs various PS* functions for use in
	drawing, polish drawing, move all backend code to front.
	* Tools/dummy.m define dummy PS* functions employed in gui.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3454 72102866-910b-0410-8b05-ffd578937521
1998-12-14 09:54:38 +00:00