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:
qiuguohua
2022-03-25 18:43:17 +08:00
committed by GitHub
parent 1f11536a1f
commit b6af1ada02
62 changed files with 419 additions and 762 deletions
@@ -33,9 +33,6 @@ namespace cc {
class SystemWindow : public ISystemWindow {
public:
bool createWindow(const char* title,
int x, int y, int w,
int h, int flags) override;
/**
@brief enable/disable(lock) the cursor, default is enabled
*/
@@ -45,4 +42,4 @@ public:
Size getViewSize() const override;
};
} // namespace cc
} // namespace cc