threaded brush preview rendering

This commit is contained in:
2019-02-28 14:47:06 +01:00
parent e59dd66b46
commit f20f935d43
5 changed files with 71 additions and 4 deletions

View File

@@ -573,6 +573,8 @@ int main(int argc, char** argv)
LOG("RegisterTouchWindow error: %s", GetLastErrorAsString().c_str());
}
async_lock();
LOG("init app");
App::I.init();
@@ -604,6 +606,8 @@ int main(int argc, char** argv)
LOG("SKIP init WinTab");
}
async_unlock();
LOG("change icon");
SendMessage(hWnd, WM_SETICON, ICON_SMALL,
(LPARAM)LoadIcon(GetModuleHandle(0), MAKEINTRESOURCE(IDI_ICON1)));