Removing the use of private CoreGraphics APIs to draw shadows, and replacing with...
[ITKit.git] / ITTabView.h
old mode 100755 (executable)
new mode 100644 (file)
index 4a03809..742071b
@@ -1,25 +1,27 @@
 /*
  *     ITKit
- *  ITTabView
- *    NSTabView subclass which includes convenience features
+ *     ITTabView.h
  *
- *  Original Author : Kent Sutherland <kent.sutherland@ithinksw.com>
- *   Responsibility : Matt Judy <mjudy@ithinksw.com>
- *   Responsibility : Kent Sutherland <kent.sutherland@ithinksw.com>
+ *     NSTabView subclass which allows dragging (reordering) of tab view items.
  *
- *  Copyright (c) 2002 iThink Software.
- *  All Rights Reserved
+ *     Copyright (c) 2005 iThink Software
  *
  */
 
-/*
- *     This subclass enables drag-and-drop for tab view items.
- */
-
 #import <Cocoa/Cocoa.h>
 
-@interface ITTabView : NSTabView
-{
-    NSTabViewItem *_draggedTab;
+@interface ITTabView : NSTabView {
+       NSTabViewItem *_draggedTab;
+       BOOL _allowsDragging;
+       unsigned int _requiredModifiers;
 }
-@end
+
+- (void)setAllowsDragging:(BOOL)flag;
+- (BOOL)allowsDragging;
+
+- (void)setRequiredModifiers:(unsigned int)modifiers;
+- (unsigned int)requiredModifiers;
+
+- (void)moveTab:(NSTabViewItem *)tab toIndex:(int)index;
+
+@end
\ No newline at end of file