diff options
author | crupest <crupest@outlook.com> | 2018-11-19 17:27:39 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-11-19 17:27:39 +0800 |
commit | a8f9fac512cf3e4884cee3b7f655429ece89a025 (patch) | |
tree | 1fe286351460e13af044346fc444e2189d49a0f4 /src/main.cpp | |
parent | f78359cc042f089b2f99b23dd3df7ae02ecdabec (diff) | |
download | cru-a8f9fac512cf3e4884cee3b7f655429ece89a025.tar.gz cru-a8f9fac512cf3e4884cee3b7f655429ece89a025.tar.bz2 cru-a8f9fac512cf3e4884cee3b7f655429ece89a025.zip |
Rename two methods in Control.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index d4194f45..8815b3ac 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -77,10 +77,10 @@ int APIENTRY wWinMain( }); cru::SetTimeout(2.0, [&window]() { - window.Repaint(); + window.InvalidateDraw(); auto task = cru::SetInterval(0.5, [&window]() { - window.Repaint(); + window.InvalidateDraw(); }); cru::SetTimeout(4, [task]() { |