1 // 2 // PXWelcomeController.h 3 // Pixen-XCode 4 // 5 // Created by Andy Matuschak on Sat Jun 12 2004. 6 // Copyright (c) 2004 Open Sword Group. All rights reserved. 7 // 8 9 // Based upon UKPrefsPanel by M. Uli Kusterer 10 11 #import <AppKit/AppKit.h> 12 13 14 @interface PXWelcomeController : NSWindowController 15 { 16 IBOutlet NSTabView* tabView; // The tabless tab-view that we're a switcher for. 17 IBOutlet id image; 18 IBOutlet id next, prev; 19 20 NSMutableDictionary* itemsList; // Auto-generated from tab view's items. 21 NSString* baseWindowName; // Auto-fetched at awakeFromNib time. We append a colon and the name of the current page to the actual window title. 22 NSString* autosaveName; // Identifier used for saving toolbar state and current selected page of prefs window. 23 } 24 25 // Accessors for specifying the tab view: (you should just hook these up in IB) 26 -(void) setTabView: (NSTabView*)tv; 27 -(NSTabView*) tabView; 28 29 -(void) setAutosaveName: (NSString*)name; 30 -(NSString*) autosaveName; 31 32 // Action for hooking up this object and the menu item: 33 -(IBAction) orderFrontPrefsPanel: (id)sender; 34 35 // You don't have to care about these: 36 -(void) mapTabsToToolbar; 37 -(IBAction) changePanes: (id)sender; 38 39 -(IBAction)next:sender; 40 -(IBAction)prev:sender; 41 42 43 @end 44