summaryrefslogtreecommitdiffstats
path: root/macosx/HBAdvancedController.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-08-10 16:05:07 +0000
committerritsuka <[email protected]>2014-08-10 16:05:07 +0000
commit6aee3b7518264af46fd7d2f4580579313e2eaf72 (patch)
tree9e2839ae202e1c07baeb181abba643714ae71b21 /macosx/HBAdvancedController.m
parentc50899dd7361801c04463fe1630392500608ebab (diff)
MacGui: implemented the HBViewValidation protocol in each of the main window view controllers.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6285 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAdvancedController.m')
-rw-r--r--macosx/HBAdvancedController.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/HBAdvancedController.m b/macosx/HBAdvancedController.m
index 0900c010e..e0f509235 100644
--- a/macosx/HBAdvancedController.m
+++ b/macosx/HBAdvancedController.m
@@ -76,7 +76,7 @@
return;
}
- - (void) enableUI: (bool) b
+ - (void)setUIEnabled:(BOOL)flag
{
unsigned i;
NSControl * controls[] =
@@ -97,16 +97,16 @@
NSTextField * tf = (NSTextField *) controls[i];
if( ![tf isBezeled] )
{
- [tf setTextColor: b ? [NSColor controlTextColor] :
+ [tf setTextColor: flag ? [NSColor controlTextColor] :
[NSColor disabledControlTextColor]];
continue;
}
}
- [controls[i] setEnabled: b];
+ [controls[i] setEnabled: flag];
}
- [fX264optView setWantsLayer:YES];
+ //[fX264optView setWantsLayer:YES];
}
- (void)dealloc