mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
Add multi-windows support (#12243)
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user