Resizable application windows for desktops/laptops

Previous topic - Next topic

Wampus

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?

backslider

I think it's a useful idea!
But I don't know, if it's possible to resize opengl windows???

cheers

Kitty Hello


doimus

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.

ampos

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.

Wampus

I like resizing the window in Minecraft and Terraria for a larger viewing area which is why I thought of it.

Schranz0r

Only on Terraria you got a larger viewdistance, Minecraft just resize to fit with the screen :)

Resizing a OpenGL window is possible!
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard