Add IME text rendering

This shows the uncommitted text in a box in the bottom left corner.
This doesn't show the selection (defined by the start and length fields
in the event) yet, but this is already much better than it was on its
own, and I don't know how urgent the selection is since it's broken on
Windows anyway.
This commit is contained in:
Dav999 authored and Misa Elizabeth Kai committed 2024-08-02 22:25:00 -07:00
1 parent a9ca63b367
commit 8b8f827b70
4 files changed
+72 -3

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
#ifndef IMERENDER_H
#define IMERENDER_H
void ime_render(void);
void ime_set_rect(SDL_Rect* stretch_info);
#endif /* IMERENDER_H */