UI tip update
This commit is contained in:
1 parent
d0b45a019f
commit
d76f404a4c
3 files changed
+73
-4
No files matched your search
@@ -5920,6 +5920,35 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"pencilTickStackTip" : {
|
||||||
|
"extractionState" : "manual",
|
||||||
|
"localizations" : {
|
||||||
|
"en" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Pencil Tick allows high frequency pencil touch events passed through to the host."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"zh-Hans" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "笔触 Tick 允许将高密度笔触事件透传至PC端。"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"zh-Hant" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "筆觸 Tick 允許將高頻率筆觸事件透傳至 PC 端。"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"zh-HK" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "筆觸 Tick 允許將高頻率筆觸事件透傳至 PC 端。"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Performance" : {
|
"Performance" : {
|
||||||
"extractionState" : "manual",
|
"extractionState" : "manual",
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
@@ -6122,6 +6151,29 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Please enable pressure curve in settings menu" : {
|
||||||
|
"extractionState" : "manual",
|
||||||
|
"localizations" : {
|
||||||
|
"zh-Hans" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "请在设置菜单中开启笔压曲线"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"zh-Hant" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "請在設定選單中開啟筆壓曲線"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"zh-HK" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "請在設定選單中開啟筆壓曲線"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Pofiles imported" : {
|
"Pofiles imported" : {
|
||||||
"extractionState" : "manual",
|
"extractionState" : "manual",
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
|
|||||||
@@ -1529,10 +1529,14 @@ BOOL isCustomResolution(int resolutionSelected) {
|
|||||||
tipText = [LocalizationHelper localizedStringForKey:@"hoverModeStackTip"];
|
tipText = [LocalizationHelper localizedStringForKey:@"hoverModeStackTip"];
|
||||||
showOnlineDocAction = false;
|
showOnlineDocAction = false;
|
||||||
}
|
}
|
||||||
|
if([sender.superview.accessibilityIdentifier isEqualToString: @"pencilTickStack"]){
|
||||||
|
tipText = [LocalizationHelper localizedStringForKey:@"pencilTickStackTip"];
|
||||||
|
showOnlineDocAction = true;
|
||||||
|
onlineDocLink = [LocalizationHelper localizedStringForKey:@"PencilProPackURL"];
|
||||||
|
}
|
||||||
|
|
||||||
UIAlertController *tipsAlertController = [UIAlertController alertControllerWithTitle: [LocalizationHelper localizedStringForKey:@"Tips"] message:tipText preferredStyle:UIAlertControllerStyleAlert];
|
UIAlertController *tipsAlertController = [UIAlertController alertControllerWithTitle: [LocalizationHelper localizedStringForKey:@"Tips"] message:tipText preferredStyle:UIAlertControllerStyleAlert];
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init];
|
NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init];
|
||||||
paragraphStyle.alignment = NSTextAlignmentLeft;
|
paragraphStyle.alignment = NSTextAlignmentLeft;
|
||||||
|
|||||||
@@ -1665,9 +1665,22 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)presentPressureCurveVC{
|
- (void)presentPressureCurveVC{
|
||||||
PressureCurveViewController* pressureCurveVC = [[PressureCurveViewController alloc] init];
|
if(_oscProfile.pressureCurveEnabled){
|
||||||
pressureCurveVC.modalPresentationStyle = UIModalPresentationOverFullScreen;
|
PressureCurveViewController* pressureCurveVC = [[PressureCurveViewController alloc] init];
|
||||||
[self presentViewController:pressureCurveVC animated:YES completion:nil];
|
pressureCurveVC.modalPresentationStyle = UIModalPresentationOverFullScreen;
|
||||||
|
[self presentViewController:pressureCurveVC animated:YES completion:nil];
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
AlertControllerUtil.autoCompletion = true;
|
||||||
|
[AlertControllerUtil showAlertIn:self
|
||||||
|
title:@""
|
||||||
|
message:[LocalizationHelper localizedStringForKey:@"Please enable pressure curve in settings menu"]
|
||||||
|
withCancel:NO
|
||||||
|
buttonTitle:@""
|
||||||
|
countdown:2
|
||||||
|
action:^{}
|
||||||
|
completion:^{}];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !TARGET_OS_TV
|
#if !TARGET_OS_TV
|
||||||
|
|||||||
Reference in new issue
Block a user