mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:30:37 +00:00
NSTable* classes added.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4619 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b0a51e129c
commit
222f406f06
5 changed files with 258 additions and 0 deletions
44
Source/NSTableHeaderView.m
Normal file
44
Source/NSTableHeaderView.m
Normal file
|
@ -0,0 +1,44 @@
|
|||
@implementation NSTableHeaderView
|
||||
- (void)setTableView:(NSTableView *)aTableView
|
||||
{
|
||||
ASSIGN(tbhv_tableview, aTableView);
|
||||
}
|
||||
|
||||
- (NSTableView *)tableView
|
||||
{
|
||||
return tbhv_tableview;
|
||||
}
|
||||
|
||||
- (int)draggedColumn
|
||||
{
|
||||
// more thought has to go into this, though the default case is -1.
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
- (float)draggedDistance
|
||||
{
|
||||
// return horizontal distance from last location.
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
- (int)resizedColumn
|
||||
{
|
||||
// index of resized column?
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
- (int)columnAtPoint:(NSPoint)aPoint
|
||||
{
|
||||
// black magic here to deduce the column at point, quite easy.
|
||||
|
||||
return -1; // No such column
|
||||
}
|
||||
|
||||
- (NSRect)headerRectOfColumn:(int)columnIndex
|
||||
{
|
||||
// bzzt. weird.
|
||||
}
|
||||
@end
|
Loading…
Add table
Add a link
Reference in a new issue