Re: [hatari-devel] SDL GUI file and directory selection |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: Andreas Grabher <andreas_g86@xxxxxxxxxx>
- Subject: Re: [hatari-devel] SDL GUI file and directory selection
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sun, 16 Oct 2022 06:59:55 +0000
- Cc: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1665903600; bh=uNxAgRFrY+PVN0tTcCeNSAkujcXlUAUtB/jf6GNOsVU=; h=Date:From:To:Cc:Subject:From; b=BDn6aD5XmcqCfgHgeMdmmr31RDR17UCTc6lFYh3TmQ7VCQutY/oKR8sZhsnYt7LQH p6azpzEVm7oiSCo8laQmBZqxGiZRjbkb0bn4g7gu0B0phjFYOFo/g9KzDAurqtyHuD uZqHTQeZz0DLFALpue4W5GLgKqPSQD830krk5gInbPi83vAQGbCo7U7ZU2YhsEWrse L4CO3U9JVC/evES2ll7+D4OULgKmchgnHXZJ+VgzH7YvwlU/wehL/wRsEZgTwMZ3dh kv9aIB97jPawctc2dBUXJp1yULiMi+Gp9luX8sO2HlGibhYky28VlEuQsPbVjx44tj JNYUHUNjLRS7g==
Am Sat, 15 Oct 2022 10:41:16 +0200
schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>:
> I just noticed some weird behavior from SDLGui_FileConfSelect() and new SdlGui_DirSelect():
>
> It seems these functions also return true, if a non-existent file or directory is selected. That does not make very much sense. I suggest to change the functions like this (note that there are some minor differences regarding title and readonly from Previous):
Thanks, that makes sense, indeed, so I went ahead and fixed
SDLGui_FileConfSelect().
As for SdlGui_DirSelect(), I'll leave that change to Eero to check since he
just introduced this function to Hatari a couple of days ago.
Thomas