forked from erkyrath/Inform7-IDE-Mac
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIFHeadingsBrowser.h
More file actions
40 lines (31 loc) · 1.12 KB
/
IFHeadingsBrowser.h
File metadata and controls
40 lines (31 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//
// IFHeadingsBrowser.h
// Inform-xc2
//
// Created by Andrew Hunter on 24/08/2006.
// Copyright 2006 Andrew Hunter. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "IFBreadcrumbControl.h"
#import "IFIntelFile.h"
#import "IFIntelSymbol.h"
#import "IFSectionalView.h"
#import "IFViewAnimator.h"
@interface IFHeadingsBrowser : NSObject {
// Views
IBOutlet NSView* headingsView;
IBOutlet IFSectionalView* sectionView;
IBOutlet IFBreadcrumbControl* breadcrumb;
IFViewAnimator* animator;
IFViewAnimationStyle animStyle;
// Current status
IFIntelFile* intel; // The intel file to find symbols from
IFIntelSymbol* root; // The root symbol whose child symbols to display (or null)
}
// Getting information about this browser
- (NSView*) view; // The view that will display this browser
// Setting what to browse
- (void) setIntel: (IFIntelFile*) intel; // Sets the IFIntelFile object to get symbols from
- (void) setSection: (IFIntelSymbol*) section; // Sets the section to display
- (void) setSectionByLine: (int) line; // Chooses a section from the current IFIntel
@end