mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Pasting text from clipboard
This commit is contained in:
parent
73595cd558
commit
0f1aabf200
4 changed files with 16 additions and 1 deletions
|
|
@ -298,6 +298,10 @@ ImageData* Window::takeScreenshot() {
|
|||
return new ImageData(ImageFormat::rgb888, width, height, data);
|
||||
}
|
||||
|
||||
const char* Window::getClipboardText() {
|
||||
return glfwGetClipboardString(window);
|
||||
}
|
||||
|
||||
bool Window::tryToMaximize(GLFWwindow* window, GLFWmonitor* monitor) {
|
||||
glm::ivec4 windowFrame(0);
|
||||
glm::ivec4 workArea(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue