GLBasic forum

Feature request => 2D => Topic started by: Wampus on 2011-Oct-20

Title: Resizable application windows for desktops/laptops
Post by: Wampus on 2011-Oct-20
RESIZESCREEN and GLB_ON_RESIZE request

Here's an idea for a possible feature for Windows, MaxOS and Linux platforms: a RESIZESCREEN command that would enable the application window to be resized by clicking the corner and dragging it around.

The default option could be FALSE, which would be the same behaviour as GLBasic apps have now. If TRUE was set and the app window was resized, a GLB_ON_RESIZE subroutine could be called. Here you could make adjustments for the new display.

Does this sound useful to anyone else?
Title: Re: Resizable application windows for desktops/laptops
Post by: backslider on 2011-Oct-20
I think it's a useful idea!
But I don't know, if it's possible to resize opengl windows???

cheers
Title: Re: Resizable application windows for desktops/laptops
Post by: Kitty Hello on 2011-Oct-20
+1
Title: Re: Resizable application windows for desktops/laptops
Post by: doimus on 2011-Oct-20
This would be extremely useful, along with the option to go to fullecreen with that standard gui button.

It is currently possible to "resize" windows by using SETSCREEN, but it's very choppy.
Title: Re: Resizable application windows for desktops/laptops
Post by: ampos on 2011-Oct-20
On Blitz3D, you can resize the window, but the program will not notice it. All the gfx inside the window is stretched to fill the window.
Title: Re: Resizable application windows for desktops/laptops
Post by: Wampus on 2011-Oct-21
I like resizing the window in Minecraft and Terraria for a larger viewing area which is why I thought of it.
Title: Re: Resizable application windows for desktops/laptops
Post by: Schranz0r on 2011-Oct-24
Only on Terraria you got a larger viewdistance, Minecraft just resize to fit with the screen :)

Resizing a OpenGL window is possible!