-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPreferenceController.h
More file actions
38 lines (29 loc) · 1.04 KB
/
PreferenceController.h
File metadata and controls
38 lines (29 loc) · 1.04 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
//
// PreferenceController.h
// TransparentWebView
//
// Created by Dirk van Oosterbosch on 24-02-11.
// Copyright 2011 IR labs. All rights reserved.
//
#import <Cocoa/Cocoa.h>
extern NSString *const TWVShouldAutomaticReloadKey;
extern NSString *const TWVAutomaticReloadIntervalKey;
extern NSString *const TWVAutomaticReloadChangedNotification;
@interface PreferenceController : NSWindowController {
IBOutlet NSButton *autoRefreshCheckBox;
IBOutlet NSSlider *autoRefreshIntervalSlider;
IBOutlet NSTextField *autoRefreshIntervalValueLabel;
IBOutlet NSTextField *autoRefreshInfoLabel;
IBOutlet NSTextField *autoRefreshRightMark;
IBOutlet NSTextField *autoRefreshMiddleMark;
IBOutlet NSTextField *autoRefreshLeftMark;
float lastSliderValue;
NSMutableArray *sliderDeltas;
}
- (IBAction)changeAutomaticRefresh:(id)sender;
- (IBAction)changeAutoRefreshValue:(id)sender;
- (BOOL)shouldAutomaticReload;
- (int)automaticReloadInterval;
- (void)setAutomaticReloadEnabled:(BOOL)enabledState;
- (void)setAutomaticIntervalLabelValue:(int)seconds;
@end