载入中...
搜索中...
未找到
Window.cpp
浏览该文件的文档.
31 cls.addFunc("getDPIScale", [](Window* self) { return self ? static_cast<float>(self->getDPIScale()) : 1.0f; });
Platform window interface (SDL implementation on desktop/mobile). Script: win <- eve....
Definition Window.h:47
virtual bool hasFocus() const =0
True when the window has keyboard focus.
virtual bool setWindowSettings(WindowSettings settings)=0
Applies a full WindowSettings struct (recreates the window when needed).
virtual WindowSettings getWindowSettings()=0
Returns the settings last applied to this window.
virtual void setSize(int width, int height)=0
Requests a new logical window size.
SDL2 desktop/mobile implementation of eve::window::Window.
Definition Window.h:16
WidgetDesc window(std::string title, std::vector< WidgetDesc > children, std::string id)
Top-level window widget with a title bar.
Definition Widget.cpp:292
Display settings for window creation/resize. width/height == 0 selects the desktop display mode size.
Definition Window.h:18