mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
add app.focus function
This commit is contained in:
parent
6195d014cd
commit
c42d661223
3 changed files with 13 additions and 0 deletions
|
|
@ -468,6 +468,10 @@ public:
|
|||
return mode;
|
||||
}
|
||||
|
||||
void focus() override {
|
||||
glfwFocusWindow(window);
|
||||
}
|
||||
|
||||
void setTitle(const std::string& title) override {
|
||||
glfwSetWindowTitle(window, title.c_str());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue