OSDN Git Service

implement a function to change font on the glyph view, and add the HOME variable...
[sawarabi-fonts/sawarabi-fonts.git] / chartool / objective-c / Controller.h
1 //
2 //  Controller.h
3 //  chartool
4 //
5 //  Created by mshio on 11/02/05.
6 //  Copyright 2011 mshio. All rights reserved.
7 //
8
9 #import <Cocoa/Cocoa.h>
10 #import "JavaScriptEngine.h"
11 #import "UnicharUtil.h"
12
13 @interface Controller : NSObject {
14         IBOutlet NSTextField* searchField;
15         IBOutlet NSImageView* glyphView;
16         IBOutlet NSTextField* codeField;
17         IBOutlet NSTextField* nameField;
18         IBOutlet NSMenu* glyphViewMenu;
19
20         NSString* currentCharacter;
21         NSString* currentFont;
22         JavaScriptEngine* engine;
23         UnicharUtil* charUtil;
24 }
25 - (IBAction) search:(id)sender;
26 - (IBAction) clickScriptButton: (id)sender;
27 - (IBAction) copyGlyphCharacter:(id)sender;
28 - (IBAction) changeFont: (id)sender;
29
30 @end