Add multi-windows support (#12243)

Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com>
This commit is contained in:
林玮
2022-09-15 14:55:44 +08:00
committed by GitHub
parent 2afd02e711
commit 785fd91511
83 changed files with 1906 additions and 381 deletions
@@ -44,6 +44,11 @@ namespace {
} // namespace
namespace cc {
SystemWindow::SystemWindow(uint32_t windowId, void *externalHandle)
: _windowHandle(externalHandle)
, _windowId(windowId)
{
}
void SystemWindow::setCursorEnabled(bool value) {
}
@@ -85,4 +90,5 @@ void SystemWindow::closeWindow() {
exit(0); //TODO(cc): better exit for ohos
#endif
}
} // namespace cc