Add selection background to IME rendering

Decided to implement it anyway since the broken behavior (selection
length always being 0, at least on Windows) may get fixed later in SDL,
so let's do it right in one go.
This commit is contained in:
Dav999
2024-08-02 01:11:45 +02:00
committed by Misa Elizabeth Kai
parent 8b8f827b70
commit 9ec8d8b637
3 changed files with 60 additions and 0 deletions
+2
View File
@@ -70,6 +70,8 @@ public:
bool pressedbackspace;
std::string keybuffer;
std::string imebuffer;
int imebuffer_start;
int imebuffer_length;
bool linealreadyemptykludge;