Add NSTableViewSelectionHighlightStyle type and stub accessors

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39019 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rmottola 2015-10-02 09:47:29 +00:00
parent 3c1c286a4a
commit 1b96032a75
3 changed files with 37 additions and 0 deletions

View file

@ -2568,6 +2568,22 @@ static void computeNewSelection
return NO;
}
- (void)setSelectionHighlightStyle: (NSTableViewSelectionHighlightStyle)s
{
// FIXME implement me really
_selectionHighlightStyle = s;
if (_selectionHighlightStyle == NSTableViewSelectionHighlightStyleSourceList)
{
// should also set draggingDestinationFeedbackStyle to NSTableViewDraggingDestinationFeedbackStyleSourceList
// but we don't have it yet anyway
}
}
- (NSTableViewSelectionHighlightStyle) selectionHighlightStyle
{
return _selectionHighlightStyle;
}
/*
* Selecting Columns and Rows
*/