Removing the use of private CoreGraphics APIs to draw shadows, and replacing with...
[ITKit.git] / ITTabView.h
1 /*
2  *      ITKit
3  *      ITTabView.h
4  *
5  *      NSTabView subclass which allows dragging (reordering) of tab view items.
6  *
7  *      Copyright (c) 2005 iThink Software
8  *
9  */
10
11 #import <Cocoa/Cocoa.h>
12
13 @interface ITTabView : NSTabView {
14         NSTabViewItem *_draggedTab;
15         BOOL _allowsDragging;
16         unsigned int _requiredModifiers;
17 }
18
19 - (void)setAllowsDragging:(BOOL)flag;
20 - (BOOL)allowsDragging;
21
22 - (void)setRequiredModifiers:(unsigned int)modifiers;
23 - (unsigned int)requiredModifiers;
24
25 - (void)moveTab:(NSTabViewItem *)tab toIndex:(int)index;
26
27 @end