fredkiefer
15bd7324f4
Remove useless KVB code. I hope to commit better code later on.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34097 72102866-910b-0410-8b05-ffd578937521
2011-10-31 17:12:39 +00:00
fredkiefer
5c93b41e6d
Replace direct use of the isa pointer with a call to object_getClass()
...
to make David happy.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33545 72102866-910b-0410-8b05-ffd578937521
2011-07-14 07:17:24 +00:00
fredkiefer
f507c26271
Add a few key value bindings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33277 72102866-910b-0410-8b05-ffd578937521
2011-06-11 12:01:59 +00:00
rmottola
eabc41114a
added missing import
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32741 72102866-910b-0410-8b05-ffd578937521
2011-03-29 21:59:57 +00:00
fredkiefer
f82ccddab3
* Source/NSMatrix.m (_shiftModifier:): Use correct column index
...
for old cell.
* Headers/AppKit/NSCursor.h
* gui/Source/NSCursor.m: Add Mac 10.6 methods and implement
keyed coding/decoding properly.
* Images/nsmapping.strings: Add mappings for some new cursors.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32538 72102866-910b-0410-8b05-ffd578937521
2011-03-12 19:01:54 +00:00
wlux
f1d3a7fb2b
Fix swapped macro arguments, which could lead to a wrong selection and
...
potentially a crash when extending the selection of a matrix with the
alt modifier key.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32506 72102866-910b-0410-8b05-ffd578937521
2011-03-09 09:59:09 +00:00
fredkiefer
68456da582
Fixed different issues spotted by the static code analysis.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32477 72102866-910b-0410-8b05-ffd578937521
2011-03-06 22:58:56 +00:00
fredkiefer
3cdc68a09b
Replace #include -> #import
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32451 72102866-910b-0410-8b05-ffd578937521
2011-03-04 11:33:22 +00:00
wlux
4ab775ba5f
Implement NSMatrix -setEnabled:. It enables or disables all cells as
...
in Cocoa.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31823 72102866-910b-0410-8b05-ffd578937521
2011-01-03 07:51:11 +00:00
wlux
a9204dade5
Fix bug in -setState:atRow:column: where the old selected cell wasn't
...
properly deselected when the matrix's mode is NSRadioMatrixMode.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31721 72102866-910b-0410-8b05-ffd578937521
2010-12-09 20:31:27 +00:00
rmottola
9a35c03430
cleaned up code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31135 72102866-910b-0410-8b05-ffd578937521
2010-08-13 21:17:39 +00:00
fredkiefer
7957a90007
Add support for backtab character.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31026 72102866-910b-0410-8b05-ffd578937521
2010-07-25 20:51:40 +00:00
dpsimons
1d8f81f716
further refinements to behavior of performKeyEquivalent: methods
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30828 72102866-910b-0410-8b05-ffd578937521
2010-06-22 22:00:47 +00:00
wlux
10c98c9b2f
Correct serious nib loading bug on big endian machines.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30472 72102866-910b-0410-8b05-ffd578937521
2010-05-29 08:32:02 +00:00
dpsimons
4f04ae9d0d
Honor sendsActionOnEndEditing setting when editing ended by something other than return
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30196 72102866-910b-0410-8b05-ffd578937521
2010-04-19 17:11:25 +00:00
rmottola
8db14fce17
use controlColor to match cocoa behaviour
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29712 72102866-910b-0410-8b05-ffd578937521
2010-02-23 23:05:57 +00:00
rmottola
f324ec887f
drawsBackground and drawsCellBackground default to NO, to match Cocoa behaviour (and improve theming)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29536 72102866-910b-0410-8b05-ffd578937521
2010-02-10 21:46:02 +00:00
rfm
7e4b4a0831
Fix for 64bit specific bug introduced by gc changes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28069 72102866-910b-0410-8b05-ffd578937521
2009-03-12 17:40:55 +00:00
fredkiefer
548b1bf087
Use method call to set selected cell in Matrix NIB decoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27913 72102866-910b-0410-8b05-ffd578937521
2009-02-18 09:25:03 +00:00
gcasa
9aba3bc91f
* Source/GSNibLoading.m: use the new code committed to NSMenu to
...
lay out the menu when vertical. Get rid of the duplicate code here.
* Source/NSDrawer.m: set the child window position when opening.
* Source/NSMatrix.m: -_selectCell:atRow:column: Check to make
sure the selectedRow and selectedColumn are > -1. This check is
done elsewhere and was not done here. This was causing a crash.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27907 72102866-910b-0410-8b05-ffd578937521
2009-02-18 04:04:13 +00:00
fedor
ce41d782c1
Revert library license version to 2 until applications can be converted
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26619 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:01:49 +00:00
fredkiefer
6212a911c4
Propagate settings from NSBrowser to underlying matrixes.
...
Stronger typing in NSBrowser.
Clearer drawing code in different classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26020 72102866-910b-0410-8b05-ffd578937521
2008-02-02 21:01:43 +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
1d293756e0
Add new MacOSX 10.4 methods and constants to NSWindow. Requires
...
recompilation of all applications!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25469 72102866-910b-0410-8b05-ffd578937521
2007-09-09 12:19:01 +00:00
fredkiefer
370b89a054
No special handling for non-flipped subclasses.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24654 72102866-910b-0410-8b05-ffd578937521
2007-02-19 16:51:25 +00:00
ratmice
7a8d12467d
* Source/NSBrowser.m (-doClick:): Don't reselect the selected cells.
...
Fixes bug #18881
* Source/NSMatrix.m (-_selectPreviousSelectableCellBeforeRow:column):
Update _selectedCells for the new selection.
(-_selectNextSelectableCellAfterRow:column:):
Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24483 72102866-910b-0410-8b05-ffd578937521
2007-02-06 10:13:43 +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
ratmice
bf0b1921cf
* Source/NSMatrix.m (_selectCell:atRow:column:): Call setNextState
...
when in Track or Highlight mode.
(-keyDown:): Call -selectCellAtRow:column: in Track or Highlight mode.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24345 72102866-910b-0410-8b05-ffd578937521
2007-01-14 00:40:05 +00:00
ratmice
c591ede518
* Source/NSTableView.m (-noteNumberOfRowsChanged:): Post selection
...
is and did change notifications if changing the selected rows.
* Source/NSSliderCell.m (-copyWithZone:): Make a little clearer.
* Source/NSMatrix.m (-_rebuildLayoutAfterResize): Don't change the
intercell spacing if not autosizing cells.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24080 72102866-910b-0410-8b05-ffd578937521
2006-11-13 05:23:24 +00:00
rfm
300ada29b4
Cosmetic tweaks to conform to coding standards
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23631 72102866-910b-0410-8b05-ffd578937521
2006-09-26 19:09:13 +00:00
gcasa
971a8a97fa
* Source/NSApplication.m: Remove keys from initWithCoder: and
...
encodeWithCoder:.
* Source/NSCell.m: Initialize the cell based on content in
initWithCoder:.
* Source/NSFormCell.m: Removed unnecessary decoding of NSContents key
in initWithCoder: since it is already done in NSCell.m.
* Source/NSMatrix.m: initWithCoder:/encodeWithCoder: added
autosizesCells flag and clear flags which are not used
prior to encoding.
* Source/NSPopUpButtonCell.m: Implemented encoding in
encodeWithCoder:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23318 72102866-910b-0410-8b05-ffd578937521
2006-08-20 16:18:31 +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
gcasa
d5e4858a60
Nib compatibility code merge.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22957 72102866-910b-0410-8b05-ffd578937521
2006-05-20 22:12:46 +00:00
fredkiefer
2889c0f748
Applied two small patches.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22442 72102866-910b-0410-8b05-ffd578937521
2006-02-06 15:52:49 +00:00
Fabien_
f8ca6f6c21
Improved documentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22152 72102866-910b-0410-8b05-ffd578937521
2005-12-05 15:15:50 +00:00
Fabien_
a19dc6cf21
Improved documentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22088 72102866-910b-0410-8b05-ffd578937521
2005-11-24 09:11:43 +00:00
Fabien_
fd3a71b20f
Improved documentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22075 72102866-910b-0410-8b05-ffd578937521
2005-11-22 15:23:40 +00:00
CaS
6988bf34c2
Coding style fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22019 72102866-910b-0410-8b05-ffd578937521
2005-11-16 11:34:25 +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
56b85051de
Corrected (hopefully) last patch.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20907 72102866-910b-0410-8b05-ffd578937521
2005-03-14 19:11:19 +00:00
CaS
a1f032b795
Fix code whaich produced uninitialised space in the cells array.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20905 72102866-910b-0410-8b05-ffd578937521
2005-03-14 10:54:49 +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
fedor
25ff6e9629
* Source/GSDragView.m ([GSDragView -_setCursor]): Initialize variable.
...
* Source/NSMatrix.m: Rename vaguely-named macro.
(Based on Path #3499 from Patrick Middleton).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20346 72102866-910b-0410-8b05-ffd578937521
2004-11-12 04:19:33 +00:00
FredKiefer
45b6e203cd
Some more keyed decoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20216 72102866-910b-0410-8b05-ffd578937521
2004-10-10 22:36:02 +00:00
FredKiefer
67b2f51063
Added some more keyed decoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20211 72102866-910b-0410-8b05-ffd578937521
2004-10-08 21:24:25 +00:00
FredKiefer
95bc0d2d96
Redisplay after colours changed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18580 72102866-910b-0410-8b05-ffd578937521
2004-02-11 22:52:40 +00:00
FredKiefer
f2b2969e20
Small graphics cleanups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18103 72102866-910b-0410-8b05-ffd578937521
2003-11-22 16:14:01 +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
gcasa
af06535736
Fix to NSMatrix to prevent decoding issue.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17202 72102866-910b-0410-8b05-ffd578937521
2003-07-12 14:07:18 +00:00
FredKiefer
2faef584e7
(selectAll:)
...
Removed compiler warning about signed/unsigned comparision.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16987 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:26:04 +00:00