mirror of
https://github.com/cocos/cocos-engine.git
synced 2026-09-07 00:02:53 +08:00
V3.5.0 create window (#10481)
* 1. Modify the parameters of the creation window 2. Modify the relationship between platform and interface 3. Rename vibrate to vibrator in linux and QNX * Fix empty platform implementation * Fix empty platform implementation * Modify mac and ios createwindow interface * Create a centered window by default * Mobile platforms do not require window creation
This commit is contained in:
@@ -41,18 +41,6 @@ namespace {
|
||||
|
||||
namespace cc {
|
||||
|
||||
bool SystemWindow::createWindow(const char *title,
|
||||
int x, int y, int w,
|
||||
int h, int flags) {
|
||||
CC_UNUSED_PARAM(title);
|
||||
CC_UNUSED_PARAM(x);
|
||||
CC_UNUSED_PARAM(y);
|
||||
CC_UNUSED_PARAM(w);
|
||||
CC_UNUSED_PARAM(h);
|
||||
CC_UNUSED_PARAM(flags);
|
||||
return true;
|
||||
}
|
||||
|
||||
void SystemWindow::setCursorEnabled(bool value) {
|
||||
}
|
||||
|
||||
@@ -70,4 +58,4 @@ SystemWindow::Size SystemWindow::getViewSize() const {
|
||||
static_cast<float>(JNI_NATIVE_GLUE()->getHeight())};
|
||||
}
|
||||
|
||||
} // namespace cc
|
||||
} // namespace cc
|
||||
|
||||
Reference in New Issue
Block a user