Re: [hatari-devel] Some minor changes for sdlgui.c |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Some minor changes for sdlgui.c
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sat, 20 Jul 2024 13:45:54 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1721483155; bh=IbNfDm7viWidFJEQJnSz/rNXDxsDmIwM/x1rDTDiEn8=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=kRmQ8zieNL6Aw7BHzf7P4PnRQRAS4KEk0OKxQ6jRotoeoTpYPeIUFbn895id1Fd/i l/3iOboV9CqEQEFlRCv8OJPVEtn3l4eHeZBRU0qE1NhSI69pRy27qDZ6zVj+UaAfHe yJGR/VL8AQcJ5yNl7oCn9xHw/sOU0Igq2fngxuEXlHog+xg+r4i+ioakkXFViTFLGu WazFfiwxMBdJCcDhCFGciPw9SzXv2MeO21SfzsMh4u4zZ+Qa2M6sJDJX10UW54DJRq RtGvhx9oxjjGhwe0YoYj4hUibtYXdGdf4lduvBDPXq9dk3l61x6auGUe5NKtT/q+j9 hKZed8/e8i5qw==
Hi!
Am Sat, 20 Jul 2024 08:15:18 +0200
schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>:
> I’d like to suggest this patch for Hatari that contains a few refinements:
> Return object for checkbox and radiobutton. This makes it possible to easily determine which option was checked. I am using this for example for a mixed radiobutton and checkbox list in the GUI (see appended screenshot). If for example NeXTstation and Color are checked and one switches to NeXTcube I can uncheck the Color option. This can be done from switch(but) as for other buttons.
Can't you simply use SG_EXIT for this case instead?
> As I already suggested in another discussion we should not mix scancodes and symbolic keys. Even if they are likely to match for these keys it introduces an unnecessary source of bugs.
> On some systems there seem to occur continuous SDL_KEYMAPCHANGED events. To prevent them from messing up GUI handling we should actively ignore them.
Thanks, I pushed those two fixes to the repository now.
Thomas