Hook up layout to window controller

This commit is contained in:
anthony 2022-04-08 09:26:23 +01:00
parent 5efa344ce5
commit 5bad583fbb
4 changed files with 88 additions and 3 deletions

View File

@ -35,6 +35,16 @@
id memCacheSizeField;
id diskCacheSizeField;
id expireCacheField;
// NETWORK
id proxyTypeButton;
id proxyHostField;
id proxyPortField;
id proxyUsernameField;
id proxyPasswordField;
id proxyOmitField;
id maxFetchersField;
id fetchesPerHostField;
id cachedConnectionsField;
NSMutableArray *downloadLocations;
}
@ -78,4 +88,15 @@
-(void)didChangeDiskCacheSize: (id)sender;
-(void)didChangeExpireCache: (id)sender;
// NETWORK
-(void)didPickProxyType: (id)sender;
-(void)didChangeProxyHost: (id)sender;
-(void)didChangeProxyPort: (id)sender;
-(void)didChangeProxyUsername: (id)sender;
-(void)didChangeProxyPassword: (id)sender;
-(void)didChangeProxyOmit: (id)sender;
-(void)didChangeMaxFetchers: (id)sender;
-(void)didChangeFetchesPerHost: (id)sender;
-(void)didChangeCachedConnections: (id)sender;
@end

View File

@ -422,4 +422,41 @@
(NSUInteger)[[sender stringValue] integerValue]];
}
-(void)didPickProxyType: (id)sender {
NSLog(@"didPickProxyType");
}
-(void)didChangeProxyHost: (id)sender {
NSLog(@"didChangeProxyHost");
}
-(void)didChangeProxyPort: (id)sender {
NSLog(@"didChangeProxyPort");
}
-(void)didChangeProxyUsername: (id)sender {
NSLog(@"didChangeProxyUsername");
}
-(void)didChangeProxyPassword: (id)sender {
NSLog(@"didChangeProxyPassword");
}
-(void)didChangeProxyOmit: (id)sender {
NSLog(@"didChangeProxyOmit");
}
-(void)didChangeMaxFetchers: (id)sender {
NSLog(@"didChangeMaxFetchers");
}
-(void)didChangeFetchesPerHost: (id)sender {
NSLog(@"didChangeFetchesPerHost");
}
-(void)didChangeCachedConnections: (id)sender {
NSLog(@"didChangeCachedConnections");
}
@end

View File

@ -3,9 +3,18 @@
FirstResponder = {
Actions = (
"didChangeBrowsingHistory:",
"didChangeCachedConnections:",
"didChangeDiskCacheSize:",
"didChangeExpireCache:",
"didChangeFetchesPerHost:",
"didChangeFontSizeStepper:",
"didChangeMaxFetchers:",
"didChangeMemCacheSize:",
"didChangeProxyHost:",
"didChangeProxyOmit:",
"didChangeProxyPassword:",
"didChangeProxyPort:",
"didChangeProxyUsername:",
"didEnterFontSize:",
"didEnterStartupPage:",
"didPickDefaultFont:",
@ -33,7 +42,7 @@
"didPressStartupUseDefaultPage:",
"didPressSwitchToTabs:",
"didPressUrlSuggestions:",
"didChangeExpireCache:"
"didPickProxyType:"
);
Super = NSObject;
};
@ -70,7 +79,16 @@
"didPressDoNotTrack:",
"didPressLocalHistoryTooltip:",
"didPressReferralSubmission:",
"didChangeExpireCache:"
"didChangeExpireCache:",
"didChangeCachedConnections:",
"didChangeFetchesPerHost:",
"didChangeMaxFetchers:",
"didChangeProxyHost:",
"didChangeProxyOmit:",
"didChangeProxyPassword:",
"didChangeProxyPort:",
"didChangeProxyUsername:",
"didPickProxyType:"
);
Outlets = (
downloadConfirmOverwriteButton,
@ -103,7 +121,16 @@
expireCacheField,
referralSubmissionButton,
rememberHistoryField,
newOutlet
proxyHostField,
dummyIdentifier,
maxFetchersField,
fetchesPerHostField,
cachedConnectionsField,
proxyOmitField,
proxyPasswordField,
proxyPortField,
proxyTypeButton,
proxyUsernameField
);
Super = NSWindowController;
};