Re: [AD] File selector bug |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Here's the patch (built against the current cvs file): the file_select_ex(...., width, height) function is added to the API and the old file_select(...) becomes a wrapper, which calls the previous one with fixed width and height. The new function stretches the file selector to the specified width and height and to the font size. If either size argument is set to 0, the function stretches the selector to the corresponding screen dimension. For the sake of backward compatibility: - in all resolutions and with a 8x8 font (e.g. the default font), the old file_select() displays the "historical" file selector. - in 320x200 (!!) and with a 8x8 font, file_select_ex(..., 0, 0) displays it too. -- Eric Botcazou (ebotcazou@xxxxxxxxxx) Web site: http://www.multimania.com/ebotcazou
Attachment:
fsel_patch.zip
Description: Binary data
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |