V3.5.1 no window (#11016)

This commit is contained in:
yangchao
2022-05-12 09:43:46 +08:00
committed by GitHub
parent 60e44f7564
commit bd1c1e0088
13 changed files with 115 additions and 128 deletions
@@ -39,7 +39,7 @@ namespace {
} // namespace
namespace cc {
SystemWindow::SystemWindow() {
SystemWindow::SystemWindow(IEventDispatch* delegate) {
}
SystemWindow::~SystemWindow() {
@@ -56,8 +56,20 @@ void SystemWindow::copyTextToClipboard(const std::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