audio menuSection
This commit is contained in:
1 parent
9b5b93dc31
commit
e1920ddb01
3 files changed
+37
-6
No files matched your search
@@ -565,6 +565,29 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Audio" : {
|
||||||
|
"extractionState" : "manual",
|
||||||
|
"localizations" : {
|
||||||
|
"zh-Hans" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "音频"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"zh-Hant" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "音频"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"zh-HK" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "音频"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Back" : {
|
"Back" : {
|
||||||
"extractionState" : "manual",
|
"extractionState" : "manual",
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
_sectionTitle = @"Section";
|
_sectionTitle = @"Section";
|
||||||
_expanded = YES;
|
_expanded = YES;
|
||||||
_backgroundColor = [UIColor clearColor];
|
_backgroundColor = [UIColor clearColor];
|
||||||
_rootStackViewSpacing = [self isIPhone] ? 10 : 16;
|
_rootStackViewSpacing = [self isIPhone] ? 10 : 18;
|
||||||
_subStackViews = [NSMutableArray array];
|
_subStackViews = [NSMutableArray array];
|
||||||
_headerViewHeight = 37;
|
_headerViewHeight = 37;
|
||||||
_headerViewVerticalSpacing = 25;
|
_headerViewVerticalSpacing = 25;
|
||||||
|
|||||||
@@ -527,10 +527,6 @@ BOOL isCustomResolution(CGSize res) {
|
|||||||
[touchControlSection setExpanded:YES];
|
[touchControlSection setExpanded:YES];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
MenuSectionView *gesturesSection = [[MenuSectionView alloc] init];
|
MenuSectionView *gesturesSection = [[MenuSectionView alloc] init];
|
||||||
gesturesSection.delegate = self;
|
gesturesSection.delegate = self;
|
||||||
gesturesSection.sectionTitle = [LocalizationHelper localizedStringForKey:@"Gestures"];
|
gesturesSection.sectionTitle = [LocalizationHelper localizedStringForKey:@"Gestures"];
|
||||||
@@ -559,6 +555,19 @@ BOOL isCustomResolution(CGSize res) {
|
|||||||
[peripheralSection setExpanded:YES];
|
[peripheralSection setExpanded:YES];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
MenuSectionView *audioSection = [[MenuSectionView alloc] init];
|
||||||
|
audioSection.delegate = self;
|
||||||
|
audioSection.sectionTitle = [LocalizationHelper localizedStringForKey:@"Audio"];
|
||||||
|
if (@available(iOS 13.0, *)) {
|
||||||
|
[audioSection setSectionWithIcon:[UIImage systemImageNamed:@"speaker.wave.2"] andSize:23];
|
||||||
|
}
|
||||||
|
|
||||||
|
[self addSetting:self.audioOnPcStack ofId:@"audioOnPcStack" withInfoTag:NO withDynamicLabel:NO to:audioSection];
|
||||||
|
[audioSection addToParentStack:_parentStack];
|
||||||
|
[audioSection setExpanded:YES];
|
||||||
|
|
||||||
|
|
||||||
MenuSectionView *otherSection = [[MenuSectionView alloc] init];
|
MenuSectionView *otherSection = [[MenuSectionView alloc] init];
|
||||||
otherSection.delegate = self;
|
otherSection.delegate = self;
|
||||||
otherSection.sectionTitle = [LocalizationHelper localizedStringForKey:@"Others"];
|
otherSection.sectionTitle = [LocalizationHelper localizedStringForKey:@"Others"];
|
||||||
@@ -568,7 +577,6 @@ BOOL isCustomResolution(CGSize res) {
|
|||||||
[self addSetting:self.statsOverlayStack ofId:@"statsOverlayStack" withInfoTag:NO withDynamicLabel:NO to:otherSection];
|
[self addSetting:self.statsOverlayStack ofId:@"statsOverlayStack" withInfoTag:NO withDynamicLabel:NO to:otherSection];
|
||||||
[self addSetting:self.unlockDisplayOrientationStack ofId:@"unlockDisplayOrientationStack" withInfoTag:YES withDynamicLabel:NO to:otherSection];
|
[self addSetting:self.unlockDisplayOrientationStack ofId:@"unlockDisplayOrientationStack" withInfoTag:YES withDynamicLabel:NO to:otherSection];
|
||||||
[self addSetting:self.optimizeGamesStack ofId:@"optimizeGamesStack" withInfoTag:YES withDynamicLabel:NO to:otherSection];
|
[self addSetting:self.optimizeGamesStack ofId:@"optimizeGamesStack" withInfoTag:YES withDynamicLabel:NO to:otherSection];
|
||||||
[self addSetting:self.audioOnPcStack ofId:@"audioOnPcStack" withInfoTag:NO withDynamicLabel:NO to:otherSection];
|
|
||||||
[self addSetting:self.multiControllerStack ofId:@"multiControllerStack" withInfoTag:YES withDynamicLabel:NO to:otherSection];
|
[self addSetting:self.multiControllerStack ofId:@"multiControllerStack" withInfoTag:YES withDynamicLabel:NO to:otherSection];
|
||||||
[self addSetting:self.softKeyboardToolbarStack ofId:@"softKeyboardToolbarStack" withInfoTag:YES withDynamicLabel:NO to:otherSection];
|
[self addSetting:self.softKeyboardToolbarStack ofId:@"softKeyboardToolbarStack" withInfoTag:YES withDynamicLabel:NO to:otherSection];
|
||||||
[otherSection addToParentStack:_parentStack];
|
[otherSection addToParentStack:_parentStack];
|
||||||
|
|||||||
Reference in new issue
Block a user