|
|
| Allegro 4.2 window size constraints |
|
jmasterx
Member #11,410
October 2009
|
Hello, Thanks Agui GUI API -> https://github.com/jmasterx/Agui |
|
gnolam
Member #2,030
March 2002
|
Try to keep your window sizes as multiples of four. But it shouldn't crash under any circumstances - how are you handling failures of set_gfx_mode()? -- |
|
Thomas Fjellstrom
Member #476
June 2000
|
I think set_gfx_mode will fail if you try to make a window larger than the screen (including the window border), so always check the return value of set_gfx_mode, and retry with a smaller size. -- |
|
jmasterx
Member #11,410
October 2009
|
FIXED IT!!! They HAVE to be multiples of 2... Agui GUI API -> https://github.com/jmasterx/Agui |
|
Matthew Leverton
Supreme Loser
January 1999
|
It needs to be a multiple of four. |
|
jmasterx
Member #11,410
October 2009
|
After testing, multiples of 8 fixed everything, thanks all Agui GUI API -> https://github.com/jmasterx/Agui |
|
Trent Gamblin
Member #261
April 2000
|
Just to make sure use multiples of 16.
|
|
Tobias Dammers
Member #2,604
August 2002
|
To make really really extra super sure, use multiples of 0x1000. --- |
|
Mark Oates
Member #1,146
March 2001
|
use multiples of PI. -- |
|
GullRaDriel
Member #3,861
September 2003
|
You're all wrong. It's just a parameter of the gold number derivative. "Code is like shit - it only smells if it is not yours" |
|
type568
Member #8,381
March 2007
|
GullRaDriel said: You're all wrong. It's just a parameter of the gold number derivative. Nope, it's all about multiple of current NASDAQ index.
|
|
Neil Black
Member #7,867
October 2006
|
I just make my resolution be 42.
|
|
|