feat: add settings dialog with render mode selection
- Add SettingDialogManager with radio-style render mode picker (simple/balance/advanced) - Add getRenderMode/setRenderMode API to Engine and EngineManager layers - Wire setting toolbar button to toggle the settings dialog - Add i18n keys for settings dialog (zh-CN/en-US) - Add version display at bottom-right of engine wrapper - Bump version to 1.1.7, rebuild and sync demo libs
This commit is contained in:
@@ -209,5 +209,14 @@ export const enUS: TranslationDictionary = {
|
||||
other: 'Other',
|
||||
otherPlaceholder: 'Enter custom answer',
|
||||
submit: 'Submit'
|
||||
},
|
||||
setting: {
|
||||
dialogTitle: 'Settings',
|
||||
renderMode: 'Render Mode',
|
||||
modes: {
|
||||
simple: 'Performance',
|
||||
balance: 'Balanced',
|
||||
advanced: 'Quality',
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -231,6 +231,15 @@ export interface TranslationDictionary {
|
||||
otherPlaceholder: string;
|
||||
submit: string;
|
||||
};
|
||||
setting: {
|
||||
dialogTitle: string;
|
||||
renderMode: string;
|
||||
modes: {
|
||||
simple: string;
|
||||
balance: string;
|
||||
advanced: string;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -209,5 +209,14 @@ export const zhCN: TranslationDictionary = {
|
||||
other: '其他',
|
||||
otherPlaceholder: '请输入自定义答案',
|
||||
submit: '提交'
|
||||
},
|
||||
setting: {
|
||||
dialogTitle: '设置',
|
||||
renderMode: '渲染模式',
|
||||
modes: {
|
||||
simple: '性能模式',
|
||||
balance: '平衡模式',
|
||||
advanced: '效果模式',
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user