Eric Wasylishen
0c1a040bda
* Source/NSTableHeaderView.m (-initWithCoder:): Remove unneeded
...
"_tableView = nil" which was causing a problem with my xib file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34319 72102866-910b-0410-8b05-ffd578937521
2011-12-18 23:57:39 +00:00
Eric Wasylishen
360c974c4e
* Source/NSTableHeaderView.m: Use resize cursors
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33042 72102866-910b-0410-8b05-ffd578937521
2011-05-15 05:48:22 +00:00
Fred Kiefer
2d01942e4b
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
Fred Kiefer
906201acf6
Remove dead assignments found by static code analysis.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32022 72102866-910b-0410-8b05-ffd578937521
2011-02-09 22:20:00 +00:00
Gregory John Casamento
be0954d2ac
Change to GSThemeDrawing to implement drawTableHeaderRect:inView:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31673 72102866-910b-0410-8b05-ffd578937521
2010-11-27 18:17:49 +00:00
Fred Kiefer
03cdf3355c
Remove some stupid compiler warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30091 72102866-910b-0410-8b05-ffd578937521
2010-04-06 08:12:47 +00:00
Fred Kiefer
c05581a005
Fix up teh includes to compile again after latest changes to base. Still
...
plenty of warnings and the result isn't working at least on 64 bit
machines :-(
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29685 72102866-910b-0410-8b05-ffd578937521
2010-02-20 10:40:44 +00:00
Eric Wasylishen
94946a1f50
* GSThemeDrawing.m: Move code in NSTableHeaderView which leaves a
...
1pt gap underneath table headers to GSThemeDrawing, since it only
looks decent with a NeXT-like theme. This fixes the
misalignment between the table corner and the table headers visible
in the Narcissus theme
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29567 72102866-910b-0410-8b05-ffd578937521
2010-02-12 06:59:12 +00:00
Eric Wasylishen
ffc734898c
Use theme tiles (if available) to draw table headers. New tile names are
...
GSTableHeader and GSTableCorner.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29444 72102866-910b-0410-8b05-ffd578937521
2010-01-29 22:21:34 +00:00
Quentin Mathe
f616b91157
Finished to implement the NSTable/OutlineView sort descriptor support.
...
More changes are needed to get proper sorting support (e.g. visual feedback).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29293 72102866-910b-0410-8b05-ffd578937521
2010-01-16 14:45:13 +00:00
Riccardo Mottola
54e5c30271
removed c99-ism
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28380 72102866-910b-0410-8b05-ffd578937521
2009-07-05 20:12:22 +00:00
Nicolas Roard
4905a0de91
Apply patch from Eric Wasylishen, add live resize and
...
live moving for table columns if GSUseGhostResize is
set to NO.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28376 72102866-910b-0410-8b05-ffd578937521
2009-06-30 00:40:57 +00:00
Fred Kiefer
7c2e8efcd8
Replace nil with [NSDate distantFuture] in calls to nextEventMatchingMask:...dequeue:.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28025 72102866-910b-0410-8b05-ffd578937521
2009-03-02 16:26:23 +00:00
Adam Fedor
7afdd32ac1
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
Fred Kiefer
0cba457027
Better check for click on table column border.
...
Allow table column identifier to be nil.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26482 72102866-910b-0410-8b05-ffd578937521
2008-05-01 19:48:28 +00:00
Fred Kiefer
193e31e678
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
Fred Kiefer
3b7fca1db8
Correct flip adjustment for table header.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25533 72102866-910b-0410-8b05-ffd578937521
2007-10-27 14:38:59 +00:00
Fred Kiefer
be4091bbf7
Add missing isFlipped methods to controls.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25473 72102866-910b-0410-8b05-ffd578937521
2007-09-10 11:12:44 +00:00
Fred Kiefer
0a310d0b60
Removed gcc 4.02 compiler warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21846 72102866-910b-0410-8b05-ffd578937521
2005-10-19 23:54:22 +00:00
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
Alexander Malmberg
ad2419e484
2005-01-21 21:43 Alexander Malmberg <alexander@malmberg.org>
...
Various whitespace cleanups, comment type fixes, and changes
to avoid warnings from recent versions of gcc.
* Headers/Additions/GNUstepGUI/GSToolbar.h (-_toolbars): Declare.
* Source/NSWindow+Toolbar.m: Remove conflicting declaration of
[NSToolbar -_toolbars].
* Headers/Additions/GNUstepGUI/GSServicesManager.h,
Source/GSServicesMananger.m (-item2title:, -validateMenuItem:):
Adjust argument types.
* Headers/AppKit/NSMenu.h (-validateMenuItem:): Adjust argument
type.
* Source/NSTextView.m (-sizeToFit): Don't use size uninitialized
if neither resizable flags is set.
(-insertText:): Adjust argument type.
* Headers/AppKit/NSResponder.h, Source/NSResponder.m (-insertText:):
Adjust argument type. Document.
* Headers/AppKit/NSView.h: Change type of ivar _window to NSWindow *.
* Source/GSTitleView.m (-mouseDown:): Always initialize
startWindowOrigin.
* Source/NSApplication.m (-setApplicationIconImage:): Add casts
to avoid warnings.
* Source/NSCell.m (-cellSize): Add default: case.
* Source/NSPasteboard.m
([GSFiltered -pasteboard:provideDataForType:]): Detect and warn if we
can't find a filter that will get us the desired type.
* Source/NSProgressIndicator.m: Comment out unused variable 'images'.
* Source/NSBezierPath.m: Declare GSBezierPath fully before using it.
(-bezierPathByFlatteningPath, -bezierPathByReversingPath): Make sure
variables are always initialized.
* Source/NSMenuView.m,
* Source/NSPrintOperation.m,
* Source/NSSplitView.m,
* Source/NSTableHeaderView.m: Make sure variables are always
initialized.
* Source/NSBox.m,
* Source/NSImageview.m,
* Source/NSText.m,
* Source/NSTextStorage.m: Add missing includes.
* Source/GSKeyBindingTable.m,
* Source/GSLayoutManager.m,
* Source/NSBitmapImageRep+PNM.m,
* Source/NSBundleAdditions.m,
* Source/NSLayoutManager.m,
* Source/nsimage-tiff.h,
* Source/tiff.m,
* Headers/Additions/GNUstepGUI/GSDisplayServer.h,
* Source/GSDisplayServer.m: Change signedness of various variables.
* Source/NSPanel.m (-sendEvent:): Remove.
* Source/NSWindow.m (-becomesKeyOnlyIfNeeded): New method.
(-_sendEvent:becomesKeyOnlyIfNeeded:): Remove. Move code ...
(-sendEvent:): ... here. Use -becomesKeyOnlyIfNeeded instead
of the argument.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20590 72102866-910b-0410-8b05-ffd578937521
2005-01-21 20:39:18 +00:00
Fred Kiefer
4f10989eb8
Corrected affine transform struct element names and added some drawing functions.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18288 72102866-910b-0410-8b05-ffd578937521
2003-12-30 12:42:37 +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
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
Nicola Pero
6bf8718026
Use setHighlighted: on table header cells instead of setting their background
...
color directly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15773 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:27:26 +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
155b4a267f
Updated for the fact the NSHighlightRect() no longer flushes the window
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13681 72102866-910b-0410-8b05-ffd578937521
2002-05-22 12:06:09 +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
Nicola Pero
b175821fd1
Added missing #include
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13307 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:34:24 +00:00
Nicola Pero
f888c30951
Added missing #include
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13298 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:01:44 +00:00
Pierre-Yves Rivaille
450adb4714
Source/NSTableHeaderView.m
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13192 72102866-910b-0410-8b05-ffd578937521
2002-03-21 23:51:39 +00:00
Pierre-Yves Rivaille
2b8be48edf
Source/NSTableHeaderView.m ([-mouseDown:]): redraw the headercell when
...
column reordering is on.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12561 72102866-910b-0410-8b05-ffd578937521
2002-02-18 21:39:31 +00:00
Nicola Pero
774004fa9f
Added suggestion for further improvement in comment
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12542 72102866-910b-0410-8b05-ffd578937521
2002-02-14 13:24:01 +00:00
Pierre-Yves Rivaille
7269d0c8eb
* Source/NSTableHeaderCell.m: New drawing code, support for
...
highlighted cells.
* Source/NSTableHeaderView.m: support for drawing highlighted
column, support for NSTableView mouseDownInHeaderOfTableColumn:
and didClickTableColumn: delegate messages.
* Source/NSTableView.m: rewrite of -mouseDown method.
rewrite of selection handling to fully support the specs
new tableView:didClickTableColumn: and
tableView:mouseDownInHeaderOfTableColumn delegate messages
[NSTableView -setHighlightedTableColumn:]
[NSTableView -highlightedTableColumn]: methods implemented.
* Headers/gnustep/gui/NSTableView.h:
new _highlightedTableColumn ivar.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12521 72102866-910b-0410-8b05-ffd578937521
2002-02-13 16:34:40 +00:00
Adam Fedor
4b54ab9f06
New AppKit events. Updates for autogsdoc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12217 72102866-910b-0410-8b05-ffd578937521
2002-01-26 04:14:38 +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
Laurent Julliard
6c04b107d2
encoding/decoding methods
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11617 72102866-910b-0410-8b05-ffd578937521
2001-12-03 21:14:19 +00:00
Pierre-Yves Rivaille
8a192b68b9
Reimplemented column resizing
...
Implemented column reordering
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10704 72102866-910b-0410-8b05-ffd578937521
2001-08-13 15:03:39 +00:00
Nicola Pero
b24794ed3c
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9037 72102866-910b-0410-8b05-ffd578937521
2001-02-07 20:35:13 +00:00
Nicola Pero
48d99b9d0c
Fixed clicking with mouse on a column side and doing no dragging
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8668 72102866-910b-0410-8b05-ffd578937521
2001-01-17 21:19:31 +00:00
Nicola Pero
6b02a79f71
Do not resize columns which are not resizable
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7460 72102866-910b-0410-8b05-ffd578937521
2000-09-10 15:02:09 +00:00
Nicola Pero
c7d86ddccb
Implemented column resizing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7437 72102866-910b-0410-8b05-ffd578937521
2000-09-07 16:36:05 +00:00
Nicola Pero
0e3b7dfc90
Implemented selecting of columns
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7250 72102866-910b-0410-8b05-ffd578937521
2000-08-26 20:17:08 +00:00
Nicola Pero
9e46108d93
Implemented double click
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6705 72102866-910b-0410-8b05-ffd578937521
2000-06-16 17:36:19 +00:00
Nicola Pero
4b2cb3d369
Rewritten much
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6306 72102866-910b-0410-8b05-ffd578937521
2000-03-18 00:26:02 +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
89373df3ee
First implementation of drawing. Just the bare minimum to be able to work
...
on NSTableView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5352 72102866-910b-0410-8b05-ffd578937521
1999-12-02 03:07:19 +00:00
Michael Silva
2378751761
NSTable compiles.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4696 72102866-910b-0410-8b05-ffd578937521
1999-08-04 02:39:14 +00:00
Michael Silva
6a4261c380
NSTable* classes added.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4619 72102866-910b-0410-8b05-ffd578937521
1999-07-19 19:13:10 +00:00