aboutsummaryrefslogtreecommitdiff
path: root/demos/input_method/main.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-05-07 20:53:57 +0800
committerGitHub <noreply@github.com>2022-05-07 20:53:57 +0800
commitee5aa17e44cb36b386e89032cab96caf87b5b524 (patch)
treea7cef6c60f55e3870900016e0f1a4efe578efbf0 /demos/input_method/main.cpp
parent5bc684dcc1d121bf6e02d0800174c7977c72d101 (diff)
parentcb850a6d6d13fc5b2c0cdd8773e368e23252c459 (diff)
downloadcru-ee5aa17e44cb36b386e89032cab96caf87b5b524.tar.gz
cru-ee5aa17e44cb36b386e89032cab96caf87b5b524.tar.bz2
cru-ee5aa17e44cb36b386e89032cab96caf87b5b524.zip
Merge pull request #54 from crupest/create-image
Diffstat (limited to 'demos/input_method/main.cpp')
-rw-r--r--demos/input_method/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/input_method/main.cpp b/demos/input_method/main.cpp
index 7d55f2db..abbbed2c 100644
--- a/demos/input_method/main.cpp
+++ b/demos/input_method/main.cpp
@@ -99,6 +99,8 @@ int main() {
cursor_lefttop.height},
brush.get());
}
+
+ painter->EndDraw();
});
window->KeyDownEvent()->AddHandler(