diff options
author | crupest <crupest@outlook.com> | 2021-10-20 17:04:27 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-10-20 17:04:27 +0800 |
commit | 152133978872f6d6476c3fc7e0e3a5a6cc23b119 (patch) | |
tree | 374a793cb56ef5c8d1e413f4b781fec087e28678 /demos | |
parent | 398aadcddb8b6ed20b17f6c56cd7b49947b72136 (diff) | |
download | cru-152133978872f6d6476c3fc7e0e3a5a6cc23b119.tar.gz cru-152133978872f6d6476c3fc7e0e3a5a6cc23b119.tar.bz2 cru-152133978872f6d6476c3fc7e0e3a5a6cc23b119.zip |
...
Diffstat (limited to 'demos')
-rw-r--r-- | demos/input_method/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/input_method/main.cpp b/demos/input_method/main.cpp index 170e6dec..dc2e0858 100644 --- a/demos/input_method/main.cpp +++ b/demos/input_method/main.cpp @@ -31,7 +31,7 @@ int main() { auto target_clause_brush = graphics_factory->CreateSolidColorBrush(); target_clause_brush->SetColor(colors::blue); - std::shared_ptr<IFont> font = graphics_factory->CreateFont(u"等线", 30); + std::shared_ptr<IFont> font = graphics_factory->CreateFont(u"Serif", 30); float window_width = 10000; @@ -53,7 +53,7 @@ int main() { window->PaintEvent()->AddHandler([&](auto) { auto painter = window->BeginPaint(); - painter->Clear(colors::blue); + painter->Clear(colors::white); painter->DrawText(Point{}, prompt_text_layout.get(), brush.get()); |