1
Graphics / Re: window out of screen
« on: June 11, 2013, 06:11:44 pm »
Hi,
I will explain better what I need:
I want to implement a window movimentation where the user clicks on a area of the window and this moves together with the mouse. But when the user moves the window near of the edge of the screen, the window stops in the edge, not following the mouse (when a portion of the screen should be out of screen)! I tested my code and if I set a value to the window.setPosition that overflow the value of the edge, the setPosition truncates my value to stay in the edge of the screen!!!
I cannot move a window to out of screen or I am doing something wrong???
Thank you!
Carlos Pereira
I will explain better what I need:
I want to implement a window movimentation where the user clicks on a area of the window and this moves together with the mouse. But when the user moves the window near of the edge of the screen, the window stops in the edge, not following the mouse (when a portion of the screen should be out of screen)! I tested my code and if I set a value to the window.setPosition that overflow the value of the edge, the setPosition truncates my value to stay in the edge of the screen!!!
I cannot move a window to out of screen or I am doing something wrong???
Thank you!
Carlos Pereira