Merge branch 'v3.5.1-ds' into v3.6.0_merge_v3.5.1-ds

This commit is contained in:
minggo
2022-06-07 15:02:34 +08:00
18 changed files with 211 additions and 126 deletions
@@ -36,7 +36,7 @@ namespace {
} // namespace
namespace cc {
SystemWindow::SystemWindow() {
SystemWindow::SystemWindow(IEventDispatch* delegate) {
}
SystemWindow::~SystemWindow() {
@@ -53,8 +53,20 @@ void SystemWindow::copyTextToClipboard(const ccstd::string &text) {
//TODO
}
int SystemWindow::init() {
return 0;
}
void SystemWindow::pollEvent(bool* quit) {
return;
}
void SystemWindow::swapWindow() {
return;
}
SystemWindow::Size SystemWindow::getViewSize() const {
return Size{static_cast<float>(_width), static_cast<float>(_height)};
}
} // namespace cc
} // namespace cc