799 posts
Location
Land of Meh
Posted 18 February 2013 - 08:57 PM
Hey,
Could we have a monitor resize event, that's queued whenever an attached monitor is resized due to more monitor blocks being added to it? Could the event also include the side, so programs are able to update relevant window sizes/locations/background colours for each attached monitor?
7508 posts
Location
Australia
Posted 18 February 2013 - 08:59 PM
this would be nice!
there are ways to do this, but an event for it would be nice just to have { "monitor_resize" } but preferably { "monitor_resize", "left" }
1688 posts
Location
'MURICA
Posted 18 February 2013 - 09:06 PM
This'd be pretty cool to have, as there isn't much of an efficient way to do this instantly.
671 posts
Location
That place over there. Y'know. The one where I am.
Posted 18 February 2013 - 10:02 PM
YES!
Epicness this be.
3790 posts
Location
Lincoln, Nebraska
Posted 19 February 2013 - 04:29 AM
You could just have a timer event fire every once in a while, maybe, every five seconds. From that, you could recheck the size of the monitor, and if it changed, you can just redraw the screen. It's not too difficult, just a little annoying really.
8543 posts
Posted 19 February 2013 - 04:46 AM
Certain things are already using the event "window_resize" to tell programs that the surface they can draw to has changed in size. ;)/>
The side being specified isn't particularly possible, as two sides could change at once. It is better to simply fetch the new size and redraw the interface.
2447 posts
Posted 19 February 2013 - 06:56 AM
Agreed, this would be nice.