mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:00:37 +00:00
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
This commit is contained in:
parent
fd57feed5b
commit
239eec74dc
6 changed files with 177 additions and 21 deletions
|
@ -55,7 +55,7 @@
|
|||
width: (float)width;
|
||||
- (float *) _columnOrigins;
|
||||
- (void) _mouseDownInHeaderOfTableColumn: (NSTableColumn *)tc;
|
||||
- (void) _didClickTableColumn: (NSTableColumn *)tc;
|
||||
- (void) _clickTableColumn: (NSTableColumn *)tc;
|
||||
@end
|
||||
|
||||
@implementation NSTableHeaderView
|
||||
|
@ -753,11 +753,8 @@
|
|||
|
||||
if (mouseDragged == NO)
|
||||
{
|
||||
[_tableView _selectColumn: columnIndex
|
||||
modifiers: modifiers];
|
||||
|
||||
[_tableView _didClickTableColumn:
|
||||
currentColumn];
|
||||
[_tableView _selectColumn: columnIndex modifiers: modifiers];
|
||||
[_tableView _clickTableColumn: currentColumn];
|
||||
|
||||
[self setNeedsDisplay: YES];;
|
||||
}
|
||||
|
@ -842,10 +839,8 @@
|
|||
}
|
||||
else
|
||||
{
|
||||
[_tableView _selectColumn: columnIndex
|
||||
modifiers: modifiers];
|
||||
[_tableView _didClickTableColumn:
|
||||
currentColumn];
|
||||
[_tableView _selectColumn: columnIndex modifiers: modifiers];
|
||||
[_tableView _clickTableColumn: currentColumn];
|
||||
|
||||
[self setNeedsDisplay: YES];
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue