mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-15 12:20:01 +01:00
Polishing up DisplaysView
Options to fit output window on all screens. Added doubleclic function to View class (Transition view and Displays view have specific reaction to double clic.
This commit is contained in:
@@ -810,8 +810,8 @@ void RenderingWindow::changeFullscreen_()
|
||||
|
||||
void RenderingWindow::setCoordinates(glm::ivec4 rect)
|
||||
{
|
||||
glfwSetWindowPos( window_, rect.x, rect.y);
|
||||
glfwSetWindowSize( window_, rect.p, rect.q);
|
||||
glfwSetWindowPos( window_, rect.x, rect.y);
|
||||
}
|
||||
|
||||
int RenderingWindow::width()
|
||||
@@ -861,10 +861,8 @@ bool RenderingWindow::init(int index, GLFWwindow *share)
|
||||
|
||||
if (master_ != nullptr) {
|
||||
// special window type for output
|
||||
glfwWindowHint(GLFW_DECORATED, GLFW_FALSE);
|
||||
glfwWindowHint(GLFW_RESIZABLE, GLFW_FALSE);
|
||||
// glfwSetWindowAttrib( window_, GLFW_DECORATED, GLFW_FALSE);
|
||||
// glfwSetWindowAttrib( window_, GLFW_RESIZABLE, GLFW_FALSE);
|
||||
glfwWindowHint(GLFW_DECORATED, GLFW_FALSE);
|
||||
}
|
||||
|
||||
// create the window
|
||||
|
||||
Reference in New Issue
Block a user