Author Topic: Resizable application windows for desktops/laptops  (Read 3466 times)

Offline Wampus

  • Prof. Inline
  • *****
  • Posts: 1004
    • View Profile
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?

Offline backslider

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 892
    • View Profile
I think it's a useful idea!
But I don't know, if it's possible to resize opengl windows???

cheers

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10667
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
+1

Offline doimus

  • Dr. Type
  • ****
  • Posts: 284
    • View Profile
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.

Offline ampos

  • Prof. Inline
  • *****
  • Posts: 1593
    • View Profile
    • AMpostata Website
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.
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

Offline Wampus

  • Prof. Inline
  • *****
  • Posts: 1004
    • View Profile
I like resizing the window in Minecraft and Terraria for a larger viewing area which is why I thought of it.

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4977
  • O Rly?
    • View Profile
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 1700 @3.9Ghz, 16GB HyperX Fury 2666Mhz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard