![]() |
|
[AL5] Knowing when a resize event is starting? |
jmasterx
Member #11,410
October 2009
|
Right now, while I resize, it just takes what was there and stretches it, until I let go of the mouse. Rather than a stretched image, Id prefer to just blit something black before, and have the black seamlessly stretch itself. Is there some kind of resize begin event? Thanks Agui GUI API -> https://github.com/jmasterx/Agui |
Elias
Member #358
May 2000
|
Maybe a windows-specific flag to turn on the stretching (on other platforms we don't do that). -- |
jmasterx
Member #11,410
October 2009
|
Yea on Windows it stretches the old stuff rather than show black which is odd a bit. Agui GUI API -> https://github.com/jmasterx/Agui |
Mark Oates
Member #1,146
March 2001
![]() |
Elias said: windows-specific flag to turn on the stretching The stretching is deliberate? I thought it was the only option. I here-to-fore vote that we have the stretch flag off by default. -- |
jmasterx
Member #11,410
October 2009
|
So does allegro provide a cross platform way to set this flag? Agui GUI API -> https://github.com/jmasterx/Agui |
Elias
Member #358
May 2000
|
No, right now it does not, someone will have to add it (or as far as I'm concerned, just remove the stretching code from the Windows port - but apparently whoever added it prefers it). -- |
Evert
Member #794
November 2000
![]() |
On OS X I think you get the choice between smooth scaling of the image, or junk while you resize the window. I prefer stretching. |
jmasterx
Member #11,410
October 2009
|
I would prefer smooth scaling on all three platforms, but ideally, a cross platform flag would be nice Agui GUI API -> https://github.com/jmasterx/Agui |
|