X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/35167b10d151b0ae09f0f807670c318bc4d3de53..4701dfd179c4ea4a898bc394ddbb138a1bc4f6b4:/ITTabView.h?ds=inline diff --git a/ITTabView.h b/ITTabView.h old mode 100755 new mode 100644 index 5b4795a..36d1ca6 --- a/ITTabView.h +++ b/ITTabView.h @@ -1,35 +1,30 @@ /* * ITKit - * ITTabView - * NSTabView subclass which includes convenience features + * ITTabView.h * - * Original Author : Kent Sutherland - * Responsibility : Matt Judy - * Responsibility : Kent Sutherland + * NSTabView subclass which allows dragging (reordering) of tab view items. * - * Copyright (c) 2002 - 2003 iThink Software. - * All Rights Reserved + * Copyright (c) 2005 by iThink Software. + * All Rights Reserved. + * + * $Id$ * */ -/* - * This subclass enables drag-and-drop for tab view items. - */ - - #import - -@interface ITTabView : NSTabView -{ - NSTabViewItem *_draggedTab; - bool _allowsDragging; +@interface ITTabView : NSTabView { + NSTabViewItem *_draggedTab; + BOOL _allowsDragging; + unsigned int _requiredModifiers; } -- (void)setAllowsDragging:(bool)flag; -- (bool)allowsDragging; +- (void)setAllowsDragging:(BOOL)flag; +- (BOOL)allowsDragging; -- (void)moveTab:(NSTabViewItem *)tab toIndex:(int)index; +- (void)setRequiredModifiers:(unsigned int)modifiers; +- (unsigned int)requiredModifiers; +- (void)moveTab:(NSTabViewItem *)tab toIndex:(int)index; -@end +@end \ No newline at end of file