mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
textbox text selection
This commit is contained in:
parent
d94d8be7cb
commit
19b3c34eb2
4 changed files with 141 additions and 22 deletions
|
|
@ -318,6 +318,10 @@ const char* Window::getClipboardText() {
|
|||
return glfwGetClipboardString(window);
|
||||
}
|
||||
|
||||
void Window::setClipboardText(const char* text) {
|
||||
glfwSetClipboardString(window, text);
|
||||
}
|
||||
|
||||
bool Window::tryToMaximize(GLFWwindow* window, GLFWmonitor* monitor) {
|
||||
glm::ivec4 windowFrame(0);
|
||||
glm::ivec4 workArea(0);
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ public:
|
|||
static void setBgColor(glm::vec4 color);
|
||||
static double time();
|
||||
static const char* getClipboardText();
|
||||
static void setClipboardText(const char* text);
|
||||
static DisplaySettings* getSettings();
|
||||
|
||||
static void setBlendMode(blendmode mode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue