Adam Fedor
303dd1baf9
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
Fred Kiefer
29db6affc8
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
Alexander Malmberg
f282f87e88
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
Fred Kiefer
e13699f905
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
Quentin Mathe
25c753ed0f
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
Quentin Mathe
aca8e03fed
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
Quentin Mathe
28db48ddfd
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
Fred Kiefer
df3b584a19
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
Alexander Malmberg
04ee2f9928
(-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
David Ayers
b18f1c4ac4
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
Fred Kiefer
7b3541ec72
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
Adam Fedor
6be9174933
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
Fred Kiefer
2e483ce3b8
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
Fred Kiefer
3a7a7931c4
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
Nicola Pero
ba494c7cd9
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
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
24a6bb3059
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
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
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
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
Fred Kiefer
f369ead740
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
Nicola Pero
15af8c11e0
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
Nicola Pero
560769832b
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 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
8c8463cb2e
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
Nicola Pero
6358d4df44
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
Nicola Pero
3c85ee7f0f
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
Nicola Pero
04ca2e250d
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
Nicola Pero
fc261e28a1
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
Nicola Pero
b58cc80c6b
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
Nicola Pero
a5f9364730
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 Frith-MacDonald
fe4195d6e2
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
Nicola Pero
ebf13e74a0
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
Nicola Pero
8f94336ad5
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
Nicola Pero
cc3f04f070
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 Frith-MacDonald
dd34792910
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 Frith-MacDonald
63b1e96172
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 Frith-MacDonald
9ab12bd316
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 Frith-MacDonald
3cfafe1499
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 Frith-MacDonald
61e4a40589
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
Adam Fedor
ac26385d09
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 Frith-MacDonald
5d64c2b950
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 Frith-MacDonald
293ecacd91
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 Frith-MacDonald
e3dbc302ff
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 Frith-MacDonald
4019b69433
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 Frith-MacDonald
dbbeff810a
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 Frith-MacDonald
681644efb2
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
Felipe A. Rodriguez
f29476bc08
* 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
Felipe A. Rodriguez
134a561e0c
* NSWindow.h change window style enum to match WindowMaker's definition.
...
* GNUAlertPanel.m NSGetAlertPanel() replace centering code with call to
center method, change window style mask, add class initialize.
* libgnustep-gui.m rename to Functions.m.
* Functions.m add new file as location for generic NS* and GS* functions,
move backend NSEventMaskFromType() into it.
* NSApplication.m discardEventsMatchingMask:.. rewrite (fix bugs),
runModalSession: dump all events not for modal window (fixes modal panel
button display bug), arrangeInFront: preliminary implemenation.
* NSCell.m: Polish.
* NSWindow.m: center remove display invocation per 4.2 docs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3426 72102866-910b-0410-8b05-ffd578937521
1998-12-10 18:07:24 +00:00
Felipe A. Rodriguez
4dd58372f6
* move DPSOperators.h to XDPS.
...
* move GPS headers into a new backend.
* define GSContext.h/GSContext.m as abstract super for all drawing
destinations (eliminates the need for DPS, GPS, DGS at the root of
the AppKit) add appropriate defintion to various classes.
* NSMatrix.m add abstract backend code from xraw (eliminate backend).
* NSSlider.m add abstract backend code from xraw (eliminate backend).
* NSSliderCell.m add abstract backend code from xraw (eliminate backend).
* NSSplitView.m add abstract backend code from xraw (eliminate backend).
replace private divider highlight method with NSHighlightRect()
* NSWindow.m add class method to create backend specific window view.
* NSTextField.m add abstract backend code from xraw (eliminate backend).
* NSForm.m add abstract backend code from xraw (eliminate backend).
* NSFormCell.m add abstract backend code from xraw (eliminate backend).
* NSColorWell.m add abstract backend code from xraw (eliminate backend).
* NSButton.m add abstract backend code from xraw (eliminate backend).
* NSControl.m add abstract backend code from xraw (eliminate backend).
* NSBox.m add abstract backend code from xraw (eliminate backend).
* NSBrowser.m add abstract backend code from xraw (eliminate backend).
* NSBrowserCell.m add abstract backend code from xraw (eliminate backend).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3321 72102866-910b-0410-8b05-ffd578937521
1998-11-25 17:16:48 +00:00