summaryrefslogtreecommitdiff
path: root/macosx/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/plugins')
-rwxr-xr-xmacosx/plugins/Bladesio1/macsrc/PluginConfigController.m2
-rwxr-xr-xmacosx/plugins/DFXVideo/macsrc/PluginConfigController.m12
2 files changed, 7 insertions, 7 deletions
diff --git a/macosx/plugins/Bladesio1/macsrc/PluginConfigController.m b/macosx/plugins/Bladesio1/macsrc/PluginConfigController.m
index 90ad3b6c..8572289e 100755
--- a/macosx/plugins/Bladesio1/macsrc/PluginConfigController.m
+++ b/macosx/plugins/Bladesio1/macsrc/PluginConfigController.m
@@ -188,7 +188,7 @@ void ReadConfig()
keyValues = [[defaults dictionaryForKey:PrefsKey] mutableCopy];
[enabledButton setState: [keyValues[kSioEnabled] boolValue] ? NSOnState : NSOffState];
- [ipAddressField setTitleWithMnemonic:keyValues[kSioIPAddress]];
+ [[ipAddressField cell] setTitle:keyValues[kSioIPAddress]];
[portField setIntValue:[keyValues[kSioPort] intValue]];
switch ([keyValues[kSioPlayer] integerValue]) {
diff --git a/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m b/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m
index f7982d36..baa118f8 100755
--- a/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m
+++ b/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m
@@ -135,8 +135,8 @@ void ReadConfig(void)
@"Enable Hacks": @NO,
@"Dither Mode": @1,
@"Hacks": @((unsigned int)0),
- @"VertexShader": [[selfBundle URLForResource:@"gpuPeteOGL2" withExtension:@"slv"] bookmarkDataWithOptions:NSURLBookmarkCreationPreferFileIDResolution includingResourceValuesForKeys:nil relativeToURL:nil error:nil],
- @"FragmentShader": [[selfBundle URLForResource:@"gpuPeteOGL2" withExtension:@"slf"] bookmarkDataWithOptions:NSURLBookmarkCreationPreferFileIDResolution includingResourceValuesForKeys:nil relativeToURL:nil error:nil],
+ @"VertexShader": [[selfBundle URLForResource:@"gpuPeteOGL2" withExtension:@"slv"] bookmarkDataWithOptions:0 includingResourceValuesForKeys:nil relativeToURL:nil error:nil],
+ @"FragmentShader": [[selfBundle URLForResource:@"gpuPeteOGL2" withExtension:@"slf"] bookmarkDataWithOptions:0 includingResourceValuesForKeys:nil relativeToURL:nil error:nil],
@"UseShader": @NO,
@"ShaderQuality": @4,
kWindowSize: NSStringFromSize(NSMakeSize(640, 480))}}];
@@ -234,8 +234,8 @@ void ReadConfig(void)
writeDic[@"Hacks"] = @(hackValues);
- writeDic[@"VertexShader"] = [vertexPath bookmarkDataWithOptions:NSURLBookmarkCreationPreferFileIDResolution includingResourceValuesForKeys:nil relativeToURL:nil error:nil];
- writeDic[@"FragmentShader"] = [fragmentPath bookmarkDataWithOptions:NSURLBookmarkCreationPreferFileIDResolution includingResourceValuesForKeys:nil relativeToURL:nil error:nil];
+ writeDic[@"VertexShader"] = [vertexPath bookmarkDataWithOptions:0 includingResourceValuesForKeys:nil relativeToURL:nil error:nil];
+ writeDic[@"FragmentShader"] = [fragmentPath bookmarkDataWithOptions:0 includingResourceValuesForKeys:nil relativeToURL:nil error:nil];
writeDic[kWindowSize] = NSStringFromSize(NSMakeSize(self.displayWidth.integerValue, self.displayHeight.integerValue));
// write to defaults
@@ -288,7 +288,7 @@ void ReadConfig(void)
{
self.fragmentPath = _fragmentPath;
if (_fragmentPath) {
- [fragmentShaderViewablePath setTitleWithMnemonic:[fragmentPath lastPathComponent]];
+ [[fragmentShaderViewablePath cell] setTitle:[fragmentPath lastPathComponent]];
[fragmentShaderViewablePath setToolTip:[fragmentPath path]];
}
}
@@ -297,7 +297,7 @@ void ReadConfig(void)
{
self.vertexPath = _vertexPath;
if (_vertexPath) {
- [vertexShaderViewablePath setTitleWithMnemonic:[vertexPath lastPathComponent]];
+ [[vertexShaderViewablePath cell] setTitle:[vertexPath lastPathComponent]];
[vertexShaderViewablePath setToolTip:[vertexPath path]];
}
}