-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathPreferenceController.h
57 lines (42 loc) · 1.28 KB
/
PreferenceController.h
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//
// PreferenceController.h
// SimpleCap
//
// Created by - on 08/09/12.
// Copyright 2008 Hiroshi Hashiguchi. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@class AppController;
@class HotkeyRegister;
@class HotkeyTextView;
@interface PreferenceController : NSObject {
IBOutlet NSWindow* _window;
IBOutlet NSTabView* _tab_view;
NSSize _window_size;
IBOutlet NSImageView* _image_view;
IBOutlet NSImageView* _selection_view;
IBOutlet NSImageView* _screen_view;
IBOutlet AppController* _app_controller;
NSToolbar* _toolbar;
NSArray* _toolbar_list;
HotkeyRegister* _hotkey_register;
IBOutlet HotkeyTextView* _hotkey_text;
IBOutlet NSButton* _autostart_checkbox;
}
- (void)chooseImageLocation:(id)sender;
- (IBAction)clickImageOptions:(id)sender;
- (IBAction)clickSelectionOptions:(id)sender;
//- (IBAction)clickScreenOptions:(id)sender;
- (IBAction)chooseApplication:(id)sender;
- (IBAction)selectImageFormat:(id)sender;
- (void)openAtTabIndex:(NSInteger)tab_index;
- (void)setTabIndex:(NSInteger)tab_index;
- (void)registHotkeysFromDefaults;
- (IBAction)resetHotkey:(id)sender;
- (void)applicationWillTerminate;
- (IBAction)clickAutostartCheckbox:(id)sender;
- (void)enableLoginItem;
- (void)disableLoginItem;
- (BOOL)isEnableLoginItem;
- (void)updateToolbarOnGeneral;
@end