File: toolBarDelagate.h

package info (click to toggle)
gtamsanalyzer.app 0.42-6
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 6,112 kB
  • ctags: 866
  • sloc: objc: 34,338; ansic: 8,762; cpp: 384; makefile: 59; sh: 47
file content (30 lines) | stat: -rwxr-xr-x 800 bytes parent folder | download | duplicates (7)
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
/* toolBarDelagate */

#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>

@interface toolBarDelagate : NSObject
{
    IBOutlet id theDocument;
    IBOutlet id mainWindow;
    int buttonNdx;
    NSMutableArray *myButtons;
    NSMutableArray *allButtons;
    NSMutableArray *textPool, *codePool;
    NSToolbar *myToolBar;
}
- (void)setupToolbar;
-(void) addItem: (NSString *) ss;
-(void) addText: (NSString *) ss;
-(void) addBar;

- (NSToolbarItem *)toolbar:(NSToolbar *)toolbar
itemForItemIdentifier:(NSString *)itemIdentifier
willBeInsertedIntoToolbar:(BOOL)flag;
- (NSArray *)toolbarAllowedItemIdentifiers:(NSToolbar*)toolbar;
- (NSArray *)toolbarDefaultItemIdentifiers:(NSToolbar*)toolbar;
-(IBAction) setCode: (id) Sender;
-(BOOL) isButton: (NSString *) who;
-(void) clearButtons;

@end