Re: [hatari-devel] Some minor changes for sdlgui.c

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


 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



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/