输入法框架和界面分层 #352
xingwozhonghua126
started this conversation in
Ideas
输入法框架和界面分层
#352
Replies: 1 comment
-
首先这个方法是不怎么可行的,X11 还可以,但是 wayland 就几乎不行。建议尽量使用 fcitx 内置界面的框架。 只说 X11 的话,如果闭源的 UI 不通用(指无法支持其他的输入法),让输入法引擎部分和界面去交互就行了,自然就没有界面。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
输入法包含很多模块,但是界面部分在某些输入法插件(闭源)中希望可以自定义,开源的又期望可以使用默认的,所以希望可能把界面部分和框架拆解出来。
界面部分又分为输入法候选词框,输入法主窗口(状态栏),任务栏菜单,配置界面。最好把开源的模块分细一点。因为任务栏菜单通常要保持统一,候选词每个输入法都想改。
因为新的插件加载机制,开源的可以直接引用闭源的插件。
闭源的输入法可以用自己的。
Beta Was this translation helpful? Give feedback.
All reactions