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:
yuding
2026-02-28 11:26:59 +08:00
parent a9c8317b10
commit 837177f3f2
15 changed files with 875 additions and 525 deletions

View File

@@ -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',
}
}
};

View File

@@ -231,6 +231,15 @@ export interface TranslationDictionary {
otherPlaceholder: string;
submit: string;
};
setting: {
dialogTitle: string;
renderMode: string;
modes: {
simple: string;
balance: string;
advanced: string;
};
};
}
/**

View File

@@ -209,5 +209,14 @@ export const zhCN: TranslationDictionary = {
other: '其他',
otherPlaceholder: '请输入自定义答案',
submit: '提交'
},
setting: {
dialogTitle: '设置',
renderMode: '渲染模式',
modes: {
simple: '性能模式',
balance: '平衡模式',
advanced: '效果模式',
}
}
};