Re: [AD] Desktop resolution |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Eric Botcazou wrote:
> What name for the function ? prototype ? coder ?
To be consistant with desktop_color_depth() I think they should be
called desktop_width() and desktop_height().
I think they should return sane values for DOS/Linux, in case someone
does
set_gfx_mode(GFX_AUTO, desktop_width(), desktop_heighi(), 0, 0);
For DOS, I'd guess that would be 320x200.
--
- Robert J Ohannessian
"Microsoft code is probably O(n^20)" (My CS teacher)