diff --git a/Limelight/Base.lproj/iPad.storyboard b/Limelight/Base.lproj/iPad.storyboard index b7b3d5c7..eab90838 100644 --- a/Limelight/Base.lproj/iPad.storyboard +++ b/Limelight/Base.lproj/iPad.storyboard @@ -757,28 +757,26 @@ ICAgICAgICAgICAgICA - - + + + - - - - @@ -856,13 +854,13 @@ ICAgICAgICAgICAgICA - - + + - + diff --git a/Limelight/ViewControllers/MainFrameViewController.m b/Limelight/ViewControllers/MainFrameViewController.m index 65bf1df1..a83253c5 100644 --- a/Limelight/ViewControllers/MainFrameViewController.m +++ b/Limelight/ViewControllers/MainFrameViewController.m @@ -1129,7 +1129,6 @@ static NSMutableSet* hostList; settingsViewController.audioOnPcStack.hidden = self.settingsExpandedInStreamView; [settingsViewController.codecSelector setEnabled:!self.settingsExpandedInStreamView]; settingsViewController.codecStack.hidden = self.settingsExpandedInStreamView; - [settingsViewController.yuv444Selector setEnabled:!self.settingsExpandedInStreamView]; settingsViewController.yuv444Stack.hidden = self.settingsExpandedInStreamView; settingsViewController.HdrStack.hidden = self.settingsExpandedInStreamView; [settingsViewController.framePacingSelector setEnabled:!self.settingsExpandedInStreamView]; diff --git a/Limelight/ViewControllers/SettingsViewController.h b/Limelight/ViewControllers/SettingsViewController.h index d9e5f4de..30e8f3bc 100644 --- a/Limelight/ViewControllers/SettingsViewController.h +++ b/Limelight/ViewControllers/SettingsViewController.h @@ -53,8 +53,6 @@ @property (strong, nonatomic) IBOutlet UISegmentedControl *framerateSelector; @property (strong, nonatomic) IBOutlet UISegmentedControl *resolutionSelector; @property (weak, nonatomic) IBOutlet UISwitch *customResolutionSwitch; -@property (weak, nonatomic) IBOutlet UILabel *resolutionDisplayLabel; -@property (strong, nonatomic) IBOutlet UIView *resolutionDisplayView; @property (strong, nonatomic) IBOutlet UILabel *touchModeLabel; @property (strong, nonatomic) IBOutlet UISegmentedControl *touchModeSelector; @property (strong, nonatomic) IBOutlet UILabel *onscreenControllerLabel; @@ -65,8 +63,8 @@ @property (strong, nonatomic) IBOutlet UISegmentedControl *swapABXYButtonsSelector; @property (strong, nonatomic) IBOutlet UISegmentedControl *audioOnPCSelector; @property (strong, nonatomic) IBOutlet UISegmentedControl *codecSelector; -@property (strong, nonatomic) IBOutlet UISegmentedControl *yuv444Selector; @property (weak, nonatomic) IBOutlet UISwitch *hdrSwitch; +@property (weak, nonatomic) IBOutlet UISwitch *yuv444Switch; @property (strong, nonatomic) IBOutlet UISegmentedControl *framePacingSelector; @property (strong, nonatomic) IBOutlet UISegmentedControl *btMouseSelector; @property (strong, nonatomic) IBOutlet UISegmentedControl *reverseMouseWheelDirectionSelector; diff --git a/Limelight/ViewControllers/SettingsViewController.m b/Limelight/ViewControllers/SettingsViewController.m index 4f69d724..5b116bb6 100644 --- a/Limelight/ViewControllers/SettingsViewController.m +++ b/Limelight/ViewControllers/SettingsViewController.m @@ -1214,7 +1214,7 @@ BOOL isCustomResolution(CGSize res) { [self.hdrSwitch setOn:currentSettings.enableHdr]; } - [self.yuv444Selector setSelectedSegmentIndex:currentSettings.enableYUV444 ? 1 : 0]; + [self.yuv444Switch setOn:currentSettings.enableYUV444]; [self.statsOverlaySelector setSelectedSegmentIndex:currentSettings.statsOverlayLevel.intValue]; [self.btMouseSelector setSelectedSegmentIndex:currentSettings.btMouseSupport ? 1 : 0]; [self.optimizeSettingsSelector setSelectedSegmentIndex:currentSettings.optimizeGames ? 1 : 0]; @@ -1229,7 +1229,6 @@ BOOL isCustomResolution(CGSize res) { CGSize currentResolution = CGSizeMake(currentSettings.width.intValue, currentSettings.height.intValue); [self.customResolutionSwitch setOn: isCustomResolution(currentResolution)]; NSLog(@"isCustomResolution %d", isCustomResolution(currentResolution)); - self.resolutionDisplayLabel.accessibilityIdentifier = @"resolutionDisplayLabel"; [self.framerateSelector setSelectedSegmentIndex:framerate]; [self.framerateSelector addTarget:self action:@selector(updateBitrate) forControlEvents:UIControlEventValueChanged]; @@ -1898,7 +1897,7 @@ BOOL isCustomResolution(CGSize res) { BOOL swapABXYButtons = [self.swapABXYButtonsSelector selectedSegmentIndex] == 1; BOOL audioOnPC = [self.audioOnPCSelector selectedSegmentIndex] == 1; uint32_t preferredCodec = [self getChosenCodecPreference]; - BOOL enableYUV444 = [self.yuv444Selector selectedSegmentIndex] == 1; + BOOL enableYUV444 = self.yuv444Switch.isOn; BOOL btMouseSupport = [self.btMouseSelector selectedSegmentIndex] == 1; BOOL useFramePacing = [self.framePacingSelector selectedSegmentIndex] == 1; // BOOL absoluteTouchMode = [self.touchModeSelector selectedSegmentIndex] == 1; diff --git a/Limelight/mul.lproj/iPad.xcstrings b/Limelight/mul.lproj/iPad.xcstrings index a8708b81..4c314d4c 100644 --- a/Limelight/mul.lproj/iPad.xcstrings +++ b/Limelight/mul.lproj/iPad.xcstrings @@ -1233,7 +1233,7 @@ }, "D2u-4j-7kg.segmentTitles[0]" : { "comment" : "Class = \"UISegmentedControl\"; D2u-4j-7kg.segmentTitles[0] = \"No\"; ObjectID = \"D2u-4j-7kg\";", - "extractionState" : "extracted_with_value", + "extractionState" : "stale", "localizations" : { "en" : { "stringUnit" : { @@ -1263,7 +1263,7 @@ }, "D2u-4j-7kg.segmentTitles[1]" : { "comment" : "Class = \"UISegmentedControl\"; D2u-4j-7kg.segmentTitles[1] = \"Yes\"; ObjectID = \"D2u-4j-7kg\";", - "extractionState" : "extracted_with_value", + "extractionState" : "stale", "localizations" : { "en" : { "stringUnit" : { @@ -2581,6 +2581,18 @@ } } }, + "MNm-86-RGl.text" : { + "comment" : "Class = \"UILabel\"; text = \"YUV 4:4:4\"; ObjectID = \"MNm-86-RGl\";", + "extractionState" : "extracted_with_value", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "new", + "value" : "YUV 4:4:4" + } + } + } + }, "mSL-ru-nRm.title" : { "comment" : "Class = \"UIBarButtonItem\"; title = \"Settings\"; ObjectID = \"mSL-ru-nRm\";", "extractionState" : "extracted_with_value", @@ -2901,7 +2913,7 @@ }, "OHY-2z-Tm7.text" : { "comment" : "Class = \"UILabel\"; text = \"Enable YUV 4:4:4 (Beta)\"; ObjectID = \"OHY-2z-Tm7\";", - "extractionState" : "extracted_with_value", + "extractionState" : "stale", "localizations" : { "en" : { "stringUnit" : {