-
-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IME Support for WindowsDX build #537
Conversation
Nightly build for this pull request:
|
Signed-off-by: 舰队的偶像-岛风酱! <[email protected]>
DX XNA (WinForms base) Only OGL UGL (SDL base) are not support Signed-off-by: 舰队的偶像-岛风酱! <[email protected]>
17d1513
to
6fe7ef1
Compare
Ready for review but requires Rampastring/Rampastring.XNAUI#36 to be merged and released first |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nitpicks.
@SadPencil @frg2089 I am not really knowledgeable about IME itself, so I'll leave that to you.
An issue should be created to track OpenGL and XNA builds IME status though.
ClientGUI/IME/IMEHandler.cs
Outdated
// The following code returns a more accurate location, aware of the input cursor | ||
// However, it requires SetIMETextInputRectangle() be called whenever InputPosition is changed. | ||
// And therefore, it's commented out for now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not clear why you can't just call that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment updated.
If we apply this code, sometimes it's precise, other times it's worse than the inaccurate codes (due to outdated InputPosition). Such an inconsistent behavior is worse than a consistent but manageable inaccuracy.
Plan to hit the merge button after 24 hours. |
🎉 IME Support for WindowsDX only (WindowsXNA build also works, but occasionally it might have a chance to crash, so the IME support for WindowsXNA build has been disabled)
Close: #522
Link