diff options
author | randomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64> | 2012-01-09 11:00:50 +0000 |
---|---|---|
committer | randomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64> | 2012-01-09 11:00:50 +0000 |
commit | a8a8dfb90d6a51ae369c042c95162f45754c7c4b (patch) | |
tree | 0e7a5f82febebe7129ebfb015f05b114064c39fd /tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers | |
parent | e1cf0babff63e670e0d550b4072c22649a117fa7 (diff) |
Move tikzit into "trunk" directory
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@365 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
Diffstat (limited to 'tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers')
7 files changed, 167 insertions, 0 deletions
diff --git a/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBInspectorPane.h b/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBInspectorPane.h new file mode 100644 index 0000000..b50c12d --- /dev/null +++ b/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBInspectorPane.h @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2009 Stephen F. Booth <me@sbooth.org> + * All Rights Reserved + */ + +#import <Cocoa/Cocoa.h> + +#define INSPECTOR_PANE_HEADER_HEIGHT 17 + +@class SFBInspectorPaneHeader, SFBInspectorPaneBody; + +@interface SFBInspectorPane : NSView +{ +@private + BOOL _collapsed; + SFBInspectorPaneHeader *_headerView; + SFBInspectorPaneBody *_bodyView; +} + +@property (readonly, assign, getter=isCollapsed) BOOL collapsed; + +- (NSString *) title; +- (void) setTitle:(NSString *)title; + +- (IBAction) toggleCollapsed:(id)sender; +- (void) setCollapsed:(BOOL)collapsed animate:(BOOL)animate; + +- (SFBInspectorPaneHeader *) headerView; +- (SFBInspectorPaneBody *) bodyView; + +@end diff --git a/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBInspectorPaneBody.h b/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBInspectorPaneBody.h new file mode 100644 index 0000000..250f9e6 --- /dev/null +++ b/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBInspectorPaneBody.h @@ -0,0 +1,16 @@ +/* + * Copyright (C) 2009 Stephen F. Booth <me@sbooth.org> + * All Rights Reserved + */ + +#import <Cocoa/Cocoa.h> + +@interface SFBInspectorPaneBody : NSView +{ +@private + CGFloat _normalHeight; +} + +@property (readonly, assign) CGFloat normalHeight; + +@end diff --git a/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBInspectorPaneHeader.h b/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBInspectorPaneHeader.h new file mode 100644 index 0000000..3512d75 --- /dev/null +++ b/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBInspectorPaneHeader.h @@ -0,0 +1,24 @@ +/* + * Copyright (C) 2009 Stephen F. Booth <me@sbooth.org> + * All Rights Reserved + */ + +#import <Cocoa/Cocoa.h> + +@class SFBInspectorPane; + +@interface SFBInspectorPaneHeader : NSView +{ +@private + BOOL _pressed; + NSButton *_disclosureButton; + NSTextField *_titleTextField; +} + +- (NSString *) title; +- (void) setTitle:(NSString *)title; + +- (NSButton *) disclosureButton; +- (NSTextField *) titleTextField; + +@end diff --git a/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBInspectorView.h b/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBInspectorView.h new file mode 100644 index 0000000..e7f4b53 --- /dev/null +++ b/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBInspectorView.h @@ -0,0 +1,17 @@ +/* + * Copyright (C) 2009 Stephen F. Booth <me@sbooth.org> + * All Rights Reserved + */ + +#import <Cocoa/Cocoa.h> + +@interface SFBInspectorView : NSView +{ +@private + NSSize _initialWindowSize; +} + +- (void) addInspectorPaneController:(NSViewController *)paneController; +- (void) addInspectorPane:(NSView *)paneBody title:(NSString *)title; + +@end diff --git a/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBViewSelector.h b/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBViewSelector.h new file mode 100644 index 0000000..8645914 --- /dev/null +++ b/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBViewSelector.h @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2009 Stephen F. Booth <me@sbooth.org> + * All Rights Reserved + */ + +#import <Cocoa/Cocoa.h> + +#define VIEW_SELECTOR_BAR_HEIGHT 25 + +@class SFBViewSelectorBar; + +@interface SFBViewSelector : NSView +{ +@private + NSSize _initialWindowSize; + SFBViewSelectorBar *_selectorBar; + NSView *_bodyView; +} + +- (SFBViewSelectorBar *) selectorBar; + +@end diff --git a/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBViewSelectorBar.h b/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBViewSelectorBar.h new file mode 100644 index 0000000..d0c8c30 --- /dev/null +++ b/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBViewSelectorBar.h @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2009 Stephen F. Booth <me@sbooth.org> + * All Rights Reserved + */ + +#import <Cocoa/Cocoa.h> + +@class SFBViewSelectorBarItem; + +@interface SFBViewSelectorBar : NSView +{ +@private + NSInteger _selectedIndex; + NSInteger _pressedIndex; + NSMutableArray *_items; +} + +@property (assign) NSInteger selectedIndex; +@property (readonly) SFBViewSelectorBarItem * selectedItem; + +- (void) addItem:(SFBViewSelectorBarItem *)item; + +- (BOOL) selectItem:(SFBViewSelectorBarItem *)item; +- (BOOL) selectItemWithIdentifer:(NSString *)itemIdentifier; + +- (SFBViewSelectorBarItem *) itemAtIndex:(NSInteger)itemIndex; +- (SFBViewSelectorBarItem *) itemWithIdentifier:(NSString *)itemIdentifier; + +@end diff --git a/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBViewSelectorBarItem.h b/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBViewSelectorBarItem.h new file mode 100644 index 0000000..c18cfb3 --- /dev/null +++ b/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBViewSelectorBarItem.h @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2009 Stephen F. Booth <me@sbooth.org> + * All Rights Reserved + */ + +#import <Cocoa/Cocoa.h> + +@interface SFBViewSelectorBarItem : NSObject +{ +@private + NSString *_identifier; + NSString *_label; + NSString *_tooltip; + NSImage *_image; + NSView *_view; +} + +@property (copy) NSString * identifier; +@property (copy) NSString * label; +@property (copy) NSString * tooltip; +@property (copy) NSImage * image; +@property (retain) NSView * view; + ++ (id) itemWithIdentifier:(NSString *)identifier label:(NSString *)label tooltip:(NSString *)tooltip image:(NSImage *)image view:(NSView *)view; + +- (id) initWithIdentifier:(NSString *)identifier label:(NSString *)label tooltip:(NSString *)tooltip image:(NSImage *)image view:(NSView *)view; + +@end |